A CLI tool for creating signed warrant canaries.
Visit Our Site
·
Report Bug
·
Request Feature
Table of Contents
We have to admit, creating warrant canaries can be long (especially if you have to do it often). We created CanaryWriter to help people create signed warrant canaries easily. We use CanaryWriter in-house to create our own warrant canaries. You can check them out here!
A warrant canary is a colloquial term for a regularly published statement that a service provider has not received legal process that it would be prohibited from saying it had received. Once a service provider does receive legal process, the speech prohibition goes into place, and the canary statement is removed.
Warrant canaries are often provided in conjunction with a transparency report, listing the process the service provider can publicly say it received over the course of a particular time period. The canary is a reference to the canaries used to provide warnings in coalmines, which would become sick before miners from carbon monoxide poisoning, warning of the danger.
~ Electronic Frontier Foundation
To use CanaryWriter, you'll need to install a few packages. We recommend using Homebrew to do this.
-
brew install rsstail
-
brew install gnupg
You'll also need to create or import a PGP key to sign your warrant canaries. Information on how to do this can be found here.
-
Download the contents of this repository (preferably using
git
).git clone https://github.com/DELVES/CanaryWriter.git
-
Change directory to the location where you downloaded CanaryWriter.
cd /users/rickastley/Downloads/CanaryWriter/
-
Fill out
signers.txt
,statement.txt
andannouncements.txt
with relevant information in your preferred text editor (e.gnano
).nano statement.txt
-
Run CanaryWriter and follow the onscreen instructions.
./canarywriter.sh
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that could make CanaryWriter better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under The GNU General Public License v3.0. See LICENSE.txt
for more information.