1
0
mirror of https://github.com/danog/tergent.git synced 2024-11-30 04:29:03 +01:00

Add information about user authentication validity

This commit is contained in:
Kaan Karaagacli 2018-10-04 01:15:48 -07:00
parent 37fdccb39a
commit 489593eb7a
No known key found for this signature in database
GPG Key ID: AC5AC44C642C454C

View File

@ -47,3 +47,7 @@ How do I...
* **delete a key**: use `termux-keystore delete` * **delete a key**: use `termux-keystore delete`
* **import a key**: not supported, generate a new key instead * **import a key**: not supported, generate a new key instead
Auto-locking
------------
tergent does not yet support locking the agent with a password.
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 "-u" flag while generating the keys, e.g. `termux-keystore generate myAlias -u 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.