<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/libnitrokey/unittest, branch pr_116</title>
<subtitle>Communicate with Nitrokey devices in a clean and easy manner (GitHub mirror)
</subtitle>
<id>https://git.ireas.org/mirrors/libnitrokey/atom?h=pr_116</id>
<link rel='self' href='https://git.ireas.org/mirrors/libnitrokey/atom?h=pr_116'/>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/libnitrokey/'/>
<updated>2018-06-20T10:03:28Z</updated>
<entry>
<title>Replace *out function parameter with return value</title>
<updated>2018-06-20T10:03:28Z</updated>
<author>
<name>Szczepan Zalega</name>
<email>szczepan@nitrokey.com</email>
</author>
<published>2018-06-20T10:03:28Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/libnitrokey/commit/?id=f0f1691bc741da48bc2e1adfa4535026ae42d6d3'/>
<id>urn:sha1:f0f1691bc741da48bc2e1adfa4535026ae42d6d3</id>
<content type='text'>
Using return value instead of memory manipulation seem to be cleaner solution and less error prone
due to avoiding pointer usage.

Signed-off-by: Szczepan Zalega &lt;szczepan@nitrokey.com&gt;
</content>
</entry>
<entry>
<title>Expose device model in C API</title>
<updated>2018-05-24T22:15:40Z</updated>
<author>
<name>Robin Krahl</name>
<email>me@robin-krahl.de</email>
</author>
<published>2018-05-24T22:15:40Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/libnitrokey/commit/?id=6e44c2b11bd1be9e080f1179283c49f9bb8955a5'/>
<id>urn:sha1:6e44c2b11bd1be9e080f1179283c49f9bb8955a5</id>
<content type='text'>
The C++ API already provides access to the model of the connected device
in NitrokeyManager::get_connected_device_model().  This patch also
exposes this information in the C API by adding NK_get_device_model.  As
there might be no device connected, the function returns a boolean
indicating the connection status and writes the model of the connected
device to a pointer passed as an argument.
</content>
</entry>
<entry>
<title>Implement suggested tests</title>
<updated>2018-04-19T12:59:50Z</updated>
<author>
<name>Szczepan Zalega</name>
<email>szczepan@nitrokey.com</email>
</author>
<published>2018-04-19T12:59:50Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/libnitrokey/commit/?id=d2db195bbe73044681cd6b1ca242de23c57ea917'/>
<id>urn:sha1:d2db195bbe73044681cd6b1ca242de23c57ea917</id>
<content type='text'>
Signed-off-by: Szczepan Zalega &lt;szczepan@nitrokey.com&gt;
</content>
</entry>
<entry>
<title>Fix compilation warnings for tests</title>
<updated>2018-04-19T10:11:09Z</updated>
<author>
<name>Szczepan Zalega</name>
<email>szczepan@nitrokey.com</email>
</author>
<published>2018-04-19T09:59:12Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/libnitrokey/commit/?id=bc4e9c7bcfd7d7b3f62b23e583ef216a05975e80'/>
<id>urn:sha1:bc4e9c7bcfd7d7b3f62b23e583ef216a05975e80</id>
<content type='text'>
Cleanup CMakeList a bit as well.
Fixes #97

Signed-off-by: Szczepan Zalega &lt;szczepan@nitrokey.com&gt;
</content>
</entry>
<entry>
<title>Tests: skip reading custom-type based function header</title>
<updated>2018-04-10T07:30:32Z</updated>
<author>
<name>Szczepan Zalega</name>
<email>szczepan@nitrokey.com</email>
</author>
<published>2018-04-10T07:30:32Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/libnitrokey/commit/?id=53599e95a5f0f1d9fed18c9b4418e6f506f5a973'/>
<id>urn:sha1:53599e95a5f0f1d9fed18c9b4418e6f506f5a973</id>
<content type='text'>
Signed-off-by: Szczepan Zalega &lt;szczepan@nitrokey.com&gt;
</content>
</entry>
<entry>
<title>Null-terminate the argument for strtoul</title>
<updated>2018-04-10T05:58:32Z</updated>
<author>
<name>Robin Krahl</name>
<email>me@robin-krahl.de</email>
</author>
<published>2018-04-04T13:06:03Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/libnitrokey/commit/?id=2f7b58abcee6ef32a927b3bd43070bbea205656b'/>
<id>urn:sha1:2f7b58abcee6ef32a927b3bd43070bbea205656b</id>
<content type='text'>
As discussed in issue #95, the buffer passed to strtoul must be
null-terminated.  This patch null-terminates the buffer used in
hexStringToByte in the test_HOTP unit test to avoid a buffer over-read.
</content>
</entry>
<entry>
<title>Add missing licenses</title>
<updated>2018-03-13T07:57:13Z</updated>
<author>
<name>Szczepan Zalega</name>
<email>szczepan@nitrokey.com</email>
</author>
<published>2018-03-13T07:52:51Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/libnitrokey/commit/?id=22a2e94a482f32415c8e130b64be58f090c52ac5'/>
<id>urn:sha1:22a2e94a482f32415c8e130b64be58f090c52ac5</id>
<content type='text'>
Signed-off-by: Szczepan Zalega &lt;szczepan@nitrokey.com&gt;
</content>
</entry>
<entry>
<title>Correct firmware version getting in Pro tests</title>
<updated>2018-03-02T10:13:08Z</updated>
<author>
<name>Szczepan Zalega</name>
<email>szczepan@nitrokey.com</email>
</author>
<published>2018-03-01T18:41:35Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/libnitrokey/commit/?id=c3d615b659b608f3a1d624f6fc78c303efbe1f8e'/>
<id>urn:sha1:c3d615b659b608f3a1d624f6fc78c303efbe1f8e</id>
<content type='text'>
Done for Pro devices

Signed-off-by: Szczepan Zalega &lt;szczepan@nitrokey.com&gt;
</content>
</entry>
<entry>
<title>Add test's scenario descriptions</title>
<updated>2018-02-28T19:28:33Z</updated>
<author>
<name>Szczepan Zalega</name>
<email>szczepan@nitrokey.com</email>
</author>
<published>2018-02-28T19:28:33Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/libnitrokey/commit/?id=2b752acc507d60047576876c9ada4596442511b6'/>
<id>urn:sha1:2b752acc507d60047576876c9ada4596442511b6</id>
<content type='text'>
Signed-off-by: Szczepan Zalega &lt;szczepan@nitrokey.com&gt;
</content>
</entry>
<entry>
<title>Python test running commands on all connected devices</title>
<updated>2018-02-28T18:30:20Z</updated>
<author>
<name>Szczepan Zalega</name>
<email>szczepan@nitrokey.com</email>
</author>
<published>2017-12-08T10:48:26Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/libnitrokey/commit/?id=d6ae8192be443749fcd1f593db0f9be4d039da93'/>
<id>urn:sha1:d6ae8192be443749fcd1f593db0f9be4d039da93</id>
<content type='text'>
Signed-off-by: Szczepan Zalega &lt;szczepan@nitrokey.com&gt;
</content>
</entry>
</feed>
