aboutsummaryrefslogblamecommitdiff
path: root/gpg.h
blob: 461a9d57757a96a27406cf89ac9182b2293aa99f (plain) (tree)
1
2
3
4
5
6
                  

                      
                                      
                                                                             
                                                                           
#include <stdio.h>
#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);
int gpg_encrypt(FILE *stream, const char *fpr, const char *pass, size_t n);