4 ms·
Huh, have you heard of the popular pass(1) extension pass-opt[1]? It allows one to get OTP secrets via a simple: pass otp secretname # Add -c for clipboard,
by FrenchyJiby 4y ago
Huh, have you heard of the popular pass(1) extension pass-opt[1]?
It allows one to get OTP secrets via a simple:
pass otp secretname # Add -c for clipboard, as usual
And because the OTP side is just a otpauth:// URL on a line of the GPG file, we can still use the rest of the secret for other things:
pass secretname -c
Real smooth!
[1]: https://github.com/tadfisher/pass-otp https://github.com/tadfisher/pass-otp