Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected behavior of trezor-gpg-agent after trezorctl clear-session call #466

Open
hbs opened this issue Nov 26, 2023 · 0 comments
Open

Comments

@hbs
Copy link

hbs commented Nov 26, 2023

Using a trezor safe 3 with force input of passphrase on device.

Initialized a GnuPG key using trezor-gpg init with a passphrase on the device.

Set environment variable GNUPGHOME to ~/.gnupg/trezor.

When calling gpg -d or gpg -s the first time, the device will ask for the passphrase.

On subsequent calls, no passphrase is asked which is expected since it has already been entered.

But after calling trezorctl clear-session, the next call to gpg -d or gpg -s will ask for the PIN but not for the passphrase.

Is that an issue with trezorctl clear-session which doesn't correctly clear the passphrase?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant