diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-04-11 21:40:12 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-04-11 21:40:12 +0200 |
commit | 2069f20f50b808fad8fea3639e82eadd0d9bd9e7 (patch) | |
tree | 1f4071ef8682ef8d2d0c41ec9781cbb5a5fd3def /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/KeychainIntentService.java | |
parent | 12b8282d9b6b1723d8c4086911970d2f1188f53a (diff) | |
download | open-keychain-2069f20f50b808fad8fea3639e82eadd0d9bd9e7.tar.gz open-keychain-2069f20f50b808fad8fea3639e82eadd0d9bd9e7.tar.bz2 open-keychain-2069f20f50b808fad8fea3639e82eadd0d9bd9e7.zip |
Clarify use of methods in PgpKeyHelper
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/KeychainIntentService.java')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/KeychainIntentService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/KeychainIntentService.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/KeychainIntentService.java index d54bc7de6..1ca143be0 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/KeychainIntentService.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/KeychainIntentService.java @@ -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); |