[ANNOUNCE] nitrokey-rs v0.9.0 released

Message ID
DKIM signature
Download raw message
nitrokey-rs v0.9.0 has been released.  It is available as a signed tag in
the nitrokey-rs Git repository:
Or on crates.io:

This minor release refactors the password safe access.


- Refactor the PWS slot access to clearly distinguish unprogrammed slots and
  empty name, login or password values:
  - Add the `get_slots`, `get_slot` and `get_slot_unchecked` methods to the
    `PasswordSafe` struct and the `PasswordSlot` struct for accessing the PWS
  - Deprecate the `get_status`, `get_slot_name`, `get_slot_login` and
    `get_slot_password` method of the `PasswordSafe` struct.
- Add the `PasswordSafe::get_slot_count` method to access the number of slots
  in the password safe and deprecate the `SLOT_COUNT` constant.

Commit summary

Robin Krahl (7):
      Implement From<LogLevel> for i32
      Add missing python-pip dependency to lint.yml
      Add libusb dependency to archlinux.yml
      Fix example for PasswordSafe::write_slot
      Refactor PWS slot access
      Replace SLOT_COUNT with get_slot_count
      Release v0.9.0

 .builds/archlinux.yml |   1 +
 .builds/lint.yml      |   1 +
 CHANGELOG.md          |  13 ++-
 Cargo.toml            |   4 +-
 src/lib.rs            |  11 ++-
 src/pws.rs            | 240 +++++++++++++++++++++++++++++++++++++++++++++-----
 src/util.rs           |   6 +-
 tests/device.rs       |  16 ++--
 tests/pws.rs          | 107 ++++++++++++++--------
 9 files changed, 328 insertions(+), 71 deletions(-)
Reply to thread Export thread (mbox)