From 366bab9dbfdb3cf7ef4f457518d0afb7d8e9e883 Mon Sep 17 00:00:00 2001 From: timothyteakettle <59849408+timothyteakettle@users.noreply.github.com> Date: Sat, 18 Sep 2021 10:47:50 +0100 Subject: [PATCH] removes the passkey --- code/modules/integrated_electronics/subtypes/access.dm | 8 -------- 1 file changed, 8 deletions(-) diff --git a/code/modules/integrated_electronics/subtypes/access.dm b/code/modules/integrated_electronics/subtypes/access.dm index 3473d07004..037a9c7ba0 100644 --- a/code/modules/integrated_electronics/subtypes/access.dm +++ b/code/modules/integrated_electronics/subtypes/access.dm @@ -8,14 +8,11 @@ outputs = list( "registered name" = IC_PINTYPE_STRING, "assignment" = IC_PINTYPE_STRING, - "passkey" = IC_PINTYPE_STRING ) activators = list( "on read" = IC_PINTYPE_PULSE_OUT ) - var/cipherkey - /obj/item/integrated_circuit/input/card_reader/Initialize() cipherkey = uppertext(random_string(2000+rand(0,10), GLOB.alphabet)) // the same way SScircuit.cipherkey is generated ..() @@ -39,11 +36,6 @@ else return FALSE - set_pin_data(IC_OUTPUT, 3, passkey) - push_data() activate_pin(1) return TRUE - -/obj/item/integrated_circuit/input/card_reader/set_pin_data(pin_type, pin_number, datum/new_data) - cipherkey = uppertext(random_string(2000+rand(0,10), GLOB.alphabet)) // NEVER REUSE THE SAME KEY