rpms/crypto-utils/F-12 genkey.pl,1.28,1.29
Elio Maldonado
emaldonado at fedoraproject.org
Fri Oct 2 18:14:45 UTC 2009
Author: emaldonado
Update of /cvs/extras/rpms/crypto-utils/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv640
Modified Files:
genkey.pl
Log Message:
Output CSRs, certs, and key in ascii PEM format, nor raw DER (#526720)
Index: genkey.pl
===================================================================
RCS file: /cvs/extras/rpms/crypto-utils/F-12/genkey.pl,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -p -r1.28 -r1.29
--- genkey.pl 20 May 2009 15:53:54 -0000 1.28
+++ genkey.pl 2 Oct 2009 18:14:45 -0000 1.29
@@ -1086,7 +1086,8 @@ sub genRequestOpenSSL
my $args = "-c genreq ";
$args .= "-g $bits ";
$args .= "-s $subject ";
- $args .= "-v $months ";
+ $args .= "-v $months ";
+ $args .= "-a "; ## using ascii
$args .= "-o $csrfile ";
$args .= "-k $keyfile ";
$args .= "-e $keyEncPassword " if $keyEncPassword;
@@ -1166,6 +1167,7 @@ sub renewCertOpenSSL
# This is a request where we reuse the existing key pair
my $args = "--command genreq ";
+ $args .= "--ascii "; ## using ascii
$args .= "--renew $certfile ";
$args .= "--input $keyfile ";
$args .= "--cacert " if $cacert;
More information about the scm-commits
mailing list