Skip to content

Commit

Permalink
PGP 5 is rather ancient history, don't bother
Browse files Browse the repository at this point in the history
I dont recall ever seeing a package with a PGP5 signature in it, certainly
not in last 15 years... Not trying to verify long since extinct species
of signatures should not affect anybodys life.
  • Loading branch information
pmatilai committed Apr 13, 2018
1 parent 30dc739 commit a22c5a1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/rpmvs.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ static const struct vfytag_s rpmvfytags[] = {
{ RPMSIGTAG_PGP, RPM_BIN_TYPE, 0, 0, },
{ RPMSIGTAG_MD5, RPM_BIN_TYPE, 0, 16, },
{ RPMSIGTAG_GPG, RPM_BIN_TYPE, 0, 0, },
{ RPMSIGTAG_PGP5, RPM_BIN_TYPE, 0, 0, },
{ RPMSIGTAG_PAYLOADSIZE, RPM_INT32_TYPE, 1, 4, },
{ RPMSIGTAG_RESERVEDSPACE, RPM_BIN_TYPE, 0, 0, },
{ RPMTAG_DSAHEADER, RPM_BIN_TYPE, 0, 0, },
Expand Down Expand Up @@ -59,9 +58,6 @@ static const struct vfyinfo_s rpmvfyitems[] = {
{ RPMSIGTAG_GPG, 1,
{ RPMSIG_SIGNATURE_TYPE, RPMVSF_NODSA,
(RPMSIG_HEADER|RPMSIG_PAYLOAD), 0, }, },
{ RPMSIGTAG_PGP5, 1,
{ RPMSIG_SIGNATURE_TYPE, RPMVSF_NORSA,
(RPMSIG_HEADER|RPMSIG_PAYLOAD), 0, }, },
{ RPMSIGTAG_PAYLOADSIZE, 1,
{ RPMSIG_OTHER_TYPE, 0,
(RPMSIG_PAYLOAD), 0, }, },
Expand Down

0 comments on commit a22c5a1

Please sign in to comment.