diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-03 13:50:15 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-01-03 14:53:06 +0100 |
commit | 0a7a62c9af15b11e5dbfad1900ac89924457b272 (patch) | |
tree | e77735813562d284ce617663016cb2319f6276e2 /Cargo.toml | |
parent | d60e03b46a6af75056f07394ef66ecaa35f32d77 (diff) | |
download | nitrokey-rs-0a7a62c9af15b11e5dbfad1900ac89924457b272.tar.gz nitrokey-rs-0a7a62c9af15b11e5dbfad1900ac89924457b272.tar.bz2 |
Add Device::factory_reset method
This patch adds the factory_reset_method to the Device trait that uses
the NK_factory_reset function to perform a factory reset. The tests
verify that the user and admin PIN are reset and that the OTP storage
and the password safe are deleted.
Diffstat (limited to 'Cargo.toml')
0 files changed, 0 insertions, 0 deletions