tadfisher / pass-otp

A pass extension for managing one-time-password (OTP) tokens
GNU General Public License v3.0
1.28k stars 85 forks source link

`pass init` fails with newest gnupg #147

Closed SMillerDev closed 2 years ago

SMillerDev commented 2 years ago

When running pass init on gnupg 2.3.3 on macOS htop-secret seems to fail. This is likely related to https://dev.gnupg.org/T5656

==> pass init Testing
Password store initialized for Testing
gpg: error reading symlink '/proc/curproc/file': No such file or directory
hotp-secret: passfile not found.
maksimyugai commented 2 years ago

The issue appears not only while pass init. It completely blocked using the pass.

~ ❯ pass -c amazon/aws.amazon.com gpg: error reading symlink '/proc/curproc/file': No such file or directory gpg: WARNING: server 'gpg-agent' is older than us (2.3.2 < 2.3.3) gpg: public key decryption failed: No pinentry gpg: decryption failed: No pinentry

Jberlinsky commented 2 years ago

I'm experiencing the same failure mode.

Jberlinsky commented 2 years ago

See https://github.com/Homebrew/homebrew-core/pull/87155#issuecomment-951350524 for a quick remediation option. Obviously not ideal, but it'll get affected folks back to a working state pending upstream fixes.

maksimyugai commented 2 years ago

Ok, it works after MacBook restarting. Just remained:

gpg: error reading symlink '/proc/curproc/file': No such file or directory

No blocking.

tadfisher commented 2 years ago

This should be raised upstream, otp just calls pass functions to do decryption.