mirror of
https://codeberg.org/openpgp/notes.git
synced 2025-09-10 03:39:41 +02:00
minor edits
This commit is contained in:
parent
06d986e234
commit
4f00732291
1 changed files with 6 additions and 8 deletions
|
@ -49,7 +49,7 @@ With version 4 SKESK packets, which are only used with version 1 SEIPD packets,
|
|||
(decryption-skesk4-direct-method)=
|
||||
#### Direct-Method
|
||||
|
||||
In version 4 of the SKESK packet, the encrypted session key is optional. A missing encrypted session key signals the use of the "direct-method", which means, the result of passing the passphrase through the S2K function is directly used as the session key/message key.
|
||||
In version 4 of the SKESK packet, the encrypted session key is optional. A missing encrypted session key signals the use of the "direct-method," which means the result of passing the passphrase through the S2K function is directly used as the session key/message key.
|
||||
|
||||
When the direct method is used, the symmetric cipher algorithm ID of the SKESK packet dictates the cipher algorithm used to decrypt the plaintext from the SEIPD packet.
|
||||
|
||||
|
@ -135,7 +135,6 @@ Once the cipher is initialized, the whole encrypted data from the SEIPD packet i
|
|||
The contents of the SEIPD packet are decrypted using the session key as message key.
|
||||
```
|
||||
|
||||
|
||||
## SEIPD w/ AEAD (v2)
|
||||
|
||||
Preferred mode.
|
||||
|
@ -167,7 +166,6 @@ After all blocks have been processed, in a final AEAD step, the total number of
|
|||
Each chunk is decrypted using AEAD using the message key and an IV with appended chunk index.
|
||||
```
|
||||
|
||||
|
||||
## SED
|
||||
|
||||
Legacy mode, may be decrypted, but not produced.
|
||||
Legacy mode: may be decrypted, but not produced.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue