Chelo Malagon CSIC RedIRIS wrote:
> 
> Hello folks!
> I don't know if this is the apropiate forum to ask this question, but
> I would apreciate if someone could tell me how to obtain the PQG
> parameter to pass to the KEYGEN tag for generating DSA keys.
> I'm trying to use the dsaparam command of the openssl to generate a
> PEM file with the parameters needed.
> 
> Has someone used this tag to generate DSA keys?
> 

Yes.

You take the ouput of dsaparam, delete BEGIN and END lines, concatenate
the result so its all on one line and put that in PQG. Alternatively:

openssl dsaparam -out dsa.der -outform DER ...
openssl base64 -in dsa.der -A 

should do the trick.

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to