2023-11-02 16:39:07 +01:00
|
|
|
<!--
|
|
|
|
SPDX-FileCopyrightText: 2023 The "Notes on OpenPGP" project
|
|
|
|
SPDX-License-Identifier: CC-BY-SA-4.0
|
|
|
|
-->
|
|
|
|
|
2023-10-07 18:59:17 +02:00
|
|
|
```{mermaid}
|
2023-11-06 23:14:04 +01:00
|
|
|
%%{ init: { 'flowchart': { 'curve': 'monotoneX' } } }%%
|
2023-10-07 18:59:17 +02:00
|
|
|
flowchart LR
|
|
|
|
signature(OpenPGP Signature)
|
|
|
|
|
2023-11-06 23:14:04 +01:00
|
|
|
data(Signature on Data)
|
|
|
|
|
|
|
|
sigcomp(Signature on Component)
|
|
|
|
selfsig(Self-Signature)
|
|
|
|
thirdparty(Third-Party)
|
|
|
|
|
|
|
|
signature --> confsig & standalone & timestamp & data & sigcomp
|
|
|
|
|
2023-10-07 18:59:17 +02:00
|
|
|
data --> binary & text
|
2023-11-06 23:14:04 +01:00
|
|
|
|
|
|
|
sigcomp --> selfsig & thirdparty
|
|
|
|
selfsig --> skbind & skrev & uidcert & uidrev & dksig & krev
|
|
|
|
thirdparty --> uidcert & uidrev & dksig
|
|
|
|
|
2023-11-02 17:18:26 +01:00
|
|
|
subgraph Signature Types and Targets
|
2023-10-07 18:59:17 +02:00
|
|
|
standalone[0x02: Standalone]
|
|
|
|
subgraph Signature Packet
|
|
|
|
confsig[0x50: Third-Party Confirmation]
|
|
|
|
timestamp[0x40: Timestamp]
|
|
|
|
end
|
|
|
|
subgraph Data
|
|
|
|
binary[0x00: Binary Data]
|
|
|
|
text[0x01: Canonical Text]
|
|
|
|
end
|
|
|
|
subgraph Primary Key + User ID / Attr. Packet
|
|
|
|
uidcert[
|
|
|
|
0x10: Generic Certification
|
|
|
|
0x11: Persona Certification
|
|
|
|
0x12: Casual Certification
|
|
|
|
0x13: Positive Certification
|
|
|
|
]
|
|
|
|
uidrev[0x30: Certification Revocation]
|
|
|
|
end
|
|
|
|
subgraph Primary Key
|
|
|
|
dksig[0x1F: Direct-Key Signature]
|
|
|
|
krev[0x20: Key Revocation]
|
|
|
|
end
|
|
|
|
subgraph Primary + Subkey
|
|
|
|
skbind[
|
|
|
|
0x18: Subkey Binding
|
|
|
|
0x19: Primary Key Binding
|
|
|
|
]
|
|
|
|
skrev[0x28: Subkey Revocation]
|
|
|
|
end
|
|
|
|
end
|
|
|
|
```
|