passforios
passforios copied to clipboard
Allow remembering passphrase for a given amount of time.
Right now remembering the passphrase is either on or off, but it would be nice to have the option to remember it for, say, 15 mins, 30 mins, 1 hr etc. (Or even an input-able amount of time?) This would be similar to the behavior of using pass with gpg-agent as well as some other password managers.
Thank you, this is a very good suggestion. We are working on some basic features right now. Will consider this in the near future.
I have been thinking about this. Suppose a user decides to remember the passphrase for x minutes (update: gpg passphrase). There are two different ways to implement this feature with the same user experience.
- The app clears the passphrase from its "memory" after x minutes. I don't know how to do so elegantly.
- When a passphrase is needed, the app checks whether the previous passphrase has "expired". If so, the app requests for user's input.
Is the second way the right way to implement this feature?
Is this related to the passphrase being removed from the clipboard after an interval? If not, I'll open a separate issue.
If yes, I think the same callback that does that could also "delete" the passphrase from the app's memory.
Currently, the copied password is removed from the clipboard after 45s, we do not plan to provide an option for customizing that time interval.
This issue is about remembering the gpg passphrase.
Oh I get it, did you mean that the same callback that we use to remove the copied password could be used to clear the remembered gpg passphrase? Sounds doable.
Either way to implement this should be fine. If the second one is easier, I'd go with that. It would definitely be a welcome feature.
I would like to second this feature. Although the FaceID support does add a decent amount of security already, it'd be great if you could configure this.