Skip to content

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

@Pauld-1

Description

@Pauld-1

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions