diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-26 20:05:47 +0000 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-01-26 23:35:10 -0800 |
commit | ca45fd413e7c8af212a693d94dba0038d055bff8 (patch) | |
tree | bfe90d1c1581df96ed393e13648f6fc6452affcd /nitrokey-sys/libnitrokey-v3.4.1/libnitrokey/command_id.h | |
parent | 2809a90f3a790e3fc0a81ddac58f6de56e783cf2 (diff) | |
download | nitrocli-ca45fd413e7c8af212a693d94dba0038d055bff8.tar.gz nitrocli-ca45fd413e7c8af212a693d94dba0038d055bff8.tar.bz2 |
Add test for pws get after factory reset
The factory reset only clears the slot status. The slot content is
overwritten with random data. Therefore accessing a PWS slot after a
factory reset returns garbage data. We fixed this by always querying
the status before accessing the PWS. This patch adds a corresponding
test case.
Diffstat (limited to 'nitrokey-sys/libnitrokey-v3.4.1/libnitrokey/command_id.h')
0 files changed, 0 insertions, 0 deletions