Fix index per key-id for invalidated keys
This commit is contained in:
parent
35a01a16da
commit
da438eba2a
|
@ -127,7 +127,7 @@ class WebOfTrust(private val certificateStore: PGPCertificateStore) {
|
|||
byFingerprint.putIfAbsent(certFingerprint, cert)
|
||||
|
||||
// index by key-ID
|
||||
cert.validSubkeys.forEach {
|
||||
cert.keys.publicKeys.forEach {
|
||||
byKeyId.getOrPut(it.keyID) { mutableListOf() }.add(cert)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue