Move ASCII armored encrypted message in ch21 to example file

Signed-off-by: David Runge <dave@sleepmap.de>
This commit is contained in:
David Runge 2023-12-09 11:57:11 +01:00 committed by Heiko Schaefer
parent a3a32f556d
commit 90cca801ce
No known key found for this signature in database
GPG key ID: DAE9A9050FCCF1EB
2 changed files with 11 additions and 10 deletions

View file

@ -18,16 +18,8 @@ $ echo "hello world" | sq encrypt --recipient-file alice.pub
This produces an ASCII armored encrypted message:
```text
-----BEGIN PGP MESSAGE-----
wV0GIQbApYOEpDjloU9zcSQmpNRduu70o55rMLCdVRP5eKzKlBkxYaQzuusD78oj
AdiGwQ8MI8sSAXAV4AEMKIcbINqhIBgSm5EV9h+Yl/XV3fEZ1JOaBnrtso2ZAS7S
cgIHAQaWc/Ip4Thq0EZDZwlpRUk/TUL+TWEpsGdQs8ifDyFAk7t3+3XvvLr5dUg3
+Ot+sESkCSjhrZk50HIjwjBVZ6Y159yfaOqttMT6cXqWaxIishPaJ+OR1q2bZS1N
2jFbaROOcbASK6AVzqCWneqkIA==
=WFpq
-----END PGP MESSAGE-----
```{literalinclude} examples/ascii_armored_encrypted_message.asc
:language: text
```
### Inspect the packet dump of the encrypted message

View file

@ -0,0 +1,9 @@
-----BEGIN PGP MESSAGE-----
wV0GIQbApYOEpDjloU9zcSQmpNRduu70o55rMLCdVRP5eKzKlBkxYaQzuusD78oj
AdiGwQ8MI8sSAXAV4AEMKIcbINqhIBgSm5EV9h+Yl/XV3fEZ1JOaBnrtso2ZAS7S
cgIHAQaWc/Ip4Thq0EZDZwlpRUk/TUL+TWEpsGdQs8ifDyFAk7t3+3XvvLr5dUg3
+Ot+sESkCSjhrZk50HIjwjBVZ6Y159yfaOqttMT6cXqWaxIishPaJ+OR1q2bZS1N
2jFbaROOcbASK6AVzqCWneqkIA==
=WFpq
-----END PGP MESSAGE-----