summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2021-04-30 13:59:55 +0200
committerJustus Winter <justus@sequoia-pgp.org>2021-04-30 13:59:55 +0200
commita5395138020eaf5b2681e539e449c4042cbff706 (patch)
tree346c50544fc4a106796b13b0defa2a9ca5098a66
parentf3c321e3d3a08291b0d5bcd7b5de00ca647debeb (diff)
openpgp: Drop features subpacket from subkey binding signatures.
- The feature subpacket is only honored on direct key signatures and user id and attribute binding signatures.
-rw-r--r--openpgp/src/cert/builder.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/openpgp/src/cert/builder.rs b/openpgp/src/cert/builder.rs
index efd17c94..0864a0fb 100644
--- a/openpgp/src/cert/builder.rs
+++ b/openpgp/src/cert/builder.rs
@@ -1029,7 +1029,6 @@ impl CertBuilder<'_> {
.set_signature_creation_time(creation_time)?
// GnuPG wants at least a 512-bit hash for P521 keys.
.set_hash_algo(HashAlgorithm::SHA512)
- .set_features(Features::sequoia())?
.set_key_flags(flags.clone())?
.set_key_validity_period(blueprint.validity.or(self.primary.validity))?;