Aligning Key Sizes Between OpenSSL and liboqs-go for Signature Verification in Go
I am developing a cryptographic application in Go, aiming to utilize keys generated by both OpenSSL and liboqs-go
for signing and verifying purposes. I’m using the Dilithium2 algorithm through both libraries, but I’m encountering an issue where the sizes of the generated keys are different, which might affect their interchangeability for signing and verifying processes. Here’s how I am currently generating and serializing the keys using both libraries:
How to Generate Dilithium Keys with `liboqs-go` and Convert Them to PEM Format for OpenSSL
I am trying to using the liboqs-go
library to generate cryptographic keys with post-quantum algorithms and need to use these keys with OpenSSL to generate CSRs and certificates. However, I’m facing challenges with initializing the signer, generating keys, and especially converting them into a PEM format that OpenSSL can use.