1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-18 02:12:06 +01:00

Add alphabet description

This commit is contained in:
Paul Schaub 2022-09-07 18:27:54 +02:00
parent 36cb6918a4
commit ba5eea8b9c
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -34,6 +34,27 @@ graph LR
enc -- "Signature,o/ε" --> sig4ops enc -- "Signature,o/ε" --> sig4ops
``` ```
The input alphabet consists of the following OpenPGP packets:
* `Literal Data`: Literal Data Packet
* `Signature`: Signature Packet
* `OnePassSignature`: One-Pass-Signature Packet
* `Compressed Data`: Compressed Data Packet
* `SKESK`: Symmetric-Key Encrypted Session Key Packet
* `PKESK`: Public-Key Encrypted Session Key Packet
* `Sym. Enc. Data`: Symmetrically Encrypted Data Packet
* `Sym. Enc. Int. Prot. Data`: Symmetrically Encrypted Integrity Protected Data Packet
Additionally, `ε` is used to transition without reading OpenPGP packets.
The following stack alphabet is used:
* `m`: OpenPGP Message
* `o`: One-Pass-Signature packet.
* `k`: Encrypted Session Key
* `#`: Terminal for valid OpenPGP messages
Note: The standards document states, that Marker Packets shall be ignored as well.
For the sake of readability, those transitions are omitted here.
The dotted line indicates a nested transition. The dotted line indicates a nested transition.
For example the arrow `Compressed Data,m/m` indicates, that the content of the Compressed Data packet itself For example the arrow `Compressed Data,m/m` indicates, that the content of the Compressed Data packet itself
is an OpenPGP Message. is an OpenPGP Message.