From 664d33c8966f478d6f077a666a39a5b76a235ffa Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Tue, 26 Jul 2016 17:14:33 +0200 Subject: Handling PW safe login and password Signed-off-by: Szczepan Zalega --- include/NitrokeyManager.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/NitrokeyManager.h') diff --git a/include/NitrokeyManager.h b/include/NitrokeyManager.h index d9844c9..6f65324 100644 --- a/include/NitrokeyManager.h +++ b/include/NitrokeyManager.h @@ -50,8 +50,8 @@ namespace nitrokey { void lock_device(); const char *get_password_safe_slot_name(uint8_t slot_number, const char *temporary_password); - const char *get_password_safe_slot_password(uint8_t slot_number); - const char *get_password_safe_slot_login(uint8_t slot_number); + const char *get_password_safe_slot_password(uint8_t slot_number, const char *temporary_password); + const char *get_password_safe_slot_login(uint8_t slot_number, const char *temporary_password); private: NitrokeyManager(); @@ -67,6 +67,7 @@ namespace nitrokey { uint8_t get_internal_slot_number_for_totp(uint8_t slot_number) const; bool erase_slot(uint8_t slot_number); uint8_t *get_slot_name(uint8_t slot_number) const; + }; } -- cgit v1.2.3