Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Using public keys for verifying JWTsForum ↗

Using public keys for verifying JWTs

App Development3 posts256 viewsLast activity May 2022
DA
DarkoOP
May 2022

The participant can be configured to verify the signature on JWTs using certificates as described here: Daml Sandbox — Daml SDK 2.2.0 documentation

Given that certificates are basically wrappers of public keys with some additional information, can we also provide the path to the public key directly in the configuration for this verification, or does the signature checking somehow rely on the certificate wrapper?

CO
cocreature
May 2022

At the moment, we only support certificates but I don’t believe there is a strong reason for that, we just extract the key out of the certificate and ignore everything else. Is there a particular reason why you cannot generate a certificate for your key?

DA
Darko
May 2022

I don’t believe there is, as creating a self-signed certificate is pretty straightforward. I just wanted to see if that step is necessary. Thank you!

← Back to Discussions