aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-02-03 10:22:37 +0100
committerRobin Krahl <robin.krahl@ireas.org>2020-02-03 10:22:37 +0100
commitce4479b6f7a353f388aecda03cddc35389940252 (patch)
tree9824d4552faf18a09eabb214deb87b4db950ab41 /CHANGELOG.md
parent395ace0131ef6cd655a222734f2cc8d037395a3b (diff)
parentc1f48ce6c614586042db8891d2eebf19d2212ce4 (diff)
downloadnitrokey-rs-ce4479b6f7a353f388aecda03cddc35389940252.tar.gz
nitrokey-rs-ce4479b6f7a353f388aecda03cddc35389940252.tar.bz2
Merge branch 'get_config' into next
This patch series changes the Device::get_config implementation to use libnitrokey’s NK_get_status instead of NK_read_config. This does results in the same command being sent to the Nitrokey device, but avoids a new[]/free mismatch and makes the parsing more robust.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f5bb7cb..c94e170 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,8 @@ SPDX-License-Identifier: CC0-1.0
_>` to `Result<u32, _>`.
- Change the type of the field `DeviceInfo.serial_number` from
`Option<String>` to `Option<u32>`.
+- Use `NK_get_status` instead of `NK_read_config` to implement the
+ `Device::get_config` function.
# v0.5.2 (2020-01-28)
- Use `CString` to store the temporary password instead of `Vec<u8>`.