On Sun, Aug 04, 2024 at 09:19:33PM +0200, Detlef Vollmann wrote: [...]
> I also use oathtool, but with an encrypted key: > > gpg --decrypt --quiet key.asc | oathtool -b --totp - Thanks for posting the "correct" way. Yes, this way your secret is secure when "at rest". > > Xclip (from the same-named package) puts the result in some X selection > > (here I use the clipboard, because the result is going to the browser, > > and those are too stupid to handle other X selections gracefully). > > Copy via double-click and paste via single click works fine > here (for Firefox and Chromium) in X via SSH (the browsers > run inside an LXC container). The xclip part just saves me the clickery. I'm very keyboard-centric. So I just give the browser the focus and CTRL-V (provided the @&%$* Javascript "application" gives the focus to the field whithin the browser). I'm still missing some moving parts, then I plan to put that into a WM hotkey. Cheers -- t
signature.asc
Description: PGP signature