mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-19 02:42:05 +01:00
Fix bug caused by false field comparison in SubkeyIdentifier
This commit is contained in:
parent
8fe9d250a8
commit
9ee0f09b8d
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class SubkeyIdentifier(
|
|||
val subkeyId = subkeyFingerprint.keyId
|
||||
val primaryKeyId = primaryKeyFingerprint.keyId
|
||||
|
||||
val isPrimaryKey = keyId == subkeyId
|
||||
val isPrimaryKey = primaryKeyId == subkeyId
|
||||
|
||||
fun matches(fingerprint: OpenPgpFingerprint) =
|
||||
primaryKeyFingerprint == fingerprint || subkeyFingerprint == fingerprint
|
||||
|
|
Loading…
Reference in a new issue