add test case for duplicate keys in keyring (#870)
This commit is contained in:
@@ -329,9 +329,9 @@ public class CanonicalizedSecretKey extends CanonicalizedPublicKey {
|
||||
return new UncachedSecretKey(mSecretKey);
|
||||
}
|
||||
|
||||
// HACK
|
||||
public PGPSecretKey getSecretKey() {
|
||||
return mSecretKey;
|
||||
// HACK, for TESTING ONLY!!
|
||||
PGPPrivateKey getPrivateKey () {
|
||||
return mPrivateKey;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1118,7 +1118,7 @@ public class PgpKeyOperation {
|
||||
pKey, flags, expiry);
|
||||
}
|
||||
|
||||
private static PGPSignature generateSubkeyBindingSignature(
|
||||
static PGPSignature generateSubkeyBindingSignature(
|
||||
PGPPublicKey masterPublicKey, PGPPrivateKey masterPrivateKey,
|
||||
PGPPrivateKey subPrivateKey, PGPPublicKey pKey, int flags, long expiry)
|
||||
throws IOException, PGPException, SignatureException {
|
||||
|
||||
Reference in New Issue
Block a user