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 authored and pmatilai committed Mar 15, 2021
1 parent 8f4b3c3 commit 23770e1
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 23770e1

Please sign in to comment.