diff --git a/pgpainless-wot/src/main/kotlin/org/pgpainless/wot/WebOfTrust.kt b/pgpainless-wot/src/main/kotlin/org/pgpainless/wot/WebOfTrust.kt index c3a34f6f..abb284d8 100644 --- a/pgpainless-wot/src/main/kotlin/org/pgpainless/wot/WebOfTrust.kt +++ b/pgpainless-wot/src/main/kotlin/org/pgpainless/wot/WebOfTrust.kt @@ -245,7 +245,7 @@ class WebOfTrust(private val certificateStore: PGPCertificateStore) { // perform shared verification steps verifyCommonSignatureCriteria(candidate, certification, issuerSigningKey, targetPrimaryKey, policy) // check correct signature - SignatureValidator.correctSignatureOverUserId(userId, issuerSigningKey, targetPrimaryKey).verify(certification) + SignatureValidator.correctSignatureOverUserId(userId, targetPrimaryKey, issuerSigningKey).verify(certification) // Only add the edge, if the above checks did not throw networkBuilder.addEdge(fromCertification(issuer, target, userId, certification)) return // we're done