remove deleted keys

This commit is contained in:
Ashley Hughes 2014-02-22 15:41:15 +00:00
parent a39c73ca12
commit fab74590eb

View File

@ -378,6 +378,10 @@ public class PgpKeyOperation {
do we need to remove and add in? do we need to remove and add in?
*/ */
for (PGPSecretKey dKey : deleted_keys) {
mKR = PGPSecretKeyRing.removeSecretKey(mKR, dKey);
}
masterKey = mKR.getSecretKey(); masterKey = mKR.getSecretKey();
PGPPublicKey masterPublicKey = masterKey.getPublicKey(); PGPPublicKey masterPublicKey = masterKey.getPublicKey();