From d70ca4b1859a161f51ccbcd0728b8a6c518704de Mon Sep 17 00:00:00 2001 From: c0de Date: Wed, 4 Oct 2023 12:02:11 -0500 Subject: [PATCH] Remove factory reset patch We do want the card to reset if the pin gets brute forced --- patches/remove_factory_reset.patch | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 patches/remove_factory_reset.patch diff --git a/patches/remove_factory_reset.patch b/patches/remove_factory_reset.patch deleted file mode 100644 index 49462c7..0000000 --- a/patches/remove_factory_reset.patch +++ /dev/null @@ -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(); -