4 ms·
I'm not familiar with JWT at all, but I found a description of how to generate an ES256 JWT from the command line: https://techdocs.akamai.com/iot-token-access-
by cmacleod4 2y ago
I'm not familiar with JWT at all, but I found a description of how to generate an ES256 JWT from the command line: https://techdocs.akamai.com/iot-token-access-control/docs/generate-jwt-ecdsa-keys https://techdocs.akamai.com/iot-token-access-control/docs/ge... .
I don't know if this would meet your needs, but from Tcl you could use `exec` to run these commands and read the result.
- replwoacause 2y agoThanks for sharing this. My preference is to do it all in Tcl without having to shell out, which is possible (and easy!) to do in most other languages.
- chillpenguin 2y agoIt's a valid concern. But I just want to point out that shelling out to other things is part of the "paradigm" when using a shell-like language. If you embrace this paradigm, you will better understand the style. Think of it like learning functional programming. You have to "embrace the paradigm" instead of just mutating things all the time like you might be used to in an imperative language.