mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-09 18:29:39 +02:00
KeyRingUtils: Use KeyIdentifier instead of keyId
This commit is contained in:
parent
d721f546b6
commit
a5336b1806
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class KeyRingUtils {
|
||||||
"Deprecated in favor of PGPSecretKeyRing extension function.",
|
"Deprecated in favor of PGPSecretKeyRing extension function.",
|
||||||
ReplaceWith("secretKeys.requireSecretKey(keyId)"))
|
ReplaceWith("secretKeys.requireSecretKey(keyId)"))
|
||||||
fun requirePrimarySecretKeyFrom(secretKeys: PGPSecretKeyRing): PGPSecretKey {
|
fun requirePrimarySecretKeyFrom(secretKeys: PGPSecretKeyRing): PGPSecretKey {
|
||||||
return secretKeys.requireSecretKey(secretKeys.publicKey.keyID)
|
return secretKeys.requireSecretKey(secretKeys.publicKey.keyIdentifier)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue