rpm
5.2.1
|
#include "system.h"
#include <rpmiotypes.h>
#include <rpmio.h>
#include <rpmku.h>
#include "debug.h"
Go to the source code of this file.
Defines | |
#define | _RPMIOB_INTERNAL |
Functions | |
char * | _GetPass (const char *prompt) |
char * | _RequestPass (const char *prompt) |
rpmRC | rpmkuFindPubkey (pgpDigParams sigp, rpmiob *iobp) |
Lookup pubkey in keyutils keyring. | |
rpmRC | rpmkuStorePubkey (pgpDigParams sigp, rpmiob iob) |
Store pubkey in keyutils keyring. | |
const char * | rpmkuPassPhrase (const char *passPhrase) |
Return pass phrase from keyutils keyring. | |
Variables | |
char *(* | Getpass )(const char *prompt) = _GetPass |
Return a password. |
Definition in file rpmku.c.
#define _RPMIOB_INTERNAL |
char* _GetPass | ( | const char * | prompt | ) |
Definition at line 79 of file rpmku.c.
References _free(), _kuKeyring, and rpmExpand().
char* _RequestPass | ( | const char * | prompt | ) |
Definition at line 113 of file rpmku.c.
References argvSplit().
rpmRC rpmkuFindPubkey | ( | pgpDigParams | sigp, |
rpmiob * | iobp | ||
) |
Lookup pubkey in keyutils keyring.
sigp | signature packet |
*iobp | pubkey I/O buffer |
Definition at line 149 of file rpmku.c.
References _kuKeyring, alloca(), pgpGrab(), rpmiobFree(), rpmiobNew(), RPMRC_NOTFOUND, RPMRC_OK, snprintf(), stpcpy(), and xstrdup().
Referenced by rpmtsFindPubkey().
const char* rpmkuPassPhrase | ( | const char * | passPhrase | ) |
Return pass phrase from keyutils keyring.
passPhrase | pass phrase |
Definition at line 219 of file rpmku.c.
References _kuKeyring, and xstrdup().
Referenced by makeGPGSignature(), and rpmCheckPassPhrase().
rpmRC rpmkuStorePubkey | ( | pgpDigParams | sigp, |
rpmiob | iob | ||
) |
Store pubkey in keyutils keyring.
sigp | signature packet |
iob | pubkey I/O buffer |
Definition at line 196 of file rpmku.c.
References _kuKeyring, alloca(), pgpGrab(), rpmiobFree(), RPMRC_OK, snprintf(), and stpcpy().
Referenced by rpmtsFindPubkey().