logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

openssl-dsaparam - DSA parameter manipulation and generation

Description

       This command is used to manipulate or generate DSA parameter files.

       DSA parameter generation can be a slow process and as a result the same set of DSA parameters is often
       used to generate several distinct keys.

History

       The -engine option was deprecated in OpenSSL 3.0.

       The -C option was removed in OpenSSL 3.0.

Name

       openssl-dsaparam - DSA parameter manipulation and generation

Options

-help
           Print out a usage message.

       -informDER|PEM
           The DSA parameters input format; unspecified by default.  See openssl-format-options(1) for details.

       -outformDER|PEM
           The DSA parameters output format; the default is PEM.  See openssl-format-options(1) for details.

           Parameters are a sequence of ASN.1INTEGERs: p, q, and g.  This is compatible with RFC 2459 DSS-Parms
           structure.

       -infilename
           This  specifies  the  input  filename to read parameters from or standard input if this option is not
           specified. If the numbits parameter is included then this option will be ignored.

       -outfilename
           This specifies the output filename parameters to. Standard output is  used  if  this  option  is  not
           present. The output filename should not be the same as the input filename.

       -noout
           This option inhibits the output of the encoded version of the parameters.

       -text
           This option prints out the DSA parameters in human readable form.

       -genkey
           This option will generate a DSA either using the specified or generated parameters.

       -verbose
           Print extra details about the operations being performed.

       -quiet
           Print fewer details about the operations being performed, which may be handy during batch scripts and
           pipelines.

       -randfiles, -writerandfile
           See "Random State Options" in openssl(1) for details.

       -engineid
           See "Engine Options" in openssl(1).  This option is deprecated.

       numbits
           This  optional  argument  specifies that a parameter set should be generated of size numbits. If this
           argument is included then the input file (if any) is ignored.

       numqbits
           This optional argument specifies that a parameter set should be generated with a subprime parameter q
           of size numqbits. It must be the last argument. If this argument is included then the input file  (if
           any) is ignored.

       -providername-provider-pathpath-propquerypropq
           See "Provider Options" in openssl(1), provider(7), and property(7).

See Also

openssl(1), openssl-pkeyparam(1), openssl-gendsa(1), openssl-dsa(1), openssl-genrsa(1), openssl-rsa(1)

Synopsis

openssldsaparam [-help] [-informDER|PEM] [-outformDER|PEM] [-infilename] [-outfilename] [-noout]
       [-text] [-genkey] [-verbose] [-quiet] [-randfiles] [-writerandfile] [-engineid] [-providername]
       [-provider-pathpath] [-propquerypropq] [numbits] [numqbits]

See Also