Re: [openssl-users] Cannot read exported PKCS12 cert and private key

2017-04-28 Thread Viktor Dukhovni
On Mon, Mar 13, 2017 at 02:27:39AM -0700, Gary L Peskin wrote: > I exported a certificate and corresponding private key in base 64 encoded > DER format For the record, there is no such thing as base64-encoded DER format. DER a binary encoding of ASN.1. A format would be particular ASN.1 structur

Re: [openssl-users] EVP_MD_CTX and EVP_PKEY_CTX? How to init? How tofree?

2017-04-28 Thread Salz, Rich via openssl-users
I unsubscribed Ryan; he’ll have to rejoin. -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Re: [openssl-users] EVP_MD_CTX and EVP_PKEY_CTX? How to init properly? How to free correctly?

2017-04-28 Thread Salz, Rich via openssl-users
Once you "turn over" the MD to the MD_CTX, it's now owned by it and cleanup will happen with MD_CTX_free -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Re: [openssl-users] EVP_MD_CTX and EVP_PKEY_CTX? How to init properly? How to free correctly?

2017-04-28 Thread Blumenthal, Uri - 0553 - MITLL
Awesome. :-) But would anybody familiar enough with the EVP interface be kind enough to provide the answers? I can't believe there's nobody like that on this list, and I've seen harder questions answered here with deceptive ease. :-) Regards, Uri Sent from my iPhone > On Apr 28, 2017, at 18:5

Re: [openssl-users] EVP_MD_CTX and EVP_PKEY_CTX? How to init? How tofree?

2017-04-28 Thread Michael Wojcik
Actually, I think Ryan Murray's email account may be compromised. We've seen a number of odd messages from it over the past couple of days. Or he's running a DNN which has become self-aware and is spamming the list with its incoherent thoughts. Soon it will enlist the OpenSSL mail reflector in i

Re: [openssl-users] EVP_MD_CTX and EVP_PKEY_CTX? How to init? How tofree?

2017-04-28 Thread Blumenthal, Uri - 0553 - MITLL
I see. I appreciate your willingness to help, but it would've been far better if you answered those very specific and unambiguous questions that I explicitly asked, instead of trying to guess/conjecture what the high level purpose of that whole exercise was. As it happens, I've no interest and

Re: [openssl-users] EVP_MD_CTX and EVP_PKEY_CTX? How to init? How tofree?

2017-04-28 Thread Ryan Murray
REMOTE LOGIN PROTOCOLS A client/server model can create a mechanism that allows a user to establish a session on the remote machine and then run its applications. This application is known as remote login. This can be done by a client/server application program for the desired service.

Re: [openssl-users] EVP_MD_CTX and EVP_PKEY_CTX? How to init? How tofree?

2017-04-28 Thread Ryan Murray
Maybe this should have been run in a virtual enviroment Sent from Mail for Windows 10 From: Blumenthal, Uri - 0553 - MITLL Sent: Friday, April 28, 2017 4:33 PM To: openssl-users@openssl.org Subject: [openssl-users] EVP_MD_CTX and EVP_PKEY_CTX? How to init? How tofree? I’m playing with RSA-PSS si

[openssl-users] EVP_MD_CTX and EVP_PKEY_CTX? How to init? How to free?

2017-04-28 Thread Blumenthal, Uri - 0553 - MITLL
I’m playing with RSA-PSS signatures, and stumbled upon a few problems. I tried the OpenSSL manual pages, but still coming short of complete understanding. :-) This is how I initialize the contexts (error handlers removed for brevity):   ctx = EVP_PKEY_CTX_new(privkey, NULL);   md_

[openssl-users] Doubt regarding ExtendedMasterSecret

2017-04-28 Thread Stiju Easo
Hi, I had a tool similar to SSLDump , which could decrypt SSL traffic (like Man in Middle). for this, I used to copy needed data to SSL* and used to call tls1_enc/ssl3_enc to decrypt data. Everything used to work fine extended master secret came up in SSL header, even if it has empty

Re: [openssl-users] Problem with DH key derivation

2017-04-28 Thread Josh Shamir
Thank you very much Matt! You solved my problem. Best regards, Josh On Fri, Apr 28, 2017 at 11:04 AM, Matt Caswell wrote: > > > On 28/04/17 08:07, Josh Shamir wrote: > > Dear all, > > > > I am trying DH key derivation by using OpenSSL commands. However, I got > > the following problem: > > >

Re: [openssl-users] Problem with DH key derivation

2017-04-28 Thread Matt Caswell
On 28/04/17 08:07, Josh Shamir wrote: > Dear all, > > I am trying DH key derivation by using OpenSSL commands. However, I got > the following problem: > > "140343063295640:error:0609B099:digital envelope > routines:EVP_PKEY_derive_set_peer:different parameters:pmeth_fn.c:314: > Public Key opera

[openssl-users] Problem with DH key derivation

2017-04-28 Thread Josh Shamir
Dear all, I am trying DH key derivation by using OpenSSL commands. However, I got the following problem: "140343063295640:error:0609B099:digital envelope routines:EVP_PKEY_derive_set_peer:different parameters:pmeth_fn.c:314: Public Key operation error 140343063295640:error:0507006C:Diffie-Hellman