aboutsummaryrefslogtreecommitdiff
path: root/gpg.h
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-12-30 11:14:24 +0530
committersinanmohd <sinan@sinanmohd.com>2023-12-30 11:14:24 +0530
commit705ed7afd5c707419e02fca1b97f2a6516453506 (patch)
tree90443e523fb9390b579053d2c76f34a66daab249 /gpg.h
parent438ad16d03f38e0e444f6ad575078ee949679a86 (diff)
pass/cat: init
Diffstat (limited to 'gpg.h')
-rw-r--r--gpg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gpg.h b/gpg.h
index 36904df..36c2b87 100644
--- a/gpg.h
+++ b/gpg.h
@@ -1 +1,4 @@
+#include <sys/types.h>
+
int gpg_key_validate(const char *fpr);
+int gpg_decrypt(const char *fpr, const char *path, char *pass_out, size_t n);