Re: EVP_DigestSign*() and EVP_DigestVerify*() - help needed

2013-08-19 Thread Thomas J Pinkl
On 08/16/2013 05:30 PM, Ken Goldman wrote: The usual cause of a padding error is that the private key used to sign does not correspond to the public key used to verify. That is, unless you're a newbie to crypto. In that case the error is that you're passing the length of an encrypted blob

Re: [openssl-users] Re: Displaying cert with ecdsa

2013-08-19 Thread Erwann Abalea
Le 16/08/2013 20:10, Robert Moskowitz a écrit : On 08/14/2013 05:37 PM, Dave Thompson wrote: From: owner-openssl-us...@openssl.org On Behalf Of Robert Moskowitz Sent: Wednesday, 14 August, 2013 15:49 I have a CA cert in pem format that uses ecdsa. I have tried to display the contents with:

RE: openssl verify failure: Re: create certificate chain

2013-08-19 Thread Dave Thompson
From: owner-openssl-us...@openssl.org On Behalf Of sherry Sent: Friday, 16 August, 2013 20:09 Hi Dirk, (This is an open list, so I'll answer.) snip: genrsa and req -new -x509 for ca, genrsa and req -new and x509 -req for ca-int, genrsa and req -new and x509 -req for server Aside: I hope

RE: SSL certificate and CA signed and -purpose

2013-08-19 Thread Dave Thompson
From: owner-openssl-us...@openssl.org On Behalf Of redpath Sent: Sunday, 18 August, 2013 08:12 I only deal with DSA processes so this is new to me and I have created a CA and want to create an SSL cert for a server (signed by the CA) and I am trying to understand the -purpose output for

RE: SSL certificate and CA signed and -purpose

2013-08-19 Thread redpath
What I meant by DSA (not to spell it out Digital Signature Algorithms) is that most of my work is using certs for signing data not creating an SSL cert and signing with a CA. Thanks a bunch for answering my question to 1) verify that the cert is signed by the CA I use this command

Re: simple file encrypt/decrypt

2013-08-19 Thread Eric Raunig
That is a very broad question. Here is an example in PHP: http://www.w3schools.com/php/func_string_sha1.asp On Sat, Aug 17, 2013 at 7:15 AM, Ztatik Light ztatik.li...@gmail.comwrote: anyone have simple code for encrypting/decrypting a file with a specified key using a specified cipher ?