|
|
|
|
|
by pmahoney
366 days ago
|
|
Just to add, 'pass' has an otp extension to simplify this a bit [1] With that, you can do $ zbarimg -q --raw qrcode.png | pass otp insert <some-name>
$ pass otp <some-name> # or pipe to xsel
[1] https://github.com/tadfisher/pass-otp |
|
Although the nice thing about CLI workflows is that I can easily run it by SSHing into my phone (just make sure you set up GPG so the passphrase prompt will appear in your terminal, and not as a popup on the phone!)