WIP editor
Can only read the password no safe for edit
This commit is contained in:
@@ -20,7 +20,8 @@ enum class Arg
|
||||
Username, // update username
|
||||
Name, // update label name
|
||||
File, // select save file
|
||||
Size // show size of file
|
||||
Size, // show size of file
|
||||
Editor // open editor, password as note
|
||||
};
|
||||
|
||||
Arg get_args(int argc, char **argv, char **label);
|
||||
@@ -47,4 +48,6 @@ void arg_file(Buffer &decrypted_buffer, Buffer &encrypted_buffer, const char *la
|
||||
|
||||
void arg_size(Buffer &encrypted_buffer);
|
||||
|
||||
void arg_editor(Buffer &decrypted_buffer, Buffer &encrypted_buffer, const char *label, std::string &key);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user