aboutsummaryrefslogtreecommitdiff
path: root/libc/src/unix/notbsd/linux/other/b64/aarch64.rs
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-01-20 08:28:46 -0800
committerDaniel Mueller <deso@posteo.net>2019-01-20 08:28:46 -0800
commite106613dbd94bf0580b873da0ad3c3751e156f24 (patch)
tree565bef9eccef10b9d49ed02a50b3c36cd3c4505c /libc/src/unix/notbsd/linux/other/b64/aarch64.rs
parent01fb9e579de1c019ed718e04f9b592f2687f7040 (diff)
downloadnitrocli-e106613dbd94bf0580b873da0ad3c3751e156f24.tar.gz
nitrocli-e106613dbd94bf0580b873da0ad3c3751e156f24.tar.bz2
Make caching of secrets optional
Currently, when we enter a secret (i.e., a PIN) through the pinentry module, this PIN will automatically be cached and not asked from the user again on subsequent inquiries. However, caching may not always be desired. For the upcoming support of passwords used in conjunction with hidden volumes, we do not want any caching because different passwords can be entered for different volumes and the user's intention is not clear until a password has actually been entered. To accommodate this use case, this change modifies the signature of the SecretEntry trait's cache_id method to return an optional cache ID. If none is returned, caching of the entered secret is disabled.
Diffstat (limited to 'libc/src/unix/notbsd/linux/other/b64/aarch64.rs')
0 files changed, 0 insertions, 0 deletions