summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2023-08-22 10:21:04 +0200
committerJustus Winter <justus@sequoia-pgp.org>2023-11-06 17:02:07 +0100
commit861cce7867bc79760a2e2ae540b4cdb20be41d31 (patch)
tree2e37e52ac1614ca589ab577c9d33396304e92cdd
parentac3bec7b1685dc6bc45c7de0647c86ba0b14e4e5 (diff)
openpgp: Update references to new subpackets.crypto-refresh-subpackets
-rw-r--r--openpgp/src/packet/signature/subpacket.rs40
1 files changed, 25 insertions, 15 deletions
diff --git a/openpgp/src/packet/signature/subpacket.rs b/openpgp/src/packet/signature/subpacket.rs
index aee42e8d..98c76cf6 100644
--- a/openpgp/src/packet/signature/subpacket.rs
+++ b/openpgp/src/packet/signature/subpacket.rs
@@ -295,11 +295,13 @@ pub enum SubpacketTag {
///
/// [Section 5.2.3.26 of RFC 4880]: https://tools.ietf.org/html/rfc4880#section-5.2.3.26
EmbeddedSignature,
- /// The Fingerprint of the key that issued the signature (proposed).
+
+ /// The Fingerprint of the key that issued the signature.
///
- /// See [Section 5.2.3.28 of RFC 4880bis] for details.
+ /// See [Section 5.2.3.35 of draft-ietf-openpgp-crypto-refresh-10]
+ /// for details.
///
- /// [Section 5.2.3.28 of RFC 4880bis]: https://tools.ietf.org/html/draft-ietf-openpgp-rfc4880bis-09.html#section-5.2.3.28
+ /// [Section 5.2.3.35 of draft-ietf-openpgp-crypto-refresh-10]: https://www.ietf.org/archive/id/draft-ietf-openpgp-crypto-refresh-10.html#name-issuer-fingerprint
IssuerFingerprint,
/// The AEAD algorithms that the certificate holder prefers (deprecated).
@@ -309,12 +311,15 @@ pub enum SubpacketTag {
/// [Section 5.2.3.8 of draft-ietf-openpgp-rfc4880bis-09]: https://tools.ietf.org/html/draft-ietf-openpgp-rfc4880bis-09.html#section-5.2.3.8
#[deprecated(note = "Use PreferredAEADCiphersuites instead")]
PreferredAEADAlgorithms,
- /// Who the signed message was intended for (proposed).
+
+ /// Who the signed message was intended for.
///
- /// See [Section 5.2.3.29 of RFC 4880bis] for details.
+ /// See [Section 5.2.3.36 of draft-ietf-openpgp-crypto-refresh-10]
+ /// for details.
///
- /// [Section 5.2.3.29 of RFC 4880bis]: https://tools.ietf.org/html/draft-ietf-openpgp-rfc4880bis-09.html#section-5.2.3.29
+ /// [Section 5.2.3.36 of draft-ietf-openpgp-crypto-refresh-10]: https://www.ietf.org/archive/id/draft-ietf-openpgp-crypto-refresh-10.html#name-intended-recipient-fingerpr
IntendedRecipient,
+
/// The Attested Certifications subpacket (proposed).
///
/// Allows the certificate holder to attest to third party
@@ -1682,11 +1687,13 @@ pub enum SubpacketValue {
///
/// [Section 5.2.3.26 of RFC 4880]: https://tools.ietf.org/html/rfc4880#section-5.2.3.26
EmbeddedSignature(Signature),
- /// The Fingerprint of the key that issued the signature (proposed).
+
+ /// The Fingerprint of the key that issued the signature.
///
- /// See [Section 5.2.3.28 of RFC 4880bis] for details.
+ /// See [Section 5.2.3.35 of draft-ietf-openpgp-crypto-refresh-10]
+ /// for details.
///
- /// [Section 5.2.3.28 of RFC 4880bis]: https://tools.ietf.org/html/draft-ietf-openpgp-rfc4880bis-09.html#section-5.2.3.28
+ /// [Section 5.2.3.35 of draft-ietf-openpgp-crypto-refresh-10]: https://www.ietf.org/archive/id/draft-ietf-openpgp-crypto-refresh-10.html#name-issuer-fingerprint
IssuerFingerprint(Fingerprint),
/// The AEAD algorithms that the certificate holder prefers (deprecated).
@@ -1696,12 +1703,15 @@ pub enum SubpacketValue {
/// [Section 5.2.3.8 of draft-ietf-openpgp-rfc4880bis-09]: https://tools.ietf.org/html/draft-ietf-openpgp-rfc4880bis-09.html#section-5.2.3.8
#[deprecated(note = "Use PreferredAEADCiphersuites instead")]
PreferredAEADAlgorithms(Vec<AEADAlgorithm>),
- /// Who the signed message was intended for (proposed).
+
+ /// Who the signed message was intended for.
///
- /// See [Section 5.2.3.29 of RFC 4880bis] for details.
+ /// See [Section 5.2.3.36 of draft-ietf-openpgp-crypto-refresh-10]
+ /// for details.
///
- /// [Section 5.2.3.29 of RFC 4880bis]: https://tools.ietf.org/html/draft-ietf-openpgp-rfc4880bis-09.html#section-5.2.3.29
+ /// [Section 5.2.3.36 of draft-ietf-openpgp-crypto-refresh-10]: https://www.ietf.org/archive/id/draft-ietf-openpgp-crypto-refresh-10.html#name-intended-recipient-fingerpr
IntendedRecipient(Fingerprint),
+
/// The Attested Certifications subpacket (proposed).
///
/// Allows the certificate holder to attest to third party
@@ -3065,7 +3075,7 @@ impl SubpacketAreas {
/// validating the signature authenticates the subpacket), it is
/// normally stored in the unhashed subpacket area.
///
- /// [Issuer Fingerprint subpacket]: https://tools.ietf.org/html/draft-ietf-openpgp-rfc4880bis-09.html#section-5.2.3.28
+ /// [Issuer Fingerprint subpacket]: https://www.ietf.org/archive/id/draft-ietf-openpgp-crypto-refresh-10.html#name-issuer-fingerprint
///
/// This returns all instances of the Issuer Fingerprint subpacket
/// in both the hashed subpacket area and the unhashed subpacket
@@ -3094,7 +3104,7 @@ impl SubpacketAreas {
/// subpacket] started life.
///
/// [Notation Data subpackets]: https://tools.ietf.org/html/rfc4880#section-5.2.3.16
- /// [Intended Recipient subpacket]: https://tools.ietf.org/html/draft-ietf-openpgp-rfc4880bis-09.html#name-intended-recipient-fingerpr
+ /// [Intended Recipient subpacket]: https://www.ietf.org/archive/id/draft-ietf-openpgp-crypto-refresh-10.html#name-intended-recipient-fingerpr
///
/// Notation names are structured, and are divided into two
/// namespaces: the user namespace and the IETF namespace. Names
@@ -3801,7 +3811,7 @@ impl SubpacketAreas {
/// The [Intended Recipient subpacket] holds the fingerprint of a
/// certificate.
///
- /// [Intended Recipient subpacket]: https://tools.ietf.org/html/draft-ietf-openpgp-rfc4880bis-09.html#section-5.2.3.29
+ /// [Intended Recipient subpacket]: https://www.ietf.org/archive/id/draft-ietf-openpgp-crypto-refresh-10.html#name-intended-recipient-fingerpr
///
/// When signing a message, the message should include one such
/// subpacket for each intended recipient. Note: not all messages