From bfe3aca5f76c84ed1a6fd20999c8448775492fb4 Mon Sep 17 00:00:00 2001 From: Anton Livaja Date: Tue, 17 Sep 2024 15:53:10 -0400 Subject: [PATCH] fix: minor fixes --- openpgp-workshop/index.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/openpgp-workshop/index.md b/openpgp-workshop/index.md index 5f04c4c..b9b5a25 100644 --- a/openpgp-workshop/index.md +++ b/openpgp-workshop/index.md @@ -77,12 +77,12 @@ developed by Phil Zimmermann in the 1990s. * `gpg --list-keys` * `echo "super secret text" > test.txt && cat test.txt` * `gpg --encrypt --recipient test.txt` -* `gpg -er && cat text.txt.gpg`: notice it's a binary +* `gpg -er && cat test.txt.gpg`: notice it's a binary * You can use `--armor/-a` to encode it as ASCII so you can send the encrypted data as text * `gpg --armor -er test.txt && cat test.txt.asc` -* `rm test.txt && ls`: remove original file -* `gpg --decrypt test.txt.gpg && cat test.txt && rm test.txt` -* `gpg --decrypt test.txt.asc && cat test.txt && rm text.txt` +* `rm test.txt && ls` +* `gpg --decrypt test.txt.gpg > test.txt` +* `gpg --decrypt test.txt.asc > test.txt` --- @@ -143,10 +143,10 @@ developed by Phil Zimmermann in the 1990s. --- ## Basic: On-board generation: - * YubiKey offers generating keys inside of the YubiKey - * Cryptographic attestation keys were never exposed available: https://developers.yubico.com/PGP/Attestation.html - * CON: can't back up the keys - * PRO: simple setup +* YubiKey offers generating keys inside of the YubiKey +* Cryptographic attestation keys were never exposed available: https://developers.yubico.com/PGP/Attestation.html +* CON: can't back up the keys +* PRO: simple setup --- ## Advanced - cold / virtualization