From 017a27a009947d73c00f934a1e052b0ef021680b Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Tue, 5 Jun 2018 22:30:04 +0200 Subject: Implement Drop for PasswordSafe By calling NK_lock_device when dropping a PasswordSafe instance, we can make sure that the password safe cannot be reused without authentication. --- TODO.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'TODO.md') diff --git a/TODO.md b/TODO.md index a2b6395..992b501 100644 --- a/TODO.md +++ b/TODO.md @@ -1,6 +1,5 @@ - Add support for the currently unsupported commands: - `NK_set_unencrypted_volume_rorw_pin_type_user` - - `NK_lock_device` - `NK_factory_reset` - `NK_build_aes_key` - `NK_is_AES_supported` @@ -38,3 +37,5 @@ - Differentiate empty strings and errors (see `result_from_string`). - Check integer conversions. - Consider implementing `Into` for `(Device, CommandError)` +- Check error handling in PasswordSafe::drop(). +- Disable creation of multiple password safes at the same time. -- cgit v1.2.1