rpms/crypto-utils/F-10 genkey.pl,1.27,1.28

Elio Maldonado emaldonado at fedoraproject.org
Mon Oct 5 04:12:36 UTC 2009


Author: emaldonado

Update of /cvs/extras/rpms/crypto-utils/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13756

Modified Files:
	genkey.pl 
Log Message:
Fix output format of CSRs, certs, and keysto be ascii PEM (#526720)


Index: genkey.pl
===================================================================
RCS file: /cvs/extras/rpms/crypto-utils/F-10/genkey.pl,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -p -r1.27 -r1.28
--- genkey.pl	20 May 2009 16:29:30 -0000	1.27
+++ genkey.pl	5 Oct 2009 04:12:35 -0000	1.28
@@ -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 fedora-extras-commits mailing list