rpm  5.4.15
Functions | Variables
rpmku.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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

rpmint32_t _kuKeyring
 Keyutils keyring to use. More...
 

Function Documentation

rpmRC rpmkuFindPubkey ( pgpDigParams  sigp,
rpmiob iobp 
)

Lookup pubkey in keyutils keyring.

Parameters
sigpsignature packet
Return values
*iobppubkey I/O buffer
Returns
RPMRC_OK on success

Definition at line 157 of file rpmku.c.

References _kuKeyring, alloca(), key, 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.

Parameters
passPhrasepass phrase
Returns
(malloc'd) pass phrase

Definition at line 227 of file rpmku.c.

References _kuKeyring, key, and xstrdup().

Referenced by makeGPGSignature(), and rpmCheckPassPhrase().

rpmRC rpmkuStorePubkey ( pgpDigParams  sigp,
rpmiob  iob 
)

Store pubkey in keyutils keyring.

Parameters
sigpsignature packet
iobpubkey I/O buffer
Returns
RPMRC_OK on success

Definition at line 204 of file rpmku.c.

References _kuKeyring, alloca(), pgpGrab(), rpmiobFree(), RPMRC_OK, snprintf(), and stpcpy().

Referenced by rpmtsFindPubkey().

Variable Documentation

rpmint32_t _kuKeyring

Keyutils keyring to use.

Referenced by _GetPass(), rpmkuFindPubkey(), rpmkuPassPhrase(), and rpmkuStorePubkey().