Elektrine lite

← Feed

@Edent@mastodon.social

2026-08-27 14:57 UTC

@dave@upp2.com I'm not sure I understand. The *digest* says what algorithm it uses, but it isn't a given that the same algo will be used for the signature, right? I can't find another reference to the algorithm in the public key. Very happy to be told I'm missing something obvious :-)

Replies (1)

  • @dave@upp2.com 2026-08-27 15:15

    @Edent@mastodon.social RFC9421 only lists a handful of possible algorithms. IIRC if your key is ed25519 only one of them applies, similarly if the key is ecdsa. I think there are two possibilities for RSA keys, but we only support one for legacy reasons and do not plan to encourage future use of RSA so will likely never implement the other. So in practice looking at the key type should be sufficient to determine the algorithm used.

    Open ##5175099