News for hackers. Stuff that matters.
Re:PyPI now offers two-factor auth by StavrosK on Thursday May 30, 2019 @05:08PM (#20055932)
This is the most convenient way, yes. In the mean time, I'm looking for a Linux utility that can scan QR codes, because I've come across this problem a lot.
Re:PyPI now offers two-factor auth by a_plan on Thursday May 30, 2019 @06:16PM (#20056495)
There are non-complex python libraries on pypi that can be brought to bear on the problem. With some light glue code: https://gist.github.com/iiie/33314479f2d84db9285c4e3e0921de0...
Re:PyPI now offers two-factor auth by scrollaway on Thursday May 30, 2019 @05:12PM (#20055968)
zbarimg: http://manpages.ubuntu.com/manpages/bionic/man1/zbarimg.1.ht...

1Password X extension also has a builtin QR Code Scanner.

Re:PyPI now offers two-factor auth by StavrosK on Thursday May 30, 2019 @05:39PM (#20056163)
Ah, thank you! This works well:

import -window root -pause 1 /tmp/zbarqrcodescan.png && zbarimg -q /tmp/zbarqrcodescan.png | xsel -b