use certification keys to sign keyrings

This commit is contained in:
Ash Hughes
2013-03-21 14:48:30 +00:00
parent cf34a1720e
commit 0075c522a6
2 changed files with 45 additions and 1 deletions

View File

@@ -1132,7 +1132,7 @@ public class PgpMain {
} else {
PGPPublicKeyRing pubring = ProviderHelper.getPGPPublicKeyRingByKeyId(context, pubKeyId);
PGPSecretKey signingKey = PgpHelper.getSigningKey(context, masterKeyId);
PGPSecretKey signingKey = PgpHelper.getCertificationKey(context, masterKeyId);
if (signingKey == null) {
throw new PgpGeneralException(context.getString(R.string.error_signatureFailed));
}