feat: add stuffs

This commit is contained in:
Anton Livaja 2024-10-10 10:39:57 -04:00
parent f9c06e9e9a
commit 5085cf9cb8
Signed by: anton
GPG Key ID: 44A86CFF1FDF0E85
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
@ -230,4 +231,10 @@ 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>`