<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nitrokey-rs, branch v0.4.0-alpha.0</title>
<subtitle>Rust interface to libnitrokey</subtitle>
<id>https://git.ireas.org/nitrokey-rs/atom?h=v0.4.0-alpha.0</id>
<link rel='self' href='https://git.ireas.org/nitrokey-rs/atom?h=v0.4.0-alpha.0'/>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/'/>
<updated>2019-01-27T16:37:37Z</updated>
<entry>
<title>Release v0.4.0-alpha.0</title>
<updated>2019-01-27T16:37:37Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-27T16:37:37Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=d433189caefe6bd6c88da7fbb1d6e9304353eb83'/>
<id>urn:sha1:d433189caefe6bd6c88da7fbb1d6e9304353eb83</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update sources URL in build files</title>
<updated>2019-01-27T14:21:39Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-27T14:21:39Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=7402b99010458d7bc5d977e4e62a08132ef4a65e'/>
<id>urn:sha1:7402b99010458d7bc5d977e4e62a08132ef4a65e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add clippy to lint build</title>
<updated>2019-01-27T14:06:37Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-27T14:06:37Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=325161da3a3b6e391bdd83233e6705c5d266e65c'/>
<id>urn:sha1:325161da3a3b6e391bdd83233e6705c5d266e65c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use if instead of match for boolean expression</title>
<updated>2019-01-27T14:04:24Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-27T14:04:24Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=41a2303ad06f409cb932cf570ff6cc04dd6692fe'/>
<id>urn:sha1:41a2303ad06f409cb932cf570ff6cc04dd6692fe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace or with or_else in get_cstring</title>
<updated>2019-01-27T13:42:12Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-27T13:42:12Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=3cab3525e9c0bd743aa419d286de38d346776fbd'/>
<id>urn:sha1:3cab3525e9c0bd743aa419d286de38d346776fbd</id>
<content type='text'>
To avoid unnecessary function calls, we replace the or with an or_else
in get_cstring.
</content>
</entry>
<entry>
<title>Remove the static lifetime modifier from constants</title>
<updated>2019-01-27T13:38:16Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-27T13:38:16Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=e311ee31b819092a119fa24930ab5777d3c4fd71'/>
<id>urn:sha1:e311ee31b819092a119fa24930ab5777d3c4fd71</id>
<content type='text'>
The DEFAULT_{ADMIN,USER}_PIN constants implicitly have static lifetime.
Therefore we can remove the static lifetime modifiers.
</content>
</entry>
<entry>
<title>Rename Error::Unknown to Error::UnknownError</title>
<updated>2019-01-27T13:38:07Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-27T13:36:13Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=33a65c1635e54ae51089ef3c37a749d67853be02'/>
<id>urn:sha1:33a65c1635e54ae51089ef3c37a749d67853be02</id>
<content type='text'>
For consistency with the other Error variants, we rename Unknown to
UnknownError.
</content>
</entry>
<entry>
<title>Remove the Result typedef</title>
<updated>2019-01-27T13:31:36Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-27T13:31:36Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=a30562638aed90d113739bb36dd6814f6cf7ace2'/>
<id>urn:sha1:a30562638aed90d113739bb36dd6814f6cf7ace2</id>
<content type='text'>
Many of our functions do not return a Result&lt;_, Error&gt;, but for example
a Result&lt;_, (Device, Error)&gt;.  We only use the typedef in one function,
but it makes the other functions more complicated as we have to use
result::Result (if crate::Result is imported).  Therefore, this patch
removes the typedef.  Applications or libraries can still redefine it if
they want to.
</content>
</entry>
<entry>
<title>Remove triggers from build scripts</title>
<updated>2019-01-25T19:25:42Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-25T19:25:42Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=04220982d4808c402b1a5cdda2b83e81f099a1ad'/>
<id>urn:sha1:04220982d4808c402b1a5cdda2b83e81f099a1ad</id>
<content type='text'>
I changed the build setup so that the trigger is determined by the
branch being pushed to.  Therefore the triggers in the build scripts are
no longer needed and removed in this patch.
</content>
</entry>
<entry>
<title>Add tolerance for timing issues to the TOTP tests</title>
<updated>2019-01-25T19:22:28Z</updated>
<author>
<name>Robin Krahl</name>
<email>robin.krahl@ireas.org</email>
</author>
<published>2019-01-25T19:19:36Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/nitrokey-rs/commit/?id=6dfc1a2929313e24ea03e78b486b72f7b1c1e5ec'/>
<id>urn:sha1:6dfc1a2929313e24ea03e78b486b72f7b1c1e5ec</id>
<content type='text'>
The TOTP test with the timestamp 59 often fails as the Nitrokey’s clock
ticks between setting the time and generating the TOTP code.  This patch
also allows the TOTP code for timestamp 60 for this test case.
</content>
</entry>
</feed>
