This commit is contained in:
Heiko Schaefer 2023-10-27 23:37:45 +02:00
parent a590637762
commit 38f5139600
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D

View file

@ -154,7 +154,7 @@ The Public-Key packet consists primarily of the cryptographic key data. Let's lo
- `pk_algo: 0x1b`: This corresponds to the key's public-key algorithm ID, which has a decimal value of 27. Refer to the list of [Public-Key Algorithms](https://www.ietf.org/archive/id/draft-ietf-openpgp-crypto-refresh-10.html#name-public-key-algorithms)) for more details.
- `public_len: 0x00000020`: This section specifies the octet count for the subsequent public key material. In this case, it represents the length of the following `ed25519_public` field.
- `public_len: 0x00000020`: This field specifies the octet count for the subsequent public key material. In this case, it represents the length of the following `ed25519_public` field.
- `ed25519_public`: This is the [algorithm-specific representation](https://www.ietf.org/archive/id/draft-ietf-openpgp-crypto-refresh-10.html#name-algorithm-specific-part-for-ed2) of the public key material. The format is based on the value of `pk_algo`, which, in this case, is 32 bytes of Ed25519 public key data.
@ -776,7 +776,7 @@ The signature is calculated over a hash. The hash, in this case, is derived from
- the signature's salt
- the serialized primary key's public data
- the serialized User ID
- the serialized self-signature packet (excluding the unhashed area)
This section specifies- the serialized self-signature packet (excluding the unhashed area)
Refer to [Computing Signatures](https://www.ietf.org/archive/id/draft-ietf-openpgp-crypto-refresh-11.html#name-computing-signatures) in the RFC for details.