diff options
author | Daniel Mueller <deso@posteo.net> | 2019-01-19 19:44:34 -0800 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-01-19 19:44:34 -0800 |
commit | b06d6ac43a12f928ce2a1d4b4d57f4d12de80b15 (patch) | |
tree | 1d99fcd83996dca02e274d4601c6a1c973785b79 /cc/src | |
parent | 0ab262382e9b7fd4c3f637cd831b6c1641846347 (diff) | |
download | nitrocli-b06d6ac43a12f928ce2a1d4b4d57f4d12de80b15.tar.gz nitrocli-b06d6ac43a12f928ce2a1d4b4d57f4d12de80b15.tar.bz2 |
Introduce PwdEntry struct implementing SecretEntry for passwords
With the required interface for secrets well defined, this change
introduces a second secret type in addition to PINs: passwords. Similar
to a PIN, a password can contain pretty arbitrary characters but
passwords can be retried repeatedly, whereas PINs cause a lockout after
a certain number of failed attempts.
Our first use case for passwords will be for hidden volumes. For those,
we do not want to gpg-agent to cache entries and so a password entry
indicates that it is not to be cached through the previously introduced
mechanism for optional caching.
Diffstat (limited to 'cc/src')
0 files changed, 0 insertions, 0 deletions