summaryrefslogtreecommitdiff
path: root/lib/signature.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-01-09 00:24:02 +0000
committerjbj <devnull@localhost>1999-01-09 00:24:02 +0000
commit8e4b5d19fc40b0b5af6364ae855ea39564ce768c (patch)
tree53a3a0db69f4679079d8c6a68fd54b854cdb0fcb /lib/signature.h
parent8792366734a989de7865d45218fdc75ba7e023ec (diff)
downloadlibrpm-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 'lib/signature.h')
-rw-r--r--lib/signature.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/signature.h b/lib/signature.h
index fe0ce284d..66bc12708 100644
--- a/lib/signature.h
+++ b/lib/signature.h
@@ -47,6 +47,6 @@ int rpmAddSignature(Header header, const char *file,
int rpmLookupSignatureType(void);
/* Utility to read a pass phrase from the user */
-char *rpmGetPassPhrase(const char *prompt);
+char *rpmGetPassPhrase(const char *prompt, const int sigTag);
#endif /* H_SIGNATURE */