make it easier to copy paste

This commit is contained in:
Randy Bush 2021-12-29 14:57:04 -08:00
parent 43320e13ac
commit 9cd5da6551
No known key found for this signature in database
GPG key ID: D5597695EA37E360

View file

@ -56,8 +56,8 @@ everywhere.
I have multiple current, and a number of old, PGP keys, so I needed
to be specific
```
ryuu.rg.net:/Users/randy> gpg --export 75F2C46EF1697D9292761465CCCC05ECB83A02ED > randy.pgp
ryuu.rg.net:/Users/randy> rsy randy.pgp scratch.rg.net:
gpg --export 75F2C46EF1697D9292761465CCCC05ECB83A02ED > randy.pgp
rsy randy.pgp scratch.rg.net:
```
Then create the local gpg repo on scratch.rg.net
@ -78,15 +78,15 @@ gpg: no ultimately trusted keys found
I grabbed [Phil's
Script](https://github.com/PennockTech/openpgpkey-control/raw/main/other/standalone-update-website)
```
scratch.rg.net:/home/randy> wget https://github.com/PennockTech/openpgpkey-control/raw/main/other/standalone-update-website
scratch.rg.net:/home/randy> chmod 755 standalone-update-website
wget https://github.com/PennockTech/openpgpkey-control/raw/main/other/standalone-update-website
chmod 755 standalone-update-website
```
## Create an UnArmored Key
WKD wants an unarmored key, so
```
scratch.rg.net:/home/randy> gpg --export --no-armor randy > randy.asc
gpg --export --no-armor randy > randy.asc
```
Yes, the `.asc` would seem to imply armor, but what the heck.
@ -100,7 +100,7 @@ scratch.rg.net:/home/randy> mkdir work
Generate WKD
```
scratch.rg.net:/home/randy> ./standalone-update-website -v -d psg.com -o /home/randy/work -k randy.asc
./standalone-update-website -v -d psg.com -o /home/randy/work -k randy.asc
pgp: created pbe8wr5gm5b4gf43adj411yrreqyib6u for randy@psg.com
```
@ -161,4 +161,4 @@ auto-key-locate wkd keyserver
useful to prefer fetching from WKD over the keyservers
---
2021.01.16
2021.12.29