diff --git a/book/source/10-encryption.md b/book/source/10-encryption.md index fd555e9..cdde41e 100644 --- a/book/source/10-encryption.md +++ b/book/source/10-encryption.md @@ -107,7 +107,7 @@ In this version of the SEIPD packet, the session-key is used directly as message When communicating with a mix of recipients, some of whose OpenPGP software only supports OpenPGP version 4, then this mechanism must be used. -```{figure} drawio/SEIPDv1-PKESK.png +```{figure} drawio/SEIPDv1-PKESK.svg :name: fig-encryption-seipdv1-pkesk :alt: Depicts a dotted hexagon labeled "Plaintext", from which a curved arrow passes another dotted hexagon "Session Key" and finally points to a "SEIPDv1" packet. Two more curved arrows originate from the session key and pass Alice' and Bob's encryption key, ending in two PKESK packets. @@ -127,7 +127,7 @@ In version 2 SEIPD, the *session key* is transformed into a *message key*, based The session-key can use a different symmetric algorithm than the message-key. ``` -```{figure} drawio/SEIPDv2-PKESK.png +```{figure} drawio/SEIPDv2-PKESK.svg :name: fig-encryption-seipdv2-pkesk :alt: TODO diff --git a/book/source/drawio/SEIPDv1-PKESK.png b/book/source/drawio/SEIPDv1-PKESK.png deleted file mode 100644 index cb8d040..0000000 Binary files a/book/source/drawio/SEIPDv1-PKESK.png and /dev/null differ diff --git a/book/source/drawio/SEIPDv1-PKESK.svg b/book/source/drawio/SEIPDv1-PKESK.svg new file mode 100644 index 0000000..c8518d1 --- /dev/null +++ b/book/source/drawio/SEIPDv1-PKESK.svg @@ -0,0 +1,4 @@ + + + +
Session Key
Session Key
PKESK #1
0xBBBB...
PKESK #10xBBBB...
PKESK #0
0xAAAA...
PKESK #00xAAAA...
Alice'
Encryption Key
0xAAAA...
Alice'...
Bob's
Encryption Key
0xBBBB...
Bob's...
Plaintext
Plaintext
SEIPDv1
SEIPDv1
Encrypted Message
Encrypted Message
Text is not SVG - cannot display
\ No newline at end of file diff --git a/book/source/drawio/SEIPDv2-PKESK.png b/book/source/drawio/SEIPDv2-PKESK.png deleted file mode 100644 index f3151ca..0000000 Binary files a/book/source/drawio/SEIPDv2-PKESK.png and /dev/null differ diff --git a/book/source/drawio/SEIPDv2-PKESK.svg b/book/source/drawio/SEIPDv2-PKESK.svg new file mode 100644 index 0000000..33a2a52 --- /dev/null +++ b/book/source/drawio/SEIPDv2-PKESK.svg @@ -0,0 +1,4 @@ + + + +
Session Key
Session Key
PKESK #1
0xBBBB...
PKESK #10xBBBB...
PKESK #0
0xAAAA...
PKESK #00xAAAA...
Alice'
Encryption Key
0xAAAA...
Alice'...
Bob's
Encryption Key
0xBBBB...
Bob's...
Plaintext
Plaintext
Encrypted Message
Encrypted Message
Message Key
Message Key
SEIPDv2
SEIPDv2
Salt: 49f8edc3
Salt: 49f8edc3
Ciphertext
Ciphertext
Text is not SVG - cannot display
\ No newline at end of file