summaryrefslogtreecommitdiffstats
path: root/openpgp/src/tpk/builder.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/tpk/builder.rs')
-rw-r--r--openpgp/src/tpk/builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/tpk/builder.rs b/openpgp/src/tpk/builder.rs
index 515d987a..40ee1ab1 100644
--- a/openpgp/src/tpk/builder.rs
+++ b/openpgp/src/tpk/builder.rs
@@ -274,7 +274,7 @@ impl TPKBuilder {
.set_signature_creation_time(time::now().canonicalize())?
.set_key_expiration_time(Some(time::Duration::weeks(3 * 52)))?
.set_issuer_fingerprint(key.fingerprint())?
- .set_issuer(key.fingerprint().to_keyid())?
+ .set_issuer(key.keyid())?
.set_preferred_hash_algorithms(vec![HashAlgorithm::SHA512])?;
let mut signer = key.clone().into_keypair()