~ireas/nitrokey-rs

60210fef9e124ed7e49ca72b5228531edf55deaf — Robin Krahl 3 months ago 6a94c70
Update nitrokey-sys to v3.6.0

This patch updates the nitrokey-sys dependency to version 3.6.0, which
links to libnitrokey 3.6.
3 files changed, 13 insertions(+), 1 deletions(-)

M CHANGELOG.md
M Cargo.toml
M TODO.md
M CHANGELOG.md => CHANGELOG.md +1 -0
@@ 10,6 10,7 @@ SPDX-License-Identifier: CC0-1.0
  - Bump the MSRV to 1.40.0.
- Rename the `numlock`, `capslock`, `scrollock` fields of the `Config` struct
  to `num_lock`, `caps_lock`, `scroll_lock`.
- Update the `nitrokey-sys` dependency to v3.6.0.

# v0.7.1 (2020-08-30)
- Remove the custom `std::error::Error::source` implementation for

M Cargo.toml => Cargo.toml +1 -1
@@ 19,7 19,7 @@ exclude = [".builds/*"]
[dependencies]
lazy_static = "1.2"
libc = "0.2"
nitrokey-sys = "3.5"
nitrokey-sys = "3.6"
rand_core = {version = "0.5.1", features = ["getrandom"] }

[dev-dependencies]

M TODO.md => TODO.md +11 -0
@@ 8,5 8,16 @@ SPDX-License-Identifier: CC0-1.0
  issue 65][]).
- Consider only regenerating the null bytes instead of the complete password in
  `util::generate_password`.
- Update to libnitrokey 3.6:
  - New constants:
    - `NK_LIBREM` (`NK_device_model` enum)
  - New structures:
    - `NK_config`
  - New functions:
    - `NK_device_serial_number_as_u32`
    - `NK_write_config_struct`
    - `NK_free_config`
    - `NK_read_config_struct`
    - `NK_free_password_safe_slot_status`

[nitrokey-storage-firmware issue 65]: https://github.com/Nitrokey/nitrokey-storage-firmware/issues/65