From 101dd376b32c2cd12640e81b93c2f30975baac7f Mon Sep 17 00:00:00 2001 From: Joursoir Date: Mon, 26 Oct 2020 19:11:16 +0000 Subject: feature: edit command --- implementation.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'implementation.h') diff --git a/implementation.h b/implementation.h index c5d31e8..7ede6be 100644 --- a/implementation.h +++ b/implementation.h @@ -1,8 +1,11 @@ #ifndef IMPLEMENTATION_H #define IMPLEMENTATION_H +#define GPG_PUBLICKEY_MAXLENGTH 1025 // +1 for '\0' + void checkForbiddenPaths(char *path); -char* getPassword(char *path, char *password, int maxlen); +char *getGPGKey(char *dest, size_t size); +char* getPassword(char *path_pass, char *password, size_t size); void nonvisibleEnter(int status); void insertPass(char *add_path, char *password); char *typePass(char *text, char *dest, int minlen, int maxlen); -- cgit v1.2.3-18-g5258