EdDSA in FAPI 2.0

Issue #492 resolved
Filip Skokan created an issue

There are currently two JWS algorithms allowed in FAPI 2.0.

  • PS256, which excels in its verification throughput, but not so much signing
  • ES256, which excels at its signing throughput, but not so much verification

It would be beneficial if there was an algorithm allowed, that strikes a better balance between sign and verify throughput.

I am of course talking about EdDSA (using Curve25519), how does the WG feel about extending the list of allowed FAPI 2.0 JWS Algorithms with it?

Comments (7)

  1. Joseph Heenan

    I’m kind of in favour of removing ES256, just in terms of reducing optionality. However I think there are a few people using ES256 (albeit if I remember correctly none of the major ecosystems) so removing ES256 would make it more difficult for some people to migrate from FAPI1 to FAPI2.

  2. Filip Skokan reporter

    I’m kind of in favour of removing ES256, just in terms of reducing optionality. However I think there are a few people using ES256 (albeit if I remember correctly none of the major ecosystems) so removing ES256 would make it more difficult for some people to migrate from FAPI1 to FAPI2.

    Unless someone speaks up against keeping P-256 I think there’s value in all three, as noted - one for each occasion.

  3. Log in to comment