reset encrypted field to null when decrypting secret key
This commit is contained in:
parent
778f1b1be2
commit
8620220cfb
|
@ -269,6 +269,7 @@ SecretKey.prototype.decrypt = function (passphrase) {
|
|||
}
|
||||
this.mpi = this.mpi.concat(parsedMPI);
|
||||
this.isDecrypted = true;
|
||||
this.encrypted = null;
|
||||
return true;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user