Arduino icon indicating copy to clipboard operation
Arduino copied to clipboard

Q: ESP8266/axTLS X509 sign and sign verification

Open capablegh opened this issue 10 years ago • 2 comments

Is there capability to sign a small string or integer value (say 128 bits) using X509 cert/private key? Also, is there a capability to verify a signature given the CA cert/public key of signer is available? If yes, is there an example code for this, or some description?

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

capablegh avatar Apr 19 '16 04:04 capablegh

Perhaps I can use RSA_encrypt(...., int is_signing) for signing and RSA_decrypt(..., int is_decryption) for verifying the signature. Both are in 'crypto/rsa.c'. A reference Openssl lcode that seems to be with similar API may be https://wiki.openssl.org/index.php/EVP_Signing_and_Verifying.

capablegh avatar Apr 19 '16 05:04 capablegh

Closing per #3655 .

devyte avatar Oct 17 '17 18:10 devyte