<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nitrokey-rs/src, branch v0.3.2</title>
<subtitle>Rust interface to libnitrokey</subtitle>
<id>https://git.ireas.org/nitrokey-rs/atom?h=v0.3.2</id>
<link rel='self' href='https://git.ireas.org/nitrokey-rs/atom?h=v0.3.2'/>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/'/>
<updated>2019-01-12T17:39:10Z</updated>
<entry>
<title>Add export_firmware method to Storage</title>
<updated>2019-01-12T17:39:10Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-12T17:37:21Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=78f926456a07047c34dc20b97fe04e55ba443528'/>
<id>urn:sha1:78f926456a07047c34dc20b97fe04e55ba443528</id>
<content type='text'>
The export_firmware method writes the firmware of the Nitrokey Storage
to the unencrypted storage.  We only test that the command succeeds as
mounting the unencrypted storage and accessing the file is out of scope
for the tests.
</content>
</entry>
<entry>
<title>Add set_unencrypted_volume_mode to Storage</title>
<updated>2019-01-12T17:16:39Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-12T16:51:47Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=0ee7ef7705ebfc0d419bba9a61db55fccd14b638'/>
<id>urn:sha1:0ee7ef7705ebfc0d419bba9a61db55fccd14b638</id>
<content type='text'>
The new set_unencrypted_volume_mode method sets the access mode of the
unencrypted volume on the Nitrokey Storage.  Depending on the requested
access mode, it calls either NK_set_unencrypted_read_only_admin or
NK_set_unencrypted_read_write_admin.

Note that this function requires firmware version 0.51 or later.
(Earlier firmware versions used the user PIN.)
</content>
</entry>
<entry>
<title>Introduce VolumeMode enum in device</title>
<updated>2019-01-12T17:15:43Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-12T15:30:54Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=9d962e6f16d059fb0ed58e278513a311189772bb'/>
<id>urn:sha1:9d962e6f16d059fb0ed58e278513a311189772bb</id>
<content type='text'>
The VolumeMode enum will be used when setting the access mode for the
unencrypted volume.  It can also be used when refactoring the
VolumeStatus enum in a future release.
</content>
</entry>
<entry>
<title>Fix formatting in get_library_version</title>
<updated>2019-01-12T15:03:16Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-12T14:53:51Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=d70e102be6a84ab23a95e2099571bf21fc6c19a5'/>
<id>urn:sha1:d70e102be6a84ab23a95e2099571bf21fc6c19a5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add the wink method to the Storage struct</title>
<updated>2019-01-11T13:54:54Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-11T13:51:04Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=def4c3cc3cdffc966eeca3b58605da0e7fe12cca'/>
<id>urn:sha1:def4c3cc3cdffc966eeca3b58605da0e7fe12cca</id>
<content type='text'>
This patch adds the wink method to the Storage struct that lets the
Nitrokey device blink until reconnected.  We do not test this method as
it does not change the state that we can observe.
</content>
</entry>
<entry>
<title>Add the get_library_version function</title>
<updated>2019-01-11T13:32:01Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-11T13:30:39Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=d2f9e204aacc13c6205a3d0f1022d4fd17073a7b'/>
<id>urn:sha1:d2f9e204aacc13c6205a3d0f1022d4fd17073a7b</id>
<content type='text'>
This patch adds the get_library_version function to the main library
module that queries and returns the libnitrokey version.  As the version
fields are static values, we fetch them all at the same time and do not
provide getters for the individual fields.
</content>
</entry>
<entry>
<title>Make three more error codes known</title>
<updated>2019-01-09T14:42:30Z</updated>
<author>
<name>Daniel Mueller</name>
<email>deso@posteo.net</email>
</author>
<published>2019-01-09T03:45:45Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=0f157082bb75d08ad4fd9bfd1cdf6646fb374c3f'/>
<id>urn:sha1:0f157082bb75d08ad4fd9bfd1cdf6646fb374c3f</id>
<content type='text'>
Three more error codes are defined in libnitrokey but currently reported
as the CommandError::Unknown variant:
  200: representing a string that exceeds a limit
  202: indicating a string that is not in hexadecimal format when it
       should be
  203: suggesting that the target buffer is smaller than the source
       buffer and, hence, too small
This change introduces the CommandError variants StringTooLong,
InvalidHexString and TargetBufferTooSmall, respectively, representing
those errors.
</content>
</entry>
<entry>
<title>Add the connect_model function</title>
<updated>2019-01-06T23:29:52Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-06T23:27:06Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=3fab663891d42cfe317125650394c9560639b60c'/>
<id>urn:sha1:3fab663891d42cfe317125650394c9560639b60c</id>
<content type='text'>
This patch adds the global connect_model function that can be used to
connect to a Nitrokey device of a given model.  Contrary to Pro::connect
and Storage::connect, the model does not have to be set at compile time.
</content>
</entry>
<entry>
<title>Rename device::connect_model to device::connect_enum</title>
<updated>2019-01-06T23:29:37Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-06T23:17:59Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=d44f8be7c038bc499b36aa502f4939f41ebebfbf'/>
<id>urn:sha1:d44f8be7c038bc499b36aa502f4939f41ebebfbf</id>
<content type='text'>
connect_model will be used for a public function with the next patch.
</content>
</entry>
<entry>
<title>Document the Undefined error for the connect methods</title>
<updated>2019-01-06T23:29:21Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-06T23:16:52Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=9015fcd2593467af128ca4114c3ff02952d1c93b'/>
<id>urn:sha1:9015fcd2593467af128ca4114c3ff02952d1c93b</id>
<content type='text'>
</content>
</entry>
</feed>
