Hi,
i'm creating a little client/server program using C. i need to read a
rsa from pem file (so using PEM_read_RSAPublicKey) and then send the
key to a server (the message can be only a string type) which reads a
rsa public key from another pem file and return, comparing keys, is are
egual
[EMAIL PROTECTED] ha scritto:
Hello,
[EMAIL PROTECTED] wrote on 06/25/2008 04:10:45 PM:
Hi,
i'm creating a little client/server program using C. i need to read a
rsa from pem file (so using PEM_read_RSAPublicKey) and then send the
key to a server (the message can be only a string type)
Tnx for response and your patient.
Returning on reading with read() may I ask you about comment header and
footer? It's safe to jump lines of file pem starting with - or it's
possible that the key contain the char - ?
tnx
-Messaggio originale-
Da: [EMAIL PROTECTED] [mailto:[EMAIL
Hi,
i'm using OpenSolaris 2008.05 snv_91. if i try to compile with gcc -lssl
file.c receive this error:
Undefinedfirst referenced
symbol in file
PEM_read_RSAPublicKey /var/tmp//ccIla4Ec.o (symbol
belongs to implicit dependency
hi again,
i created a publickey.pem with command:
openssl rsa -in myprivate.pem -pubout -out publickey.pem
then in C i try to read this public key with:
RSA *pubkey = PEM_read_RSAPublicKey(fp, NULL, NULL, NULL)
where fp is the opened publickey.pem file.
but it's return this error:
Excuse me,
I'm trying, using C, to do a simple sign and verify with RSA public and
private keys on pem files.
Which is the easy way?
Someone have some sample ?
TNX
-Messaggio originale-
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Per conto di David Schwartz
Inviato: venerdì 27 giugno
No no i do it correct.
PEM_read_RSAPrivateKey()
RSA_sign()
For sign and:
PEM_read_RSAPublicKey()
RSA_verify()
For verify
-Messaggio originale-
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Per conto di Kenneth Goldman
Inviato: lunedì 30 giugno 2008 14.58
A: openssl-users@openssl.org
Hi,
plz someone can tell me how make a md5 checksum of a file from a c program ?
I need to create a program which check md5 of another program, if checksum
match with one memorized the program will be exec.
TNX
_
Marco Sommella
mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] (E-mail
Hi,
I'm using OpenSSL 0.9.8a 11 Oct 2005 (+ security patches to 2007-10-13)
on opensolaris 2008.11 b97 and programming in C.
My question is about the message digest *m used into functions in object.*
**
*I have notice a strange *behavior concerning the length of this
string: if too long
methods for signatures.
but i didn't really understand it :-)
can someone plz explain what kind of limitations there are concerning the
message digest m ?
Thanks a lot
--
--
Marco Sommella
[EMAIL PROTECTED] (E-Mail MSN)
--
methods for signatures.
but i didn't really understand it :-)
can someone plz explain what kind of limitations there are concerning the
message digest m ?
Thanks a lot
--
--
Marco Sommella
[EMAIL PROTECTED] (E-Mail MSN)
--
Hi,
I'm using OpenSSL 0.9.8a 11 Oct 2005 (+ security patches to 2007-10-13)
on
opensolaris 2008.11 b97 and programming in C.
My question is about the message digest *m used into functions in
object.*
**
*I have notice a strange *behavior concerning the length of this
string:
if too long
:0906D06C:PEM routines:PEM_read_bio:no start
line:/export/builds/onnv_101a/usr/src/common/openssl/crypto/pem/pem_lib.c:644:Expecting:
PUBLIC KEY
Can somebody plz help me ?
TNX
--
--
Marco Sommella
[EMAIL PROTECTED] (E-Mail MSN)
--
BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 12.0 MIMEDIR//EN
VERSION:2.0
METHOD:REPLY
X-MS-OLK-FORCEINSPECTOROPEN:TRUE
BEGIN:VEVENT
ATTENDEE;PARTSTAT=ACCEPTED:mailto:marco.somme...@gmail.com
CLASS:PUBLIC
CREATED:20081213T033221Z
DTEND:20090211T00Z
DTSTAMP:20081213T033221Z
14 matches
Mail list logo