diff options
author | sinanmohd <sinan@sinanmohd.com> | 2023-12-30 19:00:32 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2023-12-30 19:00:46 +0530 |
commit | 7960f6b6d80d64001282b7b0b43c0195645cc35c (patch) | |
tree | 99db4218323383fbea99faccfed2b67fcd9735f3 /gpg.h | |
parent | 1a56879bb29e307bd6b00e250e67597235fa0adf (diff) |
pass: support unlimited password length
Diffstat (limited to 'gpg.h')
-rw-r--r-- | gpg.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2,5 +2,5 @@ #include <sys/types.h> int gpg_key_validate(const char *fpr); -int gpg_decrypt(const char *path, char *pass_out, size_t n); +int gpg_decrypt(FILE *pass_out, const char *pass_path); int gpg_encrypt(FILE *stream, const char *fpr, const char *pass, size_t n); |