From 7e11d786c244743ac60c59e858418595e3f34acf Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 5 Dec 2023 13:23:46 +0100 Subject: [PATCH] Add new SVG diagrams and update all existing to current versions Signed-off-by: David Runge --- book/source/diag/Binding_Subkeys.svg | 779 ++++++++++++ book/source/diag/Binding_a_UserID.svg | 446 +++++++ book/source/diag/OpenPGP_Certificate.svg | 1123 +++++++++++++++++ book/source/diag/Primary_key_metadata.svg | 433 +++++++ book/source/diag/Signature_Creation.svg | 794 ++++++++++++ book/source/diag/Signature_Verification.svg | 825 ++++++++++++ book/source/diag/id_card.svg | 108 ++ book/source/diag/meaning_of_signatures.svg | 466 +++++++ book/source/diag/passphrase_using_S2K.svg | 32 +- book/source/diag/public-key_packet.svg | 31 +- book/source/diag/secret-key_packet.svg | 45 +- book/source/diag/subkey_binding_signature.svg | 1030 ++++++++------- book/source/diag/symmetric_key.svg | 116 ++ book/source/diag/with_subkeys.svg | 274 ++++ 14 files changed, 5916 insertions(+), 586 deletions(-) create mode 100644 book/source/diag/Binding_Subkeys.svg create mode 100644 book/source/diag/Binding_a_UserID.svg create mode 100644 book/source/diag/OpenPGP_Certificate.svg create mode 100644 book/source/diag/Primary_key_metadata.svg create mode 100644 book/source/diag/Signature_Creation.svg create mode 100644 book/source/diag/Signature_Verification.svg create mode 100644 book/source/diag/id_card.svg create mode 100644 book/source/diag/meaning_of_signatures.svg create mode 100644 book/source/diag/symmetric_key.svg create mode 100644 book/source/diag/with_subkeys.svg diff --git a/book/source/diag/Binding_Subkeys.svg b/book/source/diag/Binding_Subkeys.svg new file mode 100644 index 0000000..a874757 --- /dev/null +++ b/book/source/diag/Binding_Subkeys.svg @@ -0,0 +1,779 @@ + +Binding SubkeysOpenPGP subkeysComponent KeyD07B 24EC 91A1 4DD2 40AC 2D53 E6C8 A9E0 5494 9A41 222E A738 576E D19C AEA3 DC99signing- key creation timeComponent KeyencryptionC0A5 8384 A438 E5A1 4F73 7124 26A4 D45D BAEE F4A3 9E6B 30B0 9D55 13F9 78AC CA94- key creation timeComponent Key (primary)AAA1 8CBB 2546 85C5 8358 3205 63FD 37B6 7F33 00F9 FB0E C457 378C D29F 1026 98B3certification- key creation time diff --git a/book/source/diag/Binding_a_UserID.svg b/book/source/diag/Binding_a_UserID.svg new file mode 100644 index 0000000..f882e6b --- /dev/null +++ b/book/source/diag/Binding_a_UserID.svg @@ -0,0 +1,446 @@ + +- key creation timeComponent Key (primary)AAA1 8CBB 2546 85C5 8358 3205 63FD 37B6 7F33 00F9 FB0E C457 378C D29F 1026 98B3certificationBinding a User ID diff --git a/book/source/diag/OpenPGP_Certificate.svg b/book/source/diag/OpenPGP_Certificate.svg new file mode 100644 index 0000000..02dde5f --- /dev/null +++ b/book/source/diag/OpenPGP_Certificate.svg @@ -0,0 +1,1123 @@ + +OpenPGP CertificateComponent KeyD07B 24EC 91A1 4DD2 40AC 2D53 E6C8 A9E0 5494 9A41 222E A738 576E D19C AEA3 DC99signing- key creation timeComponent KeyencryptionC0A5 8384 A438 E5A1 4F73 7124 26A4 D45D BAEE F4A3 9E6B 30B0 9D55 13F9 78AC CA94- key creation timeDr. Alice Adams<adam@work.example>- key creation timeComponent Key (primary)AAA1 8CBB 2546 85C5 8358 3205 63FD 37B6 7F33 00F9 FB0E C457 378C D29F 1026 98B3certification diff --git a/book/source/diag/Primary_key_metadata.svg b/book/source/diag/Primary_key_metadata.svg new file mode 100644 index 0000000..cb4ba78 --- /dev/null +++ b/book/source/diag/Primary_key_metadata.svg @@ -0,0 +1,433 @@ + +Primary key metadata- key creation timeComponent Key (primary)AAA1 8CBB 2546 85C5 8358 3205 63FD 37B6 7F33 00F9 FB0E C457 378C D29F 1026 98B3certificationDirect key signature diff --git a/book/source/diag/Signature_Creation.svg b/book/source/diag/Signature_Creation.svg new file mode 100644 index 0000000..1c8f4d8 --- /dev/null +++ b/book/source/diag/Signature_Creation.svg @@ -0,0 +1,794 @@ + +Signature creationComponent KeySigner private key- key creation timeA cryptographic signature is calculated over the hash digest, using the private key material of the signer.Signing mechanismhash digestA hash digest is calculated from the input data packets and the signature metadata.Signature typeSignature over:Input data packetsSignature metadata- ...This cryptographic signature is then stored in the signature packet.One or more packetsInput Data packetsHash mechanism diff --git a/book/source/diag/Signature_Verification.svg b/book/source/diag/Signature_Verification.svg new file mode 100644 index 0000000..30f6721 --- /dev/null +++ b/book/source/diag/Signature_Verification.svg @@ -0,0 +1,825 @@ + +Signature verificationComponent KeySigner public key- key creation timeThe cryptographic signature is verified against the hash digest, using the public key of the signer.Signature verification mechanismhash digestA hash digest is calculated from the input data packets and the signature metadata.Signature typeSignature over:Input data packetsSignature metadata- ...One or more packetsInput Data packetsHash mechanism diff --git a/book/source/diag/id_card.svg b/book/source/diag/id_card.svg new file mode 100644 index 0000000..5cbf1b3 --- /dev/null +++ b/book/source/diag/id_card.svg @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/book/source/diag/meaning_of_signatures.svg b/book/source/diag/meaning_of_signatures.svg new file mode 100644 index 0000000..10b44fc --- /dev/null +++ b/book/source/diag/meaning_of_signatures.svg @@ -0,0 +1,466 @@ + +Signature typeSignature over:Signature dataSignature metadataCryptographic signatureOpenPGP signature packet- signature type- signature over input data- additional metadata- cryptographic signatureMeanings of signature in OpenPGP diff --git a/book/source/diag/passphrase_using_S2K.svg b/book/source/diag/passphrase_using_S2K.svg index c425b4f..dde4212 100644 --- a/book/source/diag/passphrase_using_S2K.svg +++ b/book/source/diag/passphrase_using_S2K.svg @@ -134,15 +134,15 @@ inkscape:pagecheckerboard="0" inkscape:deskcolor="#d1d1d1" inkscape:lockguides="false" - inkscape:zoom="0.77037643" - inkscape:cx="956.67516" - inkscape:cy="-256.36817" + inkscape:zoom="1.0894768" + inkscape:cx="2682.9392" + inkscape:cy="356.59318" inkscape:window-width="2560" inkscape:window-height="1371" inkscape:window-x="0" inkscape:window-y="305" inkscape:window-maximized="1" - inkscape:current-layer="layer3-5" + inkscape:current-layer="layer25" showgrid="false" inkscape:export-bgcolor="#ffffff00" showguides="false">Protecting secret key material Converting a passphrase with a passphraseinto a symmetric keycorrect horse battery staplePassphrasepublic key materialPublic Key Materialpk_algoPublic-Key AlgorithmCreation TimeVersionsecret key materialSecret Key Materials2k_usage (encryption information)S2K Usage (Secret Key Encryption)Public Key Materialpk_algoPublic-Key Algorithm1010101creation_timeCreation TimeversionVersion Subkey binding signatureComponent KeyencryptionC0A5 8384 A438 E5A1 4F73 7124 26A4 D45D C0A5 8384 A438 E5A1 4F73 7124 26A4 D45D BAEE F4A3 9E6B 30B0 9D55 13F9 78AC CA94BAEE F4A3 9E6B 30B0 9D55 13F9 78AC CA94FingerprintPrimary key creates a "subkey binding signature" to bind the subkey to the primary keySubkey binding signatureComponent KeyencryptionC0A5 8384 A438 E5A1 4F73 7124 26A4 D45D BAEE F4A3 9E6B 30B0 9D55 13F9 78AC CA94- key creation time- key creation timePrimary key creates a subkey binding signature to bind the subkey to the primary keyComponent Key (primary)Component Key (primary)AAA1 8CBB 2546 85C5 8358 3205 63FD 37B6 7F33 00F9 FB0E C457 378C D29F 1026 98B3AAA1 8CBB 2546 85C5 8358 3205 63FD 37B6 7F33 00F9 FB0E C457 378C D29F 1026 98B3certificationcertification- key creation time- key creation timeSubkey binding signature- signature creation time- key expiration time- key flags- issuer fingerprintSubkey binding signatureAdditional MetadataSignature over:- signature creation time- primary key- key expiration time- subkey + id="tspan23">- key flags- issuer fingerprintSignature over:Primary keySubkeySignature metadata: diff --git a/book/source/diag/symmetric_key.svg b/book/source/diag/symmetric_key.svg new file mode 100644 index 0000000..52b04de --- /dev/null +++ b/book/source/diag/symmetric_key.svg @@ -0,0 +1,116 @@ + +Symmetric key diff --git a/book/source/diag/with_subkeys.svg b/book/source/diag/with_subkeys.svg new file mode 100644 index 0000000..21d9ba6 --- /dev/null +++ b/book/source/diag/with_subkeys.svg @@ -0,0 +1,274 @@ + + + + + + + + + + + + + + + + + Key creation time + OpenPGP primary key(for certification) + + + + Key creation time + OpenPGP subkey(for encryption) + + + + Key creation time + OpenPGP subkey(for signing) + + + + + P + +