maxgoedjen / secretive

Store SSH keys in the Secure Enclave
MIT License
7.24k stars 159 forks source link

Unlock window validity expires after ~5m #271

Closed maxgoedjen closed 2 years ago

maxgoedjen commented 2 years ago
image

Doesn't appear to be an issue with the tracking/invalidation on our side.

LATouchIDAuthenticationMaximumAllowableReuseDuration does evaluate to 300... which matches the "after 5 minutes" behavior mentioned in #251. Possible that's the maximum duration allowable, which would be a bummer.

maxgoedjen commented 2 years ago

It does appear that I can set the limit for the context beyond that value... I'm not sure if it'll be respected though. Giving it a shot.

maxgoedjen commented 2 years ago

https://github.com/maxgoedjen/secretive/pull/272 seems like it MIGHT do the trick (with the caveat that if your Mac locks, then you need to re-auth). Need to do a bit more testing.