aboutsummaryrefslogtreecommitdiff
path: root/include/libnpass/gpg.h
blob: 752a0a7e1490c96bdc8ec37fbd335450afc38f40 (plain) (blame)
1
2
3
4
5
6
7
#include <sys/types.h>

#include <stdio.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);