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