-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add support for cached UIF #106
Comments
hit this today. Is there any way I can help to implement this? |
For this use case it seems pretty necessary to have a way to avoid repeated user confirmation. This is only a temporary cache. It's not standard so we have some leeway regarding how we would implement it. Touch confirmation is not enabled by default and can be disabled (unless it was set to permanently enabled), is there a specific reason that disabling UIF and re-enabling after having signed all the packages is not an option? |
I think my fav. option (and I'm unsure if this is possible) is to have away for the cache to work on child processes of the process that triggered the cache. |
My understanding is that it is possible to know clear the cache if the process that uses the device changes when using This would require having an cache UIF setting with unlimited duration for a given session. Since the UIF configuration mechanism in the standard does not give a good way to configure such a timing this would have to be the only option, and I don't like the idea of having a user interaction cache that last infinitely. Maybe we could add a custom extension command that gives you an option to validate user presence for a given number checks in advance. These "buffered" checks could be discarded if the process connecting changes. |
The OpenPGP 3.4.1 spec reserves two UIF flags for a cached mode (03 and 04, see § 4.4.1). We should consider implementing this mode.
AFAIK only Yubikeys implement this at the moment:
The text was updated successfully, but these errors were encountered: