Posts by LordCapybara • 1 point
2 posts
-
0
votes2
answers90
viewsA: C - Openssl (d2i_RSA_PUBKEY, d2i_RSAPrivateKey and d2i_RSAPublicKey)
In Stackoverflow I got the answer (https://stackoverflow.com/a/36805530/6242158). I was running this code on Windows, and for Windows to handle binary files properly, just use the "Rb".…
-
0
votes2
answers90
viewsQ: C - Openssl (d2i_RSA_PUBKEY, d2i_RSAPrivateKey and d2i_RSAPublicKey)
I created a private RSA key via the following command: openssl genrsa -out keypair.pem 2048 I need these keys to be stored in DER format (PKCS#1). Thus, I converted this private key, which is in PEM…