summaryrefslogtreecommitdiff
path: root/rand/src/rngs/adapter
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2017-04-09 20:53:54 -0700
committerDaniel Mueller <deso@posteo.net>2017-04-09 20:53:54 -0700
commit3ce72e0ce1a0442786bc2600a7f276ae1994d90e (patch)
tree3263b7bf43242520d421f7af14367d273e544f15 /rand/src/rngs/adapter
parent1e4a359f42e081851b98a12511ffe24968bfc6da (diff)
downloadnitrocli-3ce72e0ce1a0442786bc2600a7f276ae1994d90e.tar.gz
nitrocli-3ce72e0ce1a0442786bc2600a7f276ae1994d90e.tar.bz2
Wait until encrypted volume is opened/closed
Until now we treated any response but "ok" and "idle" to the encrypted volume opening command as an error and reported it. However, the opening process is a potentially long running and it is very likely that the nitrokey reports a couple of "busy" messages. This change implements the logic to wait until the nitrokey either reports an error or a successful open.
Diffstat (limited to 'rand/src/rngs/adapter')
0 files changed, 0 insertions, 0 deletions