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

Locking doesn't have any effect on password manager #134

Closed
aardbol opened this issue Nov 29, 2020 · 6 comments
Closed

Locking doesn't have any effect on password manager #134

aardbol opened this issue Nov 29, 2020 · 6 comments

Comments

@aardbol
Copy link

aardbol commented Nov 29, 2020

Trying to retrieve a password prompts for the user PIN. Entering the right one opens the password vault. But triggering nitrocli lock after that doesn't lock the password vault.

Device: Nitrokey Pro 2

@d-e-s-o
Copy link
Owner

d-e-s-o commented Nov 29, 2020

What exactly do you mean by password vault? Is that an OS construct? Or are you referring to Nitrokey's password safe? Can you please provide steps to reproduce if it's the latter?

@robinkrahl
Copy link
Collaborator

robinkrahl commented Nov 29, 2020 via email

@aardbol
Copy link
Author

aardbol commented Nov 29, 2020

You are right. It is properly locked after verifying it with your instructions.

For how long is the PIN cache valid? Is there any way to manipulate the lifetime of the cache instead of disabling it?

Aside from that, it would also be useful to be able to set the PIN from stdin

@robinkrahl
Copy link
Collaborator

robinkrahl commented Nov 29, 2020 via email

@d-e-s-o
Copy link
Owner

d-e-s-o commented Nov 29, 2020

Just to add to what Robin said, you can also set these configurations through the gpg-agent(1) configuration file (e.g., in ~/.gnupg/gpg-agent.conf):

# invalidate entries after 30s
default-cache-ttl 30
max-cache-ttl 30

@d-e-s-o
Copy link
Owner

d-e-s-o commented Nov 30, 2020

I take it that everything got clarified here and we can close the issue. Feel free to reopen or follow up if something is still unclear or broken.

@d-e-s-o d-e-s-o closed this as completed Nov 30, 2020
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

3 participants