<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/libnitrokey, branch 119-qmake_version_getter</title>
<subtitle>Communicate with Nitrokey devices in a clean and easy manner (GitHub mirror)
</subtitle>
<id>https://git.ireas.org/mirrors/libnitrokey/atom?h=119-qmake_version_getter</id>
<link rel='self' href='https://git.ireas.org/mirrors/libnitrokey/atom?h=119-qmake_version_getter'/>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/libnitrokey/'/>
<updated>2018-06-19T18:34:31Z</updated>
<entry>
<title>DEBUG Initial idea for #119. Better would be having default values in version.cc in repository and overwriting it with CMake via configure file.</title>
<updated>2018-06-19T18:34:31Z</updated>
<author>
<name>Szczepan Zalega</name>
<email>szczepan@nitrokey.com</email>
</author>
<published>2018-06-19T18:34:31Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/libnitrokey/commit/?id=f00638bb860183f900d7c396d2f7f444821e1db3'/>
<id>urn:sha1:f00638bb860183f900d7c396d2f7f444821e1db3</id>
<content type='text'>
Signed-off-by: Szczepan Zalega &lt;szczepan@nitrokey.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'pr_114'</title>
<updated>2018-06-19T17:56:45Z</updated>
<author>
<name>Szczepan Zalega</name>
<email>szczepan@nitrokey.com</email>
</author>
<published>2018-06-19T17:56:45Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/libnitrokey/commit/?id=e1ef8d79809190c5ac5d540bd4aa376dcfda7e93'/>
<id>urn:sha1:e1ef8d79809190c5ac5d540bd4aa376dcfda7e93</id>
<content type='text'>
Cleanup API related to device's TOTP time management

Fixes #114
</content>
</entry>
<entry>
<title>Remove NK_totp_get_time implementation, since it always results in error on device's side</title>
<updated>2018-06-19T17:55:18Z</updated>
<author>
<name>Szczepan Zalega</name>
<email>szczepan@nitrokey.com</email>
</author>
<published>2018-06-19T17:54:08Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/libnitrokey/commit/?id=9a4e5a3e0161ea2d0d72d371439ee44b8b137489'/>
<id>urn:sha1:9a4e5a3e0161ea2d0d72d371439ee44b8b137489</id>
<content type='text'>
Signed-off-by: Szczepan Zalega &lt;szczepan@nitrokey.com&gt;
</content>
</entry>
<entry>
<title>Add "deprecated" tags to get_time and NK_totp_get_time functions</title>
<updated>2018-06-19T17:55:18Z</updated>
<author>
<name>Szczepan Zalega</name>
<email>szczepan@nitrokey.com</email>
</author>
<published>2018-06-19T17:52:26Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/libnitrokey/commit/?id=2cbea6ce4e5e14af06c0ffa3794e4a07ebb04752'/>
<id>urn:sha1:2cbea6ce4e5e14af06c0ffa3794e4a07ebb04752</id>
<content type='text'>
Signed-off-by: Szczepan Zalega &lt;szczepan@nitrokey.com&gt;
</content>
</entry>
<entry>
<title>Add set_time_soft to replace get_time</title>
<updated>2018-06-19T17:55:18Z</updated>
<author>
<name>Robin Krahl</name>
<email>me@robin-krahl.de</email>
</author>
<published>2018-05-18T07:26:56Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/libnitrokey/commit/?id=81a288088c4e54ffce81e1971c4ccdfe2ec80b8a'/>
<id>urn:sha1:81a288088c4e54ffce81e1971c4ccdfe2ec80b8a</id>
<content type='text'>
The SetTime command supports two modes: set the time without checking
the currently set time, or verify that the currently set time is not
zero and not larger than the new time (see cmd_set_time(uint8_t*,
uint8_t*) in src/keyboard/report_protocol.c, lines 678--710, in the
Nitrokey Pro firmware).

NitrokeyManager called these two modes set_time(uint64_t) and
get_time(uint64_t), which is highly misleading -- the command does never
get the time.  Furthermore, the get_time method per default calls the
command with the time zero, which will always result in an error.

The C API has the methods NK_totp_set_time(uint64_t) and
NK_totp_get_time().  NK_totp_get_time() calls get_time(uint64_t) with
the time zero, leading to an error, and is therefore useless.

This patch proposes a new wording.  While it would make sense to call
the first mode “reset” and the second mode “set”, this would break
compatibility.  Therefore, new methods set_time_soft(uint64_t) and
NK_totp_set_time_soft(uint64_t) are introduced to represent the
difference between a hard and a soft setting of the time.

The old methods, get_time(uint64_t) and NK_totp_get_time(), are not
removed but marked as deprecated.  They should be removed in an upcoming
major release.
</content>
</entry>
<entry>
<title>Merge branch 'pr_117'</title>
<updated>2018-06-19T13:08:13Z</updated>
<author>
<name>Szczepan Zalega</name>
<email>szczepan@nitrokey.com</email>
</author>
<published>2018-06-19T13:08:13Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/libnitrokey/commit/?id=b46dbfa63f344cd7e5323139cf71cd100a179682'/>
<id>urn:sha1:b46dbfa63f344cd7e5323139cf71cd100a179682</id>
<content type='text'>
Library version getter for C API

Fixes #117
Fixes #35
Fixes #62
</content>
</entry>
<entry>
<title>Add offline test for version getter</title>
<updated>2018-06-19T13:04:48Z</updated>
<author>
<name>Szczepan Zalega</name>
<email>szczepan@nitrokey.com</email>
</author>
<published>2018-06-19T13:04:48Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/libnitrokey/commit/?id=57c0b8c1235c5bff3640e85a8e17be20e8f422f3'/>
<id>urn:sha1:57c0b8c1235c5bff3640e85a8e17be20e8f422f3</id>
<content type='text'>
Signed-off-by: Szczepan Zalega &lt;szczepan@nitrokey.com&gt;
</content>
</entry>
<entry>
<title>Move implementation from header back to compilation unit</title>
<updated>2018-06-19T12:56:33Z</updated>
<author>
<name>Szczepan Zalega</name>
<email>szczepan@nitrokey.com</email>
</author>
<published>2018-06-19T12:56:33Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/libnitrokey/commit/?id=35ba2261ddeac3881dc7d4f14b737947a19a4b9b'/>
<id>urn:sha1:35ba2261ddeac3881dc7d4f14b737947a19a4b9b</id>
<content type='text'>
Signed-off-by: Szczepan Zalega &lt;szczepan@nitrokey.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'pr_118'</title>
<updated>2018-06-19T12:24:13Z</updated>
<author>
<name>Szczepan Zalega</name>
<email>szczepan@nitrokey.com</email>
</author>
<published>2018-06-19T12:24:13Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/libnitrokey/commit/?id=9eb759fc6fa0b41ecfbe366b56384e3eb97dd081'/>
<id>urn:sha1:9eb759fc6fa0b41ecfbe366b56384e3eb97dd081</id>
<content type='text'>
C API: Storage status getter

Closes #118
</content>
</entry>
<entry>
<title>Add missing struct keyword</title>
<updated>2018-06-19T12:23:47Z</updated>
<author>
<name>Szczepan Zalega</name>
<email>szczepan@nitrokey.com</email>
</author>
<published>2018-06-19T12:23:47Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/libnitrokey/commit/?id=5edb645227c00c63badc4fb3cccefa4d7e1bb547'/>
<id>urn:sha1:5edb645227c00c63badc4fb3cccefa4d7e1bb547</id>
<content type='text'>
Signed-off-by: Szczepan Zalega &lt;szczepan@nitrokey.com&gt;
</content>
</entry>
</feed>
