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
793ee40290
commit
e2d79e00cc
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class KeyRingUtils {
|
|||
"Deprecated in favor of PGPSecretKeyRing extension function.",
|
||||
ReplaceWith("secretKeys.requireSecretKey(keyId)"))
|
||||
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