WIP editor

Can only read the password no safe for edit
This commit is contained in:
Nikola Petrov
2024-07-22 11:52:52 +02:00
parent 5b0dcb23ea
commit ae7c8571b4
9 changed files with 1156 additions and 1 deletions

View File

@@ -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