Clarify use of methods in PgpKeyHelper

This commit is contained in:
Dominik Schürmann committed 2014-04-11 21:40:12 +02:00
1 parent 12b8282d9b
commit 2069f20f50
3 files changed
+6 -6

No files matched your search

@@ -833,7 +833,7 @@ public class KeychainIntentService extends IntentService
Log.e(Constants.TAG, "key not found!", e);
// TODO: throw exception here!
}
PGPSecretKey certificationKey = PgpKeyHelper.getCertificationKey(secretKeyRing);
PGPSecretKey certificationKey = PgpKeyHelper.getFirstCertificationSubkey(secretKeyRing);
publicKey = keyOperation.certifyKey(certificationKey, publicKey,
userIds, signaturePassphrase);
publicRing = PGPPublicKeyRing.insertPublicKey(publicRing, publicKey);