Skip to content

Support for EdDSA in PGP C# #345

Description

@ofrir-cl

Hello,

I am trying to decrypt a PGP message using a private key, but when using the function
new PgpSecretKeyRingBundle(keyStream);

I am getting the exception:
unknown PGP public key algorithm encountered

The private key has the algorithm as 0x16 (22) which should correspond to ed25519
Looks like a similar issue was fixed in the java version bcgit/bc-java#636 so I am wondering if maybe it wasn't fixed in the C# one?

Thanks a lot in advance!

Activity

  1. peterdettman commented on Jan 28, 2022

    @peterdettman
    Collaborator

    It has not yet been added to the C# build, but is on the TODO list.

  2. self-assigned this
    on Jan 28, 2022
  3. fnajera-rac-de commented on Feb 4, 2022

    @fnajera-rac-de

    The pull request #282 has worked for me. It also passes the corresponding Java tests (I've migrated them in fnajera-rac-de@f10df3a).

  4. Indigo744 commented on Feb 28, 2022

    @Indigo744

    I am particularly interested in this feature. Any ETA on this? Is there something I can do to help?
    Thanks.

  5. mafia9874123 commented on Nov 4, 2022

    @mafia9874123

    Hi @peterdettman, how this issue going on? I'm having same issue when try to encrypt with public key type Ed25519

  6. peterdettman commented on Nov 5, 2022

    @peterdettman
    Collaborator

    I've now ported the OpenPGP EdDSA (and XDH) support from bc-java. It will be in the v2 NuGet release this week.

  7. oseack commented on Nov 22, 2024

    @oseack

    I've now ported the OpenPGP EdDSA (and XDH) support from bc-java. It will be in the v2 NuGet release this week.

    Hi Peter, did this happen? I look forward to your reply. I really appreciate your help.

  8. LeoMiguelB commented on Nov 22, 2024

    @LeoMiguelB

    I am also curious on the current status of this.

  9. ofrir-cl commented on Nov 22, 2024

    @ofrir-cl
    Author

    Can confirm this was added in v2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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