diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-04-16 14:43:06 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-04-16 14:43:06 +0200 |
commit | cd8458f34dc60d9defad897342af2ddc592149d2 (patch) | |
tree | cd64e1f4c8f2a7da9371ee3a35c525c7c7689c06 /OpenKeychain/src/main/java/org/sufficientlysecure/keychain | |
parent | ab66b4088315d131b8e6f30f55c28d80de89d147 (diff) | |
download | open-keychain-cd8458f34dc60d9defad897342af2ddc592149d2.tar.gz open-keychain-cd8458f34dc60d9defad897342af2ddc592149d2.tar.bz2 open-keychain-cd8458f34dc60d9defad897342af2ddc592149d2.zip |
Clarify comments
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpDecryptVerify.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpDecryptVerify.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpDecryptVerify.java index e67928e9b..8b18f3fe2 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpDecryptVerify.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpDecryptVerify.java @@ -439,7 +439,7 @@ public class PgpDecryptVerify { signatureResultBuilder.signatureAvailable(true); signatureResultBuilder.knownKey(true); - // TODO: uses the first pubkey for information, is this the master key? + // TODO: uses the first user id not primary user id signatureResultBuilder.userId(PgpKeyHelper.getMainUserId(publicKeyRing.getPublicKey())); signatureResultBuilder.keyId(publicKeyRing.getPublicKey().getKeyID()); @@ -640,7 +640,7 @@ public class PgpDecryptVerify { signatureResultBuilder.signatureAvailable(true); signatureResultBuilder.knownKey(true); - // TODO: uses the first pubkey for information, is this the master key? + // TODO: uses the first user id not primary user id signatureResultBuilder.userId(PgpKeyHelper.getMainUserId(publicKeyRing.getPublicKey())); signatureResultBuilder.keyId(publicKeyRing.getPublicKey().getKeyID()); |