ECDSA in VW9.3.1
David Shaffer <[email protected]> Wed, 27 Dec 2023 15:49:51 -0500
| Newsgroups | gmane.comp.lang.smalltalk.vwnc |
|---|---|
| Message-ID | <[email protected]> |
Hey folks! I’m trying to add ES256 support to the JSON Web Tokens package (on public store but newer version in GitHub). I can load an EC private key but I don’t see how to sign with it. PrivateKey>>sign:hash:padding: looks like HMAC-only. It throws exceptions for EC keys. PrivateKey>>dsaSignatureElementsFrom: returns a DERReadStream and I can’t see what that has to do with anything (AFAIR DER is used for binary presentation of keys). Documentation is completely silent on the topic except for cursory discussion on key exchange. Any tips would be appreciated. -D