certify: get rid of fingerprint check
Master key ids are unambiguous by database design, and only keys which are in the database are signed. There is no reason to check the fingerprint again during the certify operation.
This commit is contained in:
@@ -86,11 +86,6 @@ public class PgpCertifyOperation {
|
||||
|
||||
CanonicalizedPublicKeyRing publicRing =
|
||||
mProviderHelper.getCanonicalizedPublicKeyRing(action.mMasterKeyId);
|
||||
if ( ! Arrays.equals(publicRing.getFingerprint(), action.mFingerprint)) {
|
||||
log.add(LogType.MSG_CRT_FP_MISMATCH, 3);
|
||||
certifyError += 1;
|
||||
continue;
|
||||
}
|
||||
|
||||
UncachedKeyRing certifiedKey = certificationKey.certifyUserIds(publicRing, action.mUserIds, null, null);
|
||||
certifiedKeys.add(certifiedKey);
|
||||
|
||||
Reference in New Issue
Block a user