RE: sign data and verify it

2014-11-05 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Amir Reda > Sent: Wednesday, November 05, 2014 02:42 > 1- i generate rsa key pairs and try to print it in a pem file but when i open > the file it was empty You never close or even flush the file. openssl uses C I/O and C I/O by default is us

RE: sign data and verify it

2014-11-03 Thread Jeremy Farrell
Please read all of Jeff's message. As well as checking that OpenSSL is installed, he told you that you need to link against OpenSSL's libcrypto as well as against OpenSSL's libssl. In the linker command you show below, change '-lssl' to '-lssl -lcrypto'.   Regards, jj

Re: sign data and verify it

2014-11-03 Thread Amir Reda
dear sir i already installed ssl lib i use this command amir@amir-Master:~$ sudo apt-get install libssl-dev [sudo] password for amir: Reading package lists... Done Building dependency tree Reading state information... Done libssl-dev is already the newest version. 0 upgraded, 0 newly installed, 0 t

Re: sign data and verify it

2014-10-31 Thread Jeffrey Walton
On Fri, Oct 31, 2014 at 6:57 AM, Amir Reda wrote: > dear all i made a code for sign some data and verify it i am using eclipse > as IDE and ubuntu 13.10 i have linked eclipse with ssl lib and crypto++ > which i use in this code i got an error > > Invoking: Cross G++ Linker > g++ -L/usr/include/ope