News for hackers. Stuff that matters.
Re:Simple Password Management with GPG by sooheon on Sunday November 29, 2020 @10:52PM (#25250564)
The only thing this is missing is OTP generation. 1Password does this for me, I don't know of any open source toolchain that makes this simple.
Re:Simple Password Management with GPG by war1025 on Sunday November 29, 2020 @11:38PM (#25250787)
I think `pass` has an official extension to handle OTP, but here is how I do it:

  #/bin/bash

  clip $(oathtool -b --totp "$(pass show otp/$1 | head -n 1)")

Basically there is a really handy utility called `oathtool` you can install that has all the one time password logic built into it.

Then in my `pass` store I have a `otp` folder where I put the codes for my different services.

So to get the OTP code for paypal for example, I do this:

   pass otp paypal
And then the code is copied to my clipboard and I can just paste it.
Re:Simple Password Management with GPG by gitweb on Sunday November 29, 2020 @11:51PM (#25250837)
Pass already has OTP. It is usually in the pass-otp package, both the Android app and the browser extensions support it as well.
Re:Simple Password Management with GPG by AnonHP on Sunday November 29, 2020 @10:56PM (#25250585)
Bitwarden does TOTP generation and is open source (also has a CLI tool), but I do not know if it would fit your use cases and needs.
Re:Simple Password Management with GPG by samb1729 on Sunday November 29, 2020 @11:12PM (#25250653)
gopass[0] is more or less a superset of pass written in Go that will do this for you. I’ve been using it for a few years syncing between iOS and macOS with no issues.

[0]: https://github.com/gopasspw/gopass