retry on weak password, Vault::create
This commit is contained in:
@@ -19,6 +19,8 @@ class Vault {
|
||||
public:
|
||||
explicit Vault(std::string path, const std::string &password);
|
||||
|
||||
static void create(const std::string &path, const std::string &password);
|
||||
|
||||
std::vector<FileHeader> read_file_headers();
|
||||
std::optional<std::string> read_file(const std::string &name);
|
||||
void create_file(const std::string &name, const std::string &content);
|
||||
|
||||
Reference in New Issue
Block a user