0

I have an password protected key looking like

-----BEGIN ENCRYPTED PRIVATE KEY-----
...

I can use the OpenSSL command line to remove the passphrase to

-----BEGIN RSA PRIVATE KEY-----
...

I'm using GRPC and want to use a secure connection, GRPC API enforces I pass the unencrypted text .

How do I remove that passphrase from the encrypted text in C++. I currently only have access to the BoringSSL implementation (inc with GRPC) so the BoringSSL function I need would be best, failing that if anyone can tell me the OpenSSL function I'd need I'll figure it out

Jay Evans
  • 211
  • 4
  • 7

0 Answers0