passforios icon indicating copy to clipboard operation
passforios copied to clipboard

Allow remembering passphrase for a given amount of time.

Open dieggsy opened this issue 8 years ago • 7 comments

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.

dieggsy avatar Jun 22 '17 17:06 dieggsy

Thank you, this is a very good suggestion. We are working on some basic features right now. Will consider this in the near future.

mssun avatar Jun 22 '17 22:06 mssun

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?

yishilin14 avatar Jun 26 '17 10:06 yishilin14

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.

asymmetric avatar Jun 26 '17 10:06 asymmetric

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.

yishilin14 avatar Jun 26 '17 10:06 yishilin14

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.

yishilin14 avatar Jun 26 '17 10:06 yishilin14

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.

goerz avatar Oct 09 '17 16:10 goerz

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.

Folling avatar Mar 23 '23 21:03 Folling