aboutsummaryrefslogtreecommitdiff
path: root/pelican/content/BinaryPackages.md
diff options
context:
space:
mode:
Diffstat (limited to 'pelican/content/BinaryPackages.md')
-rw-r--r--pelican/content/BinaryPackages.md20
1 files changed, 6 insertions, 14 deletions
diff --git a/pelican/content/BinaryPackages.md b/pelican/content/BinaryPackages.md
index ea6788a..636551e 100644
--- a/pelican/content/BinaryPackages.md
+++ b/pelican/content/BinaryPackages.md
@@ -17,10 +17,10 @@ CPU, and AVR ATtiny828 MCU.
* Fetch and validate the repository key. Presumably you're security
-
concious (otherwise, why are you installing this stuff?), so you may
want to pay attention to what `gpg --check-sig` says here.
+
```
$ id=37A8E93F5D7E7B9A
$ wget https://apt.cryptech.is/apt-gpg-key.gpg
@@ -30,9 +30,9 @@ CPU, and AVR ATtiny828 MCU.
* Install the repository key. We used to use `apt-key(8)` for this,
-
these days the cool kids use the `/etc/apt/trusted.gpg.d/` directory:
+
```
$ sudo chown root:root apt-gpg-key.gpg
$ sudo mv apt-gpg-key.gpg /etc/apt/trusted.gpg.d/cryptech.gpg
@@ -40,36 +40,28 @@ CPU, and AVR ATtiny828 MCU.
* Configure apt to use the repository. You need to add a couple of
-
entries to `/etc/apt/source.list.d/`; which entries you need to add
depends on which distribution you're running.
-
* For Debian Stretch, do:
```
$ sudo wget -q -O /etc/apt/sources.list.d/cryptech.list http://apt.cryptech.is/sources.stretch.list
-
```
-
* For Debian Buster, do:
```
$ sudo wget -q -O /etc/apt/sources.list.d/cryptech.list http://apt.cryptech.is/sources.buster.list
-
```
-
* For Ubuntu Xenial, do:
```
$ sudo wget -q -O /etc/apt/sources.list.d/cryptech.list http://apt.cryptech.is/sources.xenial.list
-
```
-
* For Ubuntu Bionic, do:
```
$ sudo wget -q -O /etc/apt/sources.list.d/cryptech.list http://apt.cryptech.is/sources.bionic.list
-
```
+
* Update the package index.
@@ -99,10 +91,10 @@ $ sudo apt-get upgrade
* Fetch and validate the repository key. Presumably you're security
-
concious (otherwise, why are you installing this stuff?), so you may
want to pay attention to what `gpg --check-sig` says here.
+
```
$ id=37A8E93F5D7E7B9A
$ gpg --recv-key $id
@@ -127,22 +119,22 @@ $ sudo apt-get upgrade
* Check the commit signature on the cryptech-alpha package formula.
-
This is optional (Homebrew doesn't care whether you do this), but if
you want to know whether the formula was signed by the Cryptech
project, this is how to check.
+
```
$ brew log --max-count=1 --show-signature cryptech-alpha
```
* Install the `cryptech-alpha` package. At the moment, this is only
-
available as a Homebrew source package due to licensing issues in
the MacOS Xcode SDK, so the installation will probably take several
minutes, as some of the libraries are a bit slow to compile (sorry...).
+
```
$ brew install cryptech-alpha
```