1
0
mirror of https://github.com/danog/tergent.git synced 2024-11-29 20:19:06 +01:00

Add an alternative way to unlock keys

This commit is contained in:
Kaan Karaagacli 2020-08-12 20:21:38 -07:00
parent 96934fe38f
commit d4b25663d7
No known key found for this signature in database
GPG Key ID: AC5AC44C642C454C

View File

@ -76,3 +76,5 @@ Auto-locking
------------
tergent does not provide password protected sessions yet.
However, Android [provides a mechanism](https://developer.android.com/training/articles/keystore#UserAuthentication) to automatically lock the keys after a specified time has passed since the last device unlock. To take advantage of this feature, use the flag while generating the keys, e.g. `--ei validity 10` for a 10-second lock. In this case, the keys are usable only for 10 seconds after the phone is unlocked. To unlock the keys after this time has passed, simply re-lock and unlock your device again.
Alternatively, you can invoke a biometric prompt (fingerprint or face unlock) which might also reset this timer depending on your device. termux includes the `termux-fingerprint` command which can be used for this purpose.