Merge pull request #2685 from open-keychain/fix_changing_admin_key__issue_2684

Don't explicitly clear PIN when verifying admin PIN
master
Dominik Schürmann 2 years ago committed by GitHub
commit df2356995c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -414,7 +414,6 @@ public class SecurityTokenConnection {
// delete secrets from memory
Arrays.fill(pin, (byte) 0);
Arrays.fill(transformedPin, (byte) 0);
adminPin.removeFromMemory();
ResponseApdu response = communicate(verifyPw3Command);
if (!response.isSuccess()) {

Loading…
Cancel
Save