NeoMutt  2025-12-11-769-g906513
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
pgp_extract_key_from_attachment()

Extract PGP key from an attachment. More...

+ Collaboration diagram for pgp_extract_key_from_attachment():

Functions

void pgp_class_extract_key_from_attachment (FILE *fp, struct Body *b)
 Extract PGP key from an attachment - Implements CryptModuleSpecs::pgp_extract_key_from_attachment() -.
 

Detailed Description

Extract PGP key from an attachment.

Parameters
fpFile containing email
bBody of the email

Function Documentation

◆ pgp_class_extract_key_from_attachment()

void pgp_class_extract_key_from_attachment ( FILE * fp,
struct Body * b )

Extract PGP key from an attachment - Implements CryptModuleSpecs::pgp_extract_key_from_attachment() -.

Definition at line 1001 of file pgp.c.

1002{
1003 if (!fp)
1004 {
1005 mutt_error(_("Internal error. Please submit a bug report."));
1006 return;
1007 }
1008
1009 mutt_endwin();
1010
1011 OptDontHandlePgpKeys = true;
1013 OptDontHandlePgpKeys = false;
1014}
void mutt_endwin(void)
Shutdown curses.
Definition curs_lib.c:153
bool OptDontHandlePgpKeys
(pseudo) used to extract PGP keys
Definition globals.c:46
#define mutt_error(...)
Definition logging2.h:94
#define _(a)
Definition message.h:28
static void pgp_extract_keys_from_attachment(FILE *fp, struct Body *b)
Extract pgp keys from messages/attachments.
Definition pgp.c:969
+ Here is the call graph for this function: