From 1607d8ca473a14d9a30e15b56ce16f075538daee Mon Sep 17 00:00:00 2001 From: Ryan Riske Date: Sun, 1 Mar 2015 14:55:58 -0600 Subject: [PATCH] Update README.md --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7130ea5..44c13c6 100755 --- a/README.md +++ b/README.md @@ -1,12 +1,14 @@ -pubkey-converter +rsa-converter ================ -This is a script that will convert RSA public keys to and from various formats. +This is a script that will convert RSA keys between various formats. - usage: ./pubkey-converter.pl [-hrcp] < file + usage: ./rsa-converter [-hrcpqs] < file -h : print this message -r : output public key in Base64 RFC 3110 format -d : output public key in hexadecimal DER format -p : output public key in PEM format + -q : output private key in PEM format (must supply a private key) + -s : output private key in Racoon/strongSwan < 5.0 format (must supply a private key) ## System requirements * OpenSSL @@ -18,3 +20,6 @@ This is a script that will convert RSA public keys to and from various formats. ### Debian-based systems `apt-get install libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl libparse-recdescent-perl` + +### CPAN +`cpan install Crypt::OpenSSL::RSA Crypt::OpenSSL::Bignum Parse::RecDescent`