diff options
author | jbj <devnull@localhost> | 1999-01-09 00:24:02 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-01-09 00:24:02 +0000 |
commit | 8e4b5d19fc40b0b5af6364ae855ea39564ce768c (patch) | |
tree | 53a3a0db69f4679079d8c6a68fd54b854cdb0fcb /checksig.h | |
parent | 8792366734a989de7865d45218fdc75ba7e023ec (diff) | |
download | librpm-tizen-8e4b5d19fc40b0b5af6364ae855ea39564ce768c.tar.gz librpm-tizen-8e4b5d19fc40b0b5af6364ae855ea39564ce768c.tar.bz2 librpm-tizen-8e4b5d19fc40b0b5af6364ae855ea39564ce768c.zip |
1998 8 Jan Toshio Kuratomi <badger@prtr-13.ucsc.edu>
* rpm.c: An error message for --nomd5 incorrectly read "--nopgp can only
be used during...."... Changed the --nopgp to --nomd5
1998 7 Jan Toshio Kuratomi <bagder@prtr-13.ucsc.edu>
* lib/rpmlib.h: Add a RPMSIGTAG_GPG define for gnupg.
* lib/rpmlib.h: Add RPMVAR_GPG_PATH and RPMVAR_GPG_NAME variables.
* lib/rpmrc.c: (optionTable) Add gpg_path and gpg_name to the optionTable
(same stats as pgp_name and pgp_path.)
* lib/signature.c: (rpmLookupSignatureType) Add RPMSIGTAG_GPG as one of the
recognized types.
* lib/signature.c: (rpmAddSignature) Add ability to create gnupg signature.
* lib/signature.c: (makeGPGSignature) Routine to create a gnupg signature
(based on makePGPSignature.)
* lib/signature.c: (rpmVerifySignature) Add ability to verify gnupg
signatures.
* lib/signature.c: (verifyGPGSignature) Routine to verify a gnupg signature
(based on verifyPGPSignature.)
* lib/signature.c: (rpmGetPassPhrase) When getting pass phrase for gnupg,
use RPMVAR_GPG_NAME instead of RPMVAR_PGP_NAME if we are signing with
GPG isntead of PGP.
* lib/signature.c: (checkPassPhrase) Need to allow for GPG when we check
the PassPhrase's correctness.
* rpm.c: Add equivalent GPG lines everywhere we find a PGP line.
* rpm.c: Add equivalent gpg stanzas wherever we find a pgp stanza.
* checksig.h: define CHECKSIG_GPG (1 << 2) [Is this correct?]
* checksig.c: (doCheckSig) Check for GPG signatures. [A lot could be
wrong/left out here.]
* rpm.c: change the call to rpmGetPassPhrase to throw in the sigType as
well.
* signature.h: change rpmGetPassPhrase declaration to:
rpmGetPassPhrase(const char * prompt, const int sigTag);
* signature.c: (rpmGetPassPhrase) change the function to accept the
signature type as its second argument.
CVS patchset: 2686
CVS date: 1999/01/09 00:24:02
Diffstat (limited to 'checksig.h')
-rw-r--r-- | checksig.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/checksig.h b/checksig.h index 354f9df42..597b09c16 100644 --- a/checksig.h +++ b/checksig.h @@ -3,6 +3,7 @@ #define CHECKSIG_PGP (1 << 0) #define CHECKSIG_MD5 (1 << 1) +#define CHECKSIG_GPG (1 << 2) int doCheckSig(int flags, char **argv); int doReSign(int add, char *passPhrase, char **argv); |