mirror of
https://codeberg.org/openpgp/notes.git
synced 2025-09-10 11:49:40 +02:00
Adjust styling of "One-pass signed" to use only one dash, and "Prefixed Signed" accordingly
(This mirrors section 10.3 in c-r)
This commit is contained in:
parent
e9a21f1d2d
commit
b2199d95c5
2 changed files with 10 additions and 10 deletions
|
@ -54,16 +54,16 @@ This method is commonly used for signing or encrypting emails. Most email softwa
|
|||
|
||||
OpenPGP defines two different forms of inline-signed messages:
|
||||
|
||||
1. **{term}`One-pass-signed messages<One-pass-signed Message>`** are signed using one or more {term}`one-pass signatures<One-pass Signature Packet>`
|
||||
2. **{term}`Prefixed-signed messages<Prefixed-signed Message>`** have the actual signature(s) prefixed to the {term}`OpenPGP message<OpenPGP Message>`.
|
||||
1. **{term}`One-pass signed messages<One-pass signed Message>`** are signed using one or more {term}`one-pass signatures<One-pass Signature Packet>`
|
||||
2. **{term}`Prefixed signed messages<Prefixed signed Message>`** have the actual signature(s) prefixed to the {term}`OpenPGP message<OpenPGP Message>`.
|
||||
|
||||
While the latter is conceptually slightly simpler, it has no strong benefits over {term}`one-pass-signed messages<One-pass-signed Message>` and is rarely used.
|
||||
While {term}`prefixed signed messages<Prefixed signed Message>` are conceptually slightly simpler, they have no strong benefits over {term}`one-pass signed messages<One-pass signed Message>` and are rarely used.
|
||||
|
||||
### One-pass-signed message
|
||||
### One-pass signed message
|
||||
|
||||
#### Structure
|
||||
|
||||
A {term}`one-pass-signed<One-pass-signed Message>` {term}`OpenPGP message` consists of three segments:
|
||||
A {term}`one-pass signed<One-pass signed Message>` {term}`OpenPGP message` consists of three segments:
|
||||
|
||||
1. [**One-pass signature packets**](https://www.ietf.org/archive/id/draft-ietf-openpgp-crypto-refresh-12.html#one-pass-sig): These one or more {term}`packets<Packet>` precede the signed data and enable {term}`signature<OpenPGP Signature Packet>` computation in one pass.
|
||||
|
||||
|
@ -97,10 +97,10 @@ Strictly speaking, knowing just the hash algorithm would be sufficient to begin
|
|||
|
||||
Important to note, the {term}`signer`'s {term}`public key<OpenPGP Certificate>`, critical for the final {term}`verification` step, is not embedded in the message. Verifiers must acquire this {term}`key` externally (e.g., from a {term}`key server`) to authenticate the {term}`signature<OpenPGP Signature Packet>` successfully.
|
||||
|
||||
### Prefixed-signed message
|
||||
### Prefixed signed message
|
||||
|
||||
A {term}`prefixed-signed message` serves the same function as a {term}`one-pass-signed message`. However, this form is less commonly used.
|
||||
In a {term}`prefixed-signed message`, the {term}`signature packet(s)<signature packet>` are simply prepended to the message.
|
||||
A {term}`prefixed signed message` serves the same function as a {term}`one-pass signed message`. However, this form is less commonly used.
|
||||
In a {term}`prefixed signed message`, the {term}`signature packet(s)<signature packet>` are simply prepended to the message.
|
||||
|
||||
Especially for longer messages, it takes a bit more work to generate an inline signed OpenPGP message in this format.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue