diff options
-rw-r--r-- | pgptalk2.md | 53 |
1 files changed, 47 insertions, 6 deletions
diff --git a/pgptalk2.md b/pgptalk2.md index a1bd5f9..1a0f25b 100644 --- a/pgptalk2.md +++ b/pgptalk2.md @@ -120,11 +120,47 @@ # Demos -* generating a key -* signing or certifying a key -* sharing keys and signatures -* encrypting and signing a message -* decrypting a message and checking its signature +* generate a key +* sign a key, share signed key with its owner +* encrypt and sign a message +* decrypt a message, check its signature + +<!-- + +Notes: + +- ssh into liwmf, sudo doesn't work (tty perm problem) + +- gpg --quick-gen-key 'Lars Wirzenius <lwirzenius@wikimedia.org>' +- gpg -K + +- curl https://liw.fi/pgp.txt > liw.pub +- gpg --import liw.pub +- gpg --sign-key DBE5439D97D8262664A1B01844E17740B8611E9C +- gpg --export --armor DBE5439D97D8262664A1B01844E17740B8611E9C > signed-liw.pub +- gpg -K +- gpg --encrypt --armor -r DBE5439D97D8262664A1B01844E17740B8611E9C -r B906C37CF6674C198EA2F7B1A300CE8C4E4D797F signed-liw.pub +- less signed-liw.pub.asc + +- cp signed-liw.pub.asc /tmp + +- gpg --decrypt < /tmp/signed-liw.pub.asc +- gpg --decrypt /tmp/signed-liw.pub.asc | gpg --import + +- echo this is secret message | gpg --clearsign --armor -r B906C37CF6674C198EA2F7B1A300CE8C4E4D797F > msg.asc +- less msg.asc +- cp msg.asc /tmp + +- as liwmf: +- gpg < /tmp/msg.asc + +- as liw: +- vi /tmp/msg.asc + +- as liwmf: +- gpg < /tmp/msg.asc + +--> --- @@ -132,7 +168,12 @@ * Make a key, start using it, get it signed by co-workers - * Ask for help or hands-on training if you need it + * Link: [GitHub's guide](https://help.github.com/en/github/authenticating-to-github/generating-a-new-gpg-key) + * Link: [Lars's old guide](https://blog.liw.fi/posts/2017/05/29/using_a_yubikey_4_for_ensafening_one_s_encryption/) + +* Ask for help or hands-on training if you need it + +* This talk (source): <http://git.liw.fi/wmf-talks> --- |