Automating Lockly Card Provisioning at Scale
After writing up how to use generic MIFARE cards with Lockly locks, I had 30 cards sitting on my desk that needed provisioning. The manual process would have taken about 30 minutes of copying and pasting Proxmark3 commands. Instead, I spent an hour and a half writing a script to do it in 6 minutes. Laziness prevails. The Problem The manual approach works fine for one or two cards. You run hf mf autopwn to recover the key from your original Lockly card, then write that key to Sector 0 of each generic card using two hf mf wrbl commands. With copy-paste, maybe a minute per card. ...