Our app using JWT tokens signed by RSA key and we generated a keypair using Java's keytool
. We're rebuilding a few APIs in go
and trying to figure out how to read the generated keypair using go so that we can validate the tokens.
How do we go about building this - are there any APIs in go or should we resort to any third-party libraries?