Skip to content

Commit

Permalink
Add support for the Edwards Curve DSA PGP public key algorithm
Browse files Browse the repository at this point in the history
Fixes issue #932
  • Loading branch information
jstedfast committed Jun 14, 2023
1 parent 3e3540e commit f152ae3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MimeKit/Cryptography/OpenPgpContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1107,6 +1107,7 @@ public static PublicKeyAlgorithm GetPublicKeyAlgorithm (PublicKeyAlgorithmTag al
case PublicKeyAlgorithmTag.Dsa: return PublicKeyAlgorithm.Dsa;
case PublicKeyAlgorithmTag.ECDH: return PublicKeyAlgorithm.EllipticCurve;
case PublicKeyAlgorithmTag.ECDsa: return PublicKeyAlgorithm.EllipticCurveDsa;
case PublicKeyAlgorithmTag.EdDsa: return PublicKeyAlgorithm.EdwardsCurveDsa;
case PublicKeyAlgorithmTag.DiffieHellman: return PublicKeyAlgorithm.DiffieHellman;
default: throw new ArgumentOutOfRangeException (nameof (algorithm));
}
Expand Down

0 comments on commit f152ae3

Please sign in to comment.