diff options
author | Joursoir <chat@joursoir.net> | 2020-10-26 19:11:16 +0000 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2020-10-26 19:11:16 +0000 |
commit | 101dd376b32c2cd12640e81b93c2f30975baac7f (patch) | |
tree | 8f571472aefb58274755e3dd6778497564554edc /implementation.h | |
parent | 5f3bbf1279d39554cd2d185170ae4e5119cf3b61 (diff) | |
download | lock-password-101dd376b32c2cd12640e81b93c2f30975baac7f.tar.gz lock-password-101dd376b32c2cd12640e81b93c2f30975baac7f.tar.bz2 lock-password-101dd376b32c2cd12640e81b93c2f30975baac7f.zip |
feature: edit command
Diffstat (limited to 'implementation.h')
-rw-r--r-- | implementation.h | 5 |
1 files changed, 4 insertions, 1 deletions
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); |