From 7197f19f38b06fe2953cfba1fe755d4562f5786e Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Tue, 29 May 2018 20:49:40 +0000 Subject: Add support for password safes A password safe (PWS) stores names, logins and passwords in slots. PWS are supported both by the Nitrokey Pro and the Nitrokey Storage. They are implemented as a struct wrapping a device as the device may not be disconnected while the password safe is alive. The creation of a password safe is handled by the GetPasswordSafe trait, implemented by DeviceWrapper, Pro and Storage. --- TODO.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'TODO.md') diff --git a/TODO.md b/TODO.md index 9b9bc72..dba39f8 100644 --- a/TODO.md +++ b/TODO.md @@ -4,13 +4,6 @@ - `NK_factory_reset` - `NK_build_aes_key` - `NK_unlock_user_password` - - `NK_enable_password_safe` - - `NK_get_password_safe_slot_status` - - `NK_get_password_safe_slot_name` - - `NK_get_password_safe_slot_login` - - `NK_get_password_safe_slot_password` - - `NK_write_password_safe_slot` - - `NK_erase_password_safe_slot` - `NK_is_AES_supported` - `NK_send_startup` - `NK_unlock_encrypted_volume` @@ -42,3 +35,5 @@ - Prevent construction of internal types. - Add Storage-only examples to the `DeviceWrapper` documentation. - Fix generic connection (`get_connected_device`). +- More specific error checking in the tests. +- Differentiate empty strings and errors (see `result_from_string`). -- cgit v1.2.1