diff options
author | Daniel Mueller <deso@posteo.net> | 2017-04-09 20:21:39 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2017-04-09 20:21:39 -0700 |
commit | a23c692dc38fe95b1a584663166fd3c9ed251326 (patch) | |
tree | 21f2a08703245b0022da01d7ab6cc312bacfb584 /libc/ci/docker/x86_64-linux-android | |
parent | f94d04578f44fc79212550203838f7c78e1ac414 (diff) | |
download | nitrocli-a23c692dc38fe95b1a584663166fd3c9ed251326.tar.gz nitrocli-a23c692dc38fe95b1a584663166fd3c9ed251326.tar.bz2 |
Detect wrong password during 'open' command
When a wrong password is entered when attempting to open the encrypted
volume the nitrokey will report that in the form of an error. In such a
case we should retry the operation after asking the user for the
corrected password.
This change implements this logic. Note that because we use gpg-agent
for the PIN inquiry and because it caches passwords by default we must
make sure to clear the cache before retrying.
Diffstat (limited to 'libc/ci/docker/x86_64-linux-android')
0 files changed, 0 insertions, 0 deletions