Skip to content

[Xamarin Android][Xamarin.iOS] API not working anymore since 1.1.0 – CryptographicException in LoadEcPrivateKey (CryptoUtils.cs) #231

@jdufaud

Description

@jdufaud

Hello team,

Since updating to version 1.1.0, our Xamarin Android and Xamarin iOS integration no longer works.
After investigation, the problem appears to be related to the cryptography code in CryptoUtils.cs, specifically during the LoadEcPrivateKey call.

We are targeting .NET 9.

An easy way to reproduce:
Open the attached test project
• Call: await auth.Login(username, password);

This fails systematically on Android with a CryptographicException.

Could you please review this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions