aboutsummaryrefslogtreecommitdiff
path: root/src/otp.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-01-14 15:26:02 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-01-14 16:28:58 +0100
commit0262ed2e614e9222b69970289a32ddb3683b3535 (patch)
tree6fe55a9854e8c61daf7bdec9b636260aa2b92253 /src/otp.rs
parent6ea73f29daa5db0215663a0a38334b764863671d (diff)
downloadnitrokey-rs-0262ed2e614e9222b69970289a32ddb3683b3535.tar.gz
nitrokey-rs-0262ed2e614e9222b69970289a32ddb3683b3535.tar.bz2
Add the get_production_info method to the Storage struct
The get_production_info method maps to the NK_get_production_info function of libnitrokey. The Storage firmware supports two query modes: with or without a write test. libnitrokey only performs the query without write test, so the fields that are only set for the write test are ignored in our implementation. This affects: - user and admin retry counts - smart card ID - SD card size
Diffstat (limited to 'src/otp.rs')
0 files changed, 0 insertions, 0 deletions