|
rpm
5.4.14
|
#include "system.h"#include <rpmiotypes.h>#include <rpmio.h>#include <rpmku.h>#include "debug.h"
Go to the source code of this file.
Macros | |
| #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. More... | |
| rpmRC | rpmkuStorePubkey (pgpDigParams sigp, rpmiob iob) |
| Store pubkey in keyutils keyring. More... | |
| const char * | rpmkuPassPhrase (const char *passPhrase) |
| Return pass phrase from keyutils keyring. More... | |
Variables | |
| char *(* | Getpass )(const char *prompt) = _GetPass |
| Return a password. More... | |
| char* _GetPass | ( | const char * | prompt | ) |
Definition at line 85 of file rpmku.c.
References _free(), _kuKeyring, assert(), memset(), NULL, rpmExpand(), and void.
| char* _RequestPass | ( | const char * | prompt | ) |
Definition at line 119 of file rpmku.c.
References argvFree(), argvSplit(), assert(), av, key, NULL, and xx.
| rpmRC rpmkuFindPubkey | ( | pgpDigParams | sigp, |
| rpmiob * | iobp | ||
| ) |
Lookup pubkey in keyutils keyring.
| sigp | signature packet |
| *iobp | pubkey I/O buffer |
Definition at line 157 of file rpmku.c.
References _kuKeyring, alloca(), key, NULL, pgpGrab(), rpmiobFree(), rpmiobNew(), RPMRC_NOTFOUND, RPMRC_OK, snprintf(), stpcpy(), void, xstrdup(), and xx.
Referenced by rpmtsFindPubkey().
| const char* rpmkuPassPhrase | ( | const char * | passPhrase | ) |
Return pass phrase from keyutils keyring.
| passPhrase | pass phrase |
Definition at line 227 of file rpmku.c.
References _kuKeyring, key, NULL, strcmp(), xstrdup(), and xx.
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 204 of file rpmku.c.
References _kuKeyring, alloca(), pgpGrab(), rpmiobFree(), RPMRC_OK, snprintf(), stpcpy(), and void.
Referenced by rpmtsFindPubkey().
1.8.5