aboutsummaryrefslogtreecommitdiff
path: root/include/libnpass/gpg.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libnpass/gpg.h')
-rw-r--r--include/libnpass/gpg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libnpass/gpg.h b/include/libnpass/gpg.h
new file mode 100644
index 0000000..f5053bf
--- /dev/null
+++ b/include/libnpass/gpg.h
@@ -0,0 +1,6 @@
+#include <stdio.h>
+#include <sys/types.h>
+
+int gpg_key_validate(const char *fpr);
+int gpg_decrypt(FILE *pass_out, const char *pass_path);
+int gpg_encrypt(FILE *stream, const char *fpr, const char *pass, size_t n);