diff options
| author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-14 15:26:02 +0000 |
|---|---|---|
| committer | Robin Krahl <robin.krahl@ireas.org> | 2019-01-14 16:28:58 +0100 |
| commit | 0262ed2e614e9222b69970289a32ddb3683b3535 (patch) | |
| tree | 6fe55a9854e8c61daf7bdec9b636260aa2b92253 /tests/util | |
| parent | 6ea73f29daa5db0215663a0a38334b764863671d (diff) | |
| download | nitrokey-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 'tests/util')
0 files changed, 0 insertions, 0 deletions
