Remove factory reset patch

We do want the card to reset if the pin gets brute forced
This commit is contained in:
c0de 2023-10-04 12:02:11 -05:00
parent f14a76b2ae
commit d70ca4b185

View File

@ -1,17 +0,0 @@
diff --git a/src/dev/c0de/smartpgp/SmartPGPApplet.java b/src/dev/c0de/smartpgp/SmartPGPApplet.java
index c47870f..87162fb 100644
--- a/src/dev/c0de/smartpgp/SmartPGPApplet.java
+++ b/src/dev/c0de/smartpgp/SmartPGPApplet.java
@@ -1329,10 +1329,12 @@ public final class SmartPGPApplet extends Applet {
return;
}
+/*
if(data.admin_pin.getTriesRemaining() <= 0) {
data.isTerminated = true;
return;
}
+*/
assertAdmin();