diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-01-29 12:25:33 +0100 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2020-02-03 09:40:32 -0800 |
commit | 51d0fbb73eb42325fb2a0832810fd9e1d4339743 (patch) | |
tree | 766cfda4a1a9e47ac6cef5f558b3dc93c8372eeb /nitrokey/CHANGELOG.md | |
parent | 3dd4b7795f9a9a4285fe6add70a578e3a84bb59f (diff) | |
download | nitrocli-51d0fbb73eb42325fb2a0832810fd9e1d4339743.tar.gz nitrocli-51d0fbb73eb42325fb2a0832810fd9e1d4339743.tar.bz2 |
Update nitrokey dependency to 0.6.0
nitrokey 0.6.0 introduced the SerialNumber struct (instead of
representing serial numbers as strings). We no longer have to manually
format the serial number as SerialNumber implements Display.
Import subrepo nitrokey/:nitrokey at 2a8ce725407f32db5ad61c37475719737c9b5c9c
Diffstat (limited to 'nitrokey/CHANGELOG.md')
-rw-r--r-- | nitrokey/CHANGELOG.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/nitrokey/CHANGELOG.md b/nitrokey/CHANGELOG.md index cba0e83..e2dd8a7 100644 --- a/nitrokey/CHANGELOG.md +++ b/nitrokey/CHANGELOG.md @@ -3,6 +3,21 @@ Copyright (C) 2019-2020 Robin Krahl <robin.krahl@ireas.org> SPDX-License-Identifier: CC0-1.0 --> +# v0.6.0 (2020-02-03) +- Add `String` value to the `Error::UnexpectedError` variant. +- Always store serial numbers as structs: + - Introduce the `SerialNumber` struct. + - Change the return type of `Device::get_serial_number` from `Result<String, + _>` to `Result<SerialNumber, _>`. + - Change the type of the field `DeviceInfo.serial_number` from + `Option<String>` to `Option<SerialNumber>`. +- 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>`. +- Regenerate temporary passwords if they would contain a null byte. + # v0.5.1 (2020-01-15) - Fix serial number formatting for Nitrokey Pro devices with firmware 0.8 or older in the `list_devices` function. |