summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openpgp/src/serialize/stream.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/serialize/stream.rs b/openpgp/src/serialize/stream.rs
index b87b55e1..6cdb69ad 100644
--- a/openpgp/src/serialize/stream.rs
+++ b/openpgp/src/serialize/stream.rs
@@ -345,8 +345,8 @@ impl<'a> Signer<'a> {
let mut sig = Signature::new(SignatureType::Binary);
sig.set_signature_creation_time(time::now())?;
sig.set_issuer_fingerprint(key.fingerprint())?;
- // Some versions of GnuPG require the Issuer subpacket
- // to be present.
+ // GnuPG up to (and including) 2.2.8 requires the
+ // Issuer subpacket to be present.
sig.set_issuer(key.keyid())?;
// Compute the signature.