Re: BER Format ?

2004-02-29 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Mon, 01 Mar 2004 15:30:31 +0800, "Surrealistic Dreamer" <[EMAIL PROTECTED]> said: surrealistic_dreamer> I need to convert the PEM X509 certificate to surrealistic_dreamer> the BER format ... can anybody tell me how to do surrealistic_dreamer> this using the OpenS

BER Format ?

2004-02-29 Thread Surrealistic Dreamer
Hi, I need to convert the PEM X509 certificate to the BER format ... can anybody tell me how to do this using the OpenSSL library ? Thanks. Peter. _ Download games, logos, wallpapers and lots more at MSN Mobile! http://www.msn.co

Re: questions about PGP keys used to sign openssl tar balls

2004-02-29 Thread Ben Laurie
Jin Zhao wrote: Looks like openssl tar balls are signed with a different PGP key for each source tar ball. For example, openssl-0.9.7b.tar.gz was signed using a key with key id E06D2CB1 and openssl-0.9.7c.tar.gz was signed with key id 49A563D9. My question is why not sign the released tar ball us

Re: rsa key generating with passphrase

2004-02-29 Thread Dr. Stephen Henson
On Sun, Feb 29, 2004, Claus Nagel wrote: > hello, I hope someone can help me with the following problem: > I'm trying to generate a rsa key pair in perl using the Crypt::RSA module. > this works fine so far. I am converting the resulting private key into PEM > format and it is checked ok by 'opens

rsa key generating with passphrase

2004-02-29 Thread Claus Nagel
hello, I hope someone can help me with the following problem: I'm trying to generate a rsa key pair in perl using the Crypt::RSA module. this works fine so far. I am converting the resulting private key into PEM format and it is checked ok by 'openssl rsa -in private.pem -check'. now i want this pr

RE: encrypt with RSA public key!

2004-02-29 Thread David Schwartz
Your message was so badly formatted that I couldn't reply to it. Please send only plain text to mailing lists. The answer, I think, to your question is that you want to use the 'd2i' functions. For example, there is 'd2i_RSAPublicKey_fp'. DS

Re: SHA-1 hash of public key

2004-02-29 Thread Dr. Stephen Henson
On Sat, Feb 28, 2004, Guido Noord wrote: > Hi Steve, all, > > If I am not mistaken, the i2d_RSA_PUBKEY method (i2d meaning > internal-to-DER?) does then indeed provide what I need, namely a method to > encode the RSA public key data into a single, portable, platform > independent data representat

Re: STACK

2004-02-29 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Sat, 28 Feb 2004 22:50:57 -0800 (PST), "S.Mehdi Sheikhalishahi" <[EMAIL PROTECTED]> said: sm_justice> Hi Group sm_justice> I want to use sk_pop to retreive the last item in sm_justice> stack I want to know that the what's the length of the sm_justice> returned c

Re: RSA_dup

2004-02-29 Thread Dr. Stephen Henson
On Sun, Feb 29, 2004, Richard Levitte - VMS Whacker wrote: > In message <[EMAIL PROTECTED]> on Sat, 28 Feb 2004 00:16:39 -0800 (PST), "S.Mehdi > Sheikhalishahi" <[EMAIL PROTECTED]> said: > > sm_justice> Hi All > sm_justice> I want to have a function that get an RSA* and return > sm_justice> a n

Replay attack prevention

2004-02-29 Thread Patrick Coleman
Hi, Am I right in thinking that OpenSSL prevents replay attacks by including a random nonce with each packet? Thanks, Patrick -- RedHerring: Linux wiki support and tutorials http://covox.sepwich.com/linux CECID: The CEnsorship CIrcumvention Device http://cecid.sf.net __

Memory BIO_pairs and SSL

2004-02-29 Thread Chris Rowe
Where's a good example that shows doing an SSL handshake with a memory BIO_pair?I want to do overlapped IO on sockets and pipes without going through the SSL_connect(), SSL_write(), etc. functions, but I'm not sure how to go about doing the handshake mechanics to perform the certificate e

Re: SHA-1 hash of public key

2004-02-29 Thread Guido Noord
Hi Steve, all, Thanks for the pointer to, among other things, i2d_RSA_PUBKEY. I am not sure of everything yet, but I can find out now, probably. To respond to your question: I try to do something similar to what is done in ssh: store the SHA-1 of a peer's public key into a local table (e.g., on d

Re: RSA_dup

2004-02-29 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Sat, 28 Feb 2004 00:16:39 -0800 (PST), "S.Mehdi Sheikhalishahi" <[EMAIL PROTECTED]> said: sm_justice> Hi All sm_justice> I want to have a function that get an RSA* and return sm_justice> a newly allocated RSA structure. sm_justice> RSA* RSA_new(RSA*); sm_justice

Re: encrypt with RSA public key!

2004-02-29 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Sat, 28 Feb 2004 15:55:10 +0800, "todayhill" <[EMAIL PROTECTED]> said: todayhill> encrypt with RSA public key! todayhill> but my public key come from a buffer,like char* buf,how can I use this buf encrypt my data?I know maybe use RSA struct,so how can I use that

STACK

2004-02-29 Thread S.Mehdi Sheikhalishahi
Hi Group I want to use sk_pop to retreive the last item in stack I want to know that the what's the length of the returned char*.For example What's the length of buf? in the following code. for(int i = 0;i < sk_num(skCerts);i++) { buf = sk_pop(skCerts); //? What's the length of buf?

RSA_dup

2004-02-29 Thread S.Mehdi Sheikhalishahi
Hi All I want to have a function that get an RSA* and return a newly allocated RSA structure. RSA* RSA_new(RSA*); I look for it on OpenSSL but doesn't exists.Everybody implement it. Thanks. __ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://an