RSA Private Key Algortthm

2008-10-04 Thread Mike -- EMAIL IGNORED
Where can I find a detailed description of how to
compute the RSA private key?  Well structured C
or C++ code might do.

Thanks,
Mike.

__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   [EMAIL PROTECTED]


Re: RSA Private Key Algortthm

2008-10-04 Thread Mike -- EMAIL IGNORED
On Sat, 04 Oct 2008 18:20:45 -0700, David Schwartz wrote:

[...]

 http://en.wikipedia.org/wiki/RSA
 
 In the section Operation, the first set of 5 steps beginning with
 Choose two distinct large random prime numbers p and q documents the
 process of computing an RSA private key.
 
 If you want example code, the OpenSSL distribution includes that in
 appls/genrsa.c.
 
 DS
 
[...]

I have been looking at the article you mention, and it
does not provide enough detail.  In particular, in the
terms of that article, it indicates that Eve could
compute d if she could factor n to obtain p and q.  I
assume that if I knew how d is computed, I would see
why this is so.  I do not see this in the article,
and I have not been able to goog it.

Mike.

__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   [EMAIL PROTECTED]


-passout problem?

2008-02-11 Thread Mike -- EMAIL IGNORED
I am trying to use openssl to create a password protected
key in openvpn, but not succeeding.  I am not sure I am
doing it correctly.

With:

# openssl version
OpenSSL 0.9.8b 04 May 2006

# uname -a
Linux mbrc32 2.6.22.1-41.fc7 #1 SMP Fri Jul 27 18:10:34 EDT 2007
   i686 athlon i386 GNU/Linux

# echo $vpnFullPassFile
/root/code/keygen/vpn_targ/passVPNfull.txt

from:

# openssl req -days 3650 -new -keyout $1.key -out $1.csr
   -config $KEY_CONFIG -passout file:$vpnFullPassFile

I get:

file /root/code/keygen/vpn_targ/passVPNfull.txt is not present

but:

# ll /root/code/keygen/vpn_targ/passVPNfull.txt
-r 1 root root 36 2008-02-11 11:43
   /root/code/keygen/vpn_targ/passVPNfull.txt

Thanks for your help.
Mike.

__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   [EMAIL PROTECTED]