summaryrefslogtreecommitdiff
path: root/nitrokey/src/device.rs
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-01-19 19:04:35 -0800
committerDaniel Mueller <deso@posteo.net>2019-01-19 19:04:35 -0800
commit50b4c6bf1bc69ca669593d9d925324e3522651dd (patch)
tree7e410c7f98c1471917104505aa027b482fa7b9a9 /nitrokey/src/device.rs
parentb637dd7b4e2e8fccdfe212eb3e94bd5e2f6cd09e (diff)
downloadnitrocli-50b4c6bf1bc69ca669593d9d925324e3522651dd.tar.gz
nitrocli-50b4c6bf1bc69ca669593d9d925324e3522651dd.tar.bz2
Move PIN choosing functionality into pinentry module
The functionality we have in place for choosing a PIN can arguably be moved into the pinentry module: it can be considered logic directly related to working with PINs or secrets and that has no dependencies to unrelated modules of the program. This patch moves the choose_pin and check_pin functions into the pinentry module.
Diffstat (limited to 'nitrokey/src/device.rs')
0 files changed, 0 insertions, 0 deletions