<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nitrokey-rs/src, branch v0.3.0</title>
<subtitle>Rust interface to libnitrokey</subtitle>
<id>https://git.ireas.org/nitrokey-rs/atom?h=v0.3.0</id>
<link rel='self' href='https://git.ireas.org/nitrokey-rs/atom?h=v0.3.0'/>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/'/>
<updated>2019-01-03T23:51:00Z</updated>
<entry>
<title>Update documentation and test for factory_reset</title>
<updated>2019-01-03T23:51:00Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-03T23:48:22Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=c5d5ab12ab8ca6b9889550f050b859b76fa4bdd7'/>
<id>urn:sha1:c5d5ab12ab8ca6b9889550f050b859b76fa4bdd7</id>
<content type='text'>
Contrary to my previous beliefs, build_aes_key has to be called even
after a factory reset using the Nitrokey API.  This patch updates the
documentation and the unit tests based on this insight.
</content>
</entry>
<entry>
<title>Fix documentation test for Storage::change_update_pin</title>
<updated>2019-01-03T23:50:33Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-03T23:44:43Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=7b4c1f73be9d430ebff698794a482d0a374b8dc9'/>
<id>urn:sha1:7b4c1f73be9d430ebff698794a482d0a374b8dc9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add Storage::enable_firmware_update method</title>
<updated>2019-01-03T22:26:45Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-03T22:24:51Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=a02623db10c13d03ae889fd37078e467fe62406f'/>
<id>urn:sha1:a02623db10c13d03ae889fd37078e467fe62406f</id>
<content type='text'>
This patch adds the enable_firmware_update method to the Storage struct
that uses NK_enable_firmware_update to put the Nitrokey Storage into
update mode.  This method is not tested as external tooling is required
to resume normal operation and as it is hard to bail out if an error
occurs.
</content>
</entry>
<entry>
<title>Add Device::build_aes_key method</title>
<updated>2019-01-03T17:06:30Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-03T17:04:50Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=616f84c13a4e676d3e2f870533fb1b8778c5f614'/>
<id>urn:sha1:616f84c13a4e676d3e2f870533fb1b8778c5f614</id>
<content type='text'>
This patch adds the build_aes_key method to the Device trait that uses
the NK_build_aes_key function to build new AES keys on the device.  This
effectively resets the password safe and the encrypted storage.  It is
unclear whether other data (e. g. the one-time passwords) are affected
too.
</content>
</entry>
<entry>
<title>Add Device::factory_reset method</title>
<updated>2019-01-03T13:53:06Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-03T13:50:15Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=0a7a62c9af15b11e5dbfad1900ac89924457b272'/>
<id>urn:sha1:0a7a62c9af15b11e5dbfad1900ac89924457b272</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Add Storage::change_update_pin method</title>
<updated>2019-01-03T12:17:54Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-03T12:16:21Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=d60e03b46a6af75056f07394ef66ecaa35f32d77'/>
<id>urn:sha1:d60e03b46a6af75056f07394ef66ecaa35f32d77</id>
<content type='text'>
This patch adds the change_update_pin method to the Storage struct that
uses the NK_change_update_password function to set the password required
for firmware updates.
</content>
</entry>
<entry>
<title>Document decryption failure for get_password_safe</title>
<updated>2019-01-03T10:45:17Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-03T10:45:17Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=1061005a82ed0ba6ad5c48322e704f786bd802ab'/>
<id>urn:sha1:1061005a82ed0ba6ad5c48322e704f786bd802ab</id>
<content type='text'>
After a factory reset, the password safe cannot be accessed as its
secret cannot be decrypted.  This patch improves the documentation for
GetPasswordSafe::get_password_safe to reflect this behavior.
</content>
</entry>
<entry>
<title>Update documentation for pws methods</title>
<updated>2019-01-03T01:33:12Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-03T01:33:12Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=3a885bf34416f0b337398b94f6babceb4de1b661'/>
<id>urn:sha1:3a885bf34416f0b337398b94f6babceb4de1b661</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Preserve unknown error code values</title>
<updated>2019-01-03T01:12:17Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2019-01-02T23:53:18Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=65ead1426e1e9864b7e245fd729a66e689e549b4'/>
<id>urn:sha1:65ead1426e1e9864b7e245fd729a66e689e549b4</id>
<content type='text'>
The CommandError::Unknown variant, which is used whenever a reported
error code is not known, makes it close to impossible to determine the
root cause of, say, a one-off error, because all information explaining
what went wrong is discarded.
With this change we adjust the Unknown variant to include the error
report. In addition, we introduce a new CommandError variant, Undefined,
that is used when no error code is available.
</content>
</entry>
<entry>
<title>Fix typo: occured -&gt; occurred</title>
<updated>2019-01-03T00:58:59Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2019-01-02T23:48:45Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=60a976fb7f721b800ba145a9bd5b416c6d3de834'/>
<id>urn:sha1:60a976fb7f721b800ba145a9bd5b416c6d3de834</id>
<content type='text'>
</content>
</entry>
</feed>
