NeoMutt  2020-06-26-250-g349c94
Teaching an old dog new tricks
crypt_mod_pgp_classic.c File Reference

Wrappers for calls to CLI PGP. More...

#include "config.h"
#include <stdio.h>
#include "lib.h"
#include "crypt_mod.h"
#include "pgpinvoke.h"
#include "pgpkey.h"
#include "pgp.h"
+ Include dependency graph for crypt_mod_pgp_classic.c:

Go to the source code of this file.


struct CryptModuleSpecs CryptModPgpClassic
 CLI PGP - Implements CryptModuleSpecs. More...

Detailed Description

Wrappers for calls to CLI PGP.

  • g10 Code GmbH

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see

Definition in file crypt_mod_pgp_classic.c.

Variable Documentation

◆ CryptModPgpClassic

struct CryptModuleSpecs CryptModPgpClassic
Initial value:
= {
int pgp_class_send_menu(struct Email *e)
Implements CryptModuleSpecs::send_menu()
Definition: pgp.c:1839
int pgp_class_decrypt_mime(FILE *fp_in, FILE **fp_out, struct Body *b, struct Body **cur)
Implements CryptModuleSpecs::decrypt_mime()
Definition: pgp.c:1111
int pgp_class_encrypted_handler(struct Body *a, struct State *s)
Implements CryptModuleSpecs::encrypted_handler()
Definition: pgp.c:1193
struct Body * pgp_class_make_key_attachment(void)
Implements CryptModuleSpecs::pgp_make_key_attachment()
Definition: pgpkey.c:243
void pgp_class_extract_key_from_attachment(FILE *fp, struct Body *top)
Implements CryptModuleSpecs::pgp_extract_key_from_attachment()
Definition: pgp.c:961
void pgp_class_void_passphrase(void)
Implements CryptModuleSpecs::void_passphrase()
Definition: pgp.c:75
void pgp_class_invoke_import(const char *fname)
Implements CryptModuleSpecs::pgp_invoke_import()
Definition: pgpinvoke.c:392
int pgp_class_application_handler(struct Body *m, struct State *s)
Implements CryptModuleSpecs::application_handler()
Definition: pgp.c:450
struct Body * pgp_class_sign_message(struct Body *a, const struct AddressList *from)
Implements CryptModuleSpecs::sign_message()
Definition: pgp.c:1283
Use PGP to encrypt/sign.
Definition: lib.h:97
int pgp_class_check_traditional(FILE *fp, struct Body *b, bool just_one)
Implements CryptModuleSpecs::pgp_check_traditional()
Definition: pgp.c:833
struct Body * pgp_class_traditional_encryptsign(struct Body *a, SecurityFlags flags, char *keylist)
Implements CryptModuleSpecs::pgp_traditional_encryptsign()
Definition: pgp.c:1668
struct Body * pgp_class_encrypt_message(struct Body *a, char *keylist, bool sign, const struct AddressList *from)
Implements CryptModuleSpecs::pgp_encrypt_message()
Definition: pgp.c:1535
char * pgp_class_find_keys(struct AddressList *addrlist, bool oppenc_mode)
Implements CryptModuleSpecs::find_keys()
Definition: pgp.c:1413
bool pgp_class_valid_passphrase(void)
Implements CryptModuleSpecs::valid_passphrase()
Definition: pgp.c:84
void pgp_class_invoke_getkeys(struct Address *addr)
Implements CryptModuleSpecs::pgp_invoke_getkeys()
Definition: pgpinvoke.c:416
int pgp_class_verify_one(struct Body *sigbdy, struct State *s, const char *tempfile)
Implements CryptModuleSpecs::verify_one()
Definition: pgp.c:860

CLI PGP - Implements CryptModuleSpecs.

Definition at line 43 of file crypt_mod_pgp_classic.c.