Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build errors and warnings: EddsaJwtSigning example and IdentityModel 4.0.0 #49

Open
Pauld-1 opened this issue Aug 20, 2024 · 0 comments

Comments

@Pauld-1
Copy link

Pauld-1 commented Aug 20, 2024

Hello,

I'm receiving two build errors when using the EddsaJwtSigning example and IdentityModel 4.0.0, it doesn't occur with 3.1.1

cannot convert from 'Org.BouncyCastle.Crypto.Parameters.Ed25519PrivateKeyParameters' to ScottBrady.IdentityModel.Tokens.EdDsa'

on

SigningCredentials = new SigningCredentials(new EdDsaSecurityKey(privateKey), ExtendedSecurityAlgorithms.EdDsa)

and
IssuerSigningKey = new EdDsaSecurityKey(publicKey)

I'll be grateful for help in resolving these as I'm fairly new to EdDSA signing and your blog post and library is the most complete example that I've found.

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant