ch18: add "secret-key packet" diagram

This commit is contained in:
Heiko Schaefer 2023-10-24 00:36:31 +02:00
parent 04f86e2df2
commit 576c8de26d
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D
2 changed files with 10 additions and 1 deletions

View file

@ -17,7 +17,16 @@ $ sq packet dump --hex alice.priv
### Primary Secret-Key packet
The output starts with the (primary) [Secret-Key packet](https://www.ietf.org/archive/id/draft-ietf-openpgp-crypto-refresh-10.html#name-secret-key-packet-formats):
The output starts with the (primary) [Secret-Key packet](https://www.ietf.org/archive/id/draft-ietf-openpgp-crypto-refresh-10.html#name-secret-key-packet-formats).
This is the structure of the Secret-Key packet we will now look at.
```{figure} diag/secret-key_packet.png
Structure of a Secret-Key packet.
```
The output of Sequoia's `sq packet dump` for this packet:
```text
Secret-Key Packet, new CTB, 2 header bytes + 75 bytes

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB