retry on weak password, Vault::create

This commit is contained in:
2026-04-25 13:12:46 +02:00
parent 47f1f7dd74
commit 85541e1db4
3 changed files with 35 additions and 26 deletions

View File

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