<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nitrokey-rs, branch v0.4.0-alpha.3</title>
<subtitle>Rust interface to libnitrokey</subtitle>
<id>https://git.ireas.org/nitrokey-rs/atom?h=v0.4.0-alpha.3</id>
<link rel='self' href='https://git.ireas.org/nitrokey-rs/atom?h=v0.4.0-alpha.3'/>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/'/>
<updated>2019-07-16T08:41:13Z</updated>
<entry>
<title>Release v0.4.0-alpha.3</title>
<updated>2019-07-16T08:41:13Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-07-16T08:40:32Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=f150d59410eefdec2ae69b2422906a3d1d88aa07'/>
<id>urn:sha1:f150d59410eefdec2ae69b2422906a3d1d88aa07</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update the nitrokey-test dependency to version 0.3</title>
<updated>2019-07-16T08:38:57Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-07-16T08:36:50Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=5a0d9b44263caf38958080573cb0ae0e5d57f980'/>
<id>urn:sha1:5a0d9b44263caf38958080573cb0ae0e5d57f980</id>
<content type='text'>
Previously, we were using a development version of nitrokey-test that
was compatible with nitrokey 0.4.  This patch updates nitrokey-test to
version 0.3, which includes the required changes.
</content>
</entry>
<entry>
<title>Merge branch 'release-0.4.0-alpha.2' into next</title>
<updated>2019-07-15T06:23:25Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-07-15T06:23:25Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=8161edda54f39f1c8ac0f4cee7472a62ee6f5942'/>
<id>urn:sha1:8161edda54f39f1c8ac0f4cee7472a62ee6f5942</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Release v0.4.0-alpha.2</title>
<updated>2019-07-15T06:18:51Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-07-15T06:18:05Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=34efcfadf1436102e42144f710edabaa2c4b55cd'/>
<id>urn:sha1:34efcfadf1436102e42144f710edabaa2c4b55cd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Check retry count before building AES key in test</title>
<updated>2019-07-09T11:37:42Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-07-09T11:34:53Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=fe8161ba51d65382a20650a75f06e1cc7b753e68'/>
<id>urn:sha1:fe8161ba51d65382a20650a75f06e1cc7b753e68</id>
<content type='text'>
Due to a timing issue, some calls to the build_aes_key function may fail
after a factory reset.  As a workaround for this firmware bug, we check
the user retry count before building the aes key in the factory_reset
test.  For details, see the upstream issue:
	https://github.com/Nitrokey/nitrokey-pro-firmware/issues/57
</content>
</entry>
<entry>
<title>Use into_manager in device connection tests</title>
<updated>2019-07-09T11:07:52Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-07-09T11:03:01Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=a0ebd37765027121b85dfd6b78b453a50adc69c9'/>
<id>urn:sha1:a0ebd37765027121b85dfd6b78b453a50adc69c9</id>
<content type='text'>
To avoid a ConcurrentAccessError, we have to use the
Device::into_manager function instead of calling take to obtain a
Manager instance.
</content>
</entry>
<entry>
<title>Update nitrokey-test development version</title>
<updated>2019-07-09T10:55:30Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-07-09T10:51:55Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=4dc5b7e73ef348f18b4d2b032dc9a27059f4c47f'/>
<id>urn:sha1:4dc5b7e73ef348f18b4d2b032dc9a27059f4c47f</id>
<content type='text'>
This patch updates the nitrokey-test dependency to a new development
version that uses force_take instead of take to get a Manager instance.
If a test fails, the thread panics, leading to a poisoned cache – yet
this should not affect the other test cases.  Therefore we want to
ignore the poisoned caches.
</content>
</entry>
<entry>
<title>Add force_take function to ignore poisoned cache</title>
<updated>2019-07-09T10:47:26Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-07-09T10:44:45Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=5e8f0fbaf6df0cb919e4b02401cc21d5280bf09c'/>
<id>urn:sha1:5e8f0fbaf6df0cb919e4b02401cc21d5280bf09c</id>
<content type='text'>
The take and take_blocking functions return a PoisonError if the cache
is poisoned, i. e. if a thread panicked while holding the manager.  This
is a sensible default behaviour, but for example during testing, one
might want to ignore the poisoned cache.  This patch adds the force_take
function that unwraps the PoisonError and returns the cached Manager
even if the cache was poisoned.
</content>
</entry>
<entry>
<title>Remove allow(deprecated) attribute for in lib.rs</title>
<updated>2019-07-09T10:23:14Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-07-09T10:22:08Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=88b32f5c2187e59fece93cd245aeadb4e5f9e04a'/>
<id>urn:sha1:88b32f5c2187e59fece93cd245aeadb4e5f9e04a</id>
<content type='text'>
During the connection manager refactoring, we temporarily used
deprecated methods.  This is no longer the case, so we can remove the
allow(deprecated) attribute.
</content>
</entry>
<entry>
<title>Merge branch 'connection-manager-mut' into next</title>
<updated>2019-07-09T08:49:16Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-07-09T08:49:16Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=7ce751225f12c295c6e33dd46cfb5dcb88f8fbb3'/>
<id>urn:sha1:7ce751225f12c295c6e33dd46cfb5dcb88f8fbb3</id>
<content type='text'>
Refactor the connection management to prevent multiple device
connections at the same time.

RFC: https://lists.sr.ht/~ireas/nitrokey-rs-dev/%3C20190126174327.tbuyk2s535kfiqm4%40localhost%3E
</content>
</entry>
</feed>
