From 7960f6b6d80d64001282b7b0b43c0195645cc35c Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 30 Dec 2023 19:00:32 +0530 Subject: pass: support unlimited password length --- gpg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gpg.h') diff --git a/gpg.h b/gpg.h index eda5e72..f5053bf 100644 --- a/gpg.h +++ b/gpg.h @@ -2,5 +2,5 @@ #include 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); -- cgit v1.2.3