Merge pull request 'feat: add stuffs' (#2) from feat/add-openpgp-workshop into master

Reviewed-on: #2
This commit is contained in:
Anton Livaja 2024-10-10 14:42:10 +00:00
commit 2a64924484
1 changed files with 10 additions and 3 deletions

View File

@ -85,7 +85,7 @@ What are some useful ways we can use OpenPGP:
* `gpg --list-keys`
* `echo "super secret text" > test.txt && cat test.txt`
* `gpg --encrypt --recipient <email/ID> test.txt`
* `gpg -er <email/ID> <filename> && cat test.txt.gpg`: notice it's a binary
* `gpg -er <email/ID> <filename> && 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 <email/ID> test.txt && cat test.txt.asc`
* `rm test.txt && ls`
@ -111,6 +111,7 @@ What are some useful ways we can use OpenPGP:
* Download:
* Qubes-R*.iso
* Cryptographic hash values
* `gpg --verify --default-key <key> <filename>`
* Detached PGP signature
* Qubes release signing key
@ -231,3 +232,9 @@ What are some useful ways we can use OpenPGP:
* [openpgp-card](https://codeberg.org/openpgp-card)
* [openpgp-card-tools](https://codeberg.org/openpgp-card/openpgp-card-tools)
* [ssh-agent](https://codeberg.org/openpgp-card/ssh-agent)
---
# Cleanup
* `gpg --delete-secret-and-public-keys <key_id>`