Skip to content

Commit

Permalink
rpmsign: support EdDSA signatures
Browse files Browse the repository at this point in the history
They were previously rejected
  • Loading branch information
DemiMarie committed Mar 13, 2021
1 parent aa963fa commit acfa8f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sign/rpmgensig.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ static rpmtd makeSigTag(Header sigh, int ishdr, uint8_t *pkt, size_t pktlen)
pubkey_algo = pgpDigParamsAlgo(sigp, PGPVAL_PUBKEYALGO);
switch (pubkey_algo) {
case PGPPUBKEYALGO_DSA:
case PGPPUBKEYALGO_EDDSA:
sigtag = ishdr ? RPMSIGTAG_DSA : RPMSIGTAG_GPG;
break;
case PGPPUBKEYALGO_RSA:
Expand Down

0 comments on commit acfa8f4

Please sign in to comment.