3 ms·
I hardly ever use my phone for 2FA. I have a 5 line Python script using pyotp to create my codes on all my computers. Admittedly if a skilled hacker breaks in
by usr1106 6y ago
I hardly ever use my phone for 2FA. I have a 5 line Python script using pyotp to create my codes on all my computers.
Admittedly if a skilled hacker breaks in into my computer they could recognize what the script does and misuse it. But at least no scripted attack should ever look for it. It's not on github because my seeds are hard-coded and there is not much to generalize.
- graton 6y agoYou could also use a Yubikey to store up to 32 TOTP codes on it. One benefit is that you can set it up to require a touch to generate the code.
- usr1106 6y agoAgain, like with the phone, I would always need to take it out the pocket. Which is inconvenient if the pants are in the bedroom but I am not. Or I have a different pair of pants and the contents of the pockets hasn't got swapped.
- graton 6y agoAh. I actually leave my Yubikeys plugged into my computers. I use the Yubikey Nano. I have a USB-C version in my laptop and a standard USB version in my desktop PC.