From f1babd48f5259186cd1233288992f942d4b5b0bb Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Fri, 9 Mar 2018 14:02:34 +0100 Subject: Complete rewrite of the master password implementation --- libsylph/masterpassword.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libsylph/masterpassword.h') diff --git a/libsylph/masterpassword.h b/libsylph/masterpassword.h index b2798ce..9d00384 100644 --- a/libsylph/masterpassword.h +++ b/libsylph/masterpassword.h @@ -27,12 +27,14 @@ extern gchar *master_password; void set_master_password(const char *password); gchar *get_master_password(void); +void unload_master_password(void); +gboolean master_password_active(void); +gchar *decrypt_with_master_password(gchar *str); +gchar *encrypt_with_master_password(gchar *str); #if USE_SSL - gint set_master_password_interactively(guint max_attempts); gint check_master_password_interactively(guint max_attempts); - #endif /* USE_SSL */ #endif /* __MASTERPASSWORD_H__ */ -- cgit v1.3