diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-06-11 10:56:09 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-06-11 10:56:09 +0200 |
commit | a86c0f3c0e312a4d82e8cc211ba89676c0a2db02 (patch) | |
tree | 9e8cec46402ba1aef396562b88c68cc0db96bb5a | |
parent | 2f762288602ff0eb79de0a66e1e11b3be5ac1dc8 (diff) |
openpgp: Improve documentation.
- Issuer fingerprint and intended recipient subpackets do contain a
version number.
- Typo.
-rw-r--r-- | openpgp/src/fingerprint.rs | 3 | ||||
-rw-r--r-- | openpgp/src/keyid.rs | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/openpgp/src/fingerprint.rs b/openpgp/src/fingerprint.rs index a88dafdd..7ed623d1 100644 --- a/openpgp/src/fingerprint.rs +++ b/openpgp/src/fingerprint.rs @@ -15,8 +15,7 @@ pub enum Fingerprint { /// 20 byte SHA-1 hash. V4([u8;20]), /// Used for holding fingerprints that we don't understand. For - /// instance, we don't grok v3 fingerprints. And, it is possible - /// that the Issuer subpacket contains the wrong number of bytes. + /// instance, we don't grok v3 fingerprints. Invalid(Box<[u8]>) } diff --git a/openpgp/src/keyid.rs b/openpgp/src/keyid.rs index 6d8e739f..f823299b 100644 --- a/openpgp/src/keyid.rs +++ b/openpgp/src/keyid.rs @@ -18,9 +18,9 @@ use crate::Result; pub enum KeyID { /// Lower 8 byte SHA-1 hash. V4([u8;8]), - /// Used for holding fingerprints that we don't understand. For - /// instance, we don't grok v3 fingerprints. And, it is possible - /// that the Issuer subpacket contains the wrong number of bytes. + /// Used for holding keyids that we don't understand. For + /// instance, we don't grok v3 keyids. And, it is possible that + /// the Issuer subpacket contains the wrong number of bytes. Invalid(Box<[u8]>) } |