mirror of
https://codeberg.org/openpgp/notes.git
synced 2024-11-27 01:52:06 +01:00
ch18: add "secret-key packet" diagram
This commit is contained in:
parent
04f86e2df2
commit
576c8de26d
2 changed files with 10 additions and 1 deletions
|
@ -17,7 +17,16 @@ $ sq packet dump --hex alice.priv
|
||||||
|
|
||||||
### Primary Secret-Key packet
|
### 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
|
```text
|
||||||
Secret-Key Packet, new CTB, 2 header bytes + 75 bytes
|
Secret-Key Packet, new CTB, 2 header bytes + 75 bytes
|
||||||
|
|
BIN
book/source/diag/secret-key_packet.png
Normal file
BIN
book/source/diag/secret-key_packet.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
Loading…
Reference in a new issue