How did I break this signature library?

2021-06-27 Thread Sage Gerard
Hi all, Context: https://github.com/zyrolasting/xiden/blob/master/crypto/crypto.c I compile this small EVP program into a dynamic library, in which libcrypto is statically linked. A nearby Racket program needs this dynamic library for a foreign function interface. I do things in an odd order, but

RE: "Expecting: ANY PRIVATE KEY"

2021-06-27 Thread Michel
Hi Mariano, My quick answer : your key file looks like an (old ?) custom *OpenSSH* format that *OpenSSL* cannot read natively. You should easily find an OpenSSH command or other free tools to converts between formats. Hope it helps, Michel. -Message d'origine- De : openssl-users [mail

"Expecting: ANY PRIVATE KEY"

2021-06-27 Thread Mariano Gedisman-Córdoba via openssl-users
Hello everyone! I have googled this error to no avail, but all answers don’t seem to adjust to my particular case, or maybe I’m too novice at figuring it out. I have this key file: -BEGIN OPENSSH PRIVATE KEY—— [key here] -END OPENSSH PRIVATE KEY—— I’m trying to use this key in order to

RE: [EXTERNAL] RE: Can OpenSSL handle multiple authentication mechanisms on the same SSL context?

2021-06-27 Thread Revestual, Raffy [AUTOSOL/PSS/MNL]
Thanks for the reply Michel! Looks like both SRP and PSK could co-exist on the same context. I also just got this to work. The only quirk that made this work is that I had to set the maximum version of the TLS version to 1.2 from the client side via SSL_CTX_set_max_proto_version. This was a pec