plainrsa-gen(8)


NAME

     plainrsa-gen --- generator for Plain RSA keys

SYNOPSIS

     plainrsa-gen [-b bits] [-e pubexp] [-f outfile] [-h]

DESCRIPTION

     plainrsa-gen can be used to generate Plain RSA keys for authentication
     purposes.  Using Plain RSA keys is optional.  Other possibilities are
     Pre-shared keys or X.509 certificates.

     -b bits
         bit length of the key.  Default is 1024, recommended length is
         2048 or even 4096 bits.  Note that generating longer keys takes
         longer time.

     -e pubexp
         value of RSA public exponent.  Default is 0x3.  Don't change this
         unless you really know what you are doing!

     -f outfile
         outfile instead of stdout.  If the file already exists it won't
         be overwritten.  You wouldn't like to lose your private key by
         accident, would you?

OUTPUT FILE FORMAT

     This is the secret private key that should never leave your computer:

     : RSA   {
         # RSA 1024 bits
         # pubkey=0sAQOrWlcwbAIdNSMhDt...
         Modulus: 0xab5a57306c021d3523...
         PublicExponent: 0x03
         PrivateExponent: 0x723c3a2048...
         Prime1: 0xd309b30e6adf9d85c01...
         Prime2: 0xcfdc2a8aa5b2b3c90e3...
         Exponent1: 0x8cb122099c9513ae...
         Exponent2: 0x8a92c7071921cd30...
         Coefficient: 0x722751305eafe9...
   }

     The line pubkey=0sAQOrW... of the private key contains a public key that
     should be stored in the other peer's configuration in this format:

     : PUB 0sAQOrWlcwbAIdNSMhDt...

     You can also specify from and to addresses for which the key is valid:

     0.0.0.0/0 10.20.30.0/24 : PUB 0sAQOrWlcwbAIdNSMhDt...

SEE ALSO

     racoon.conf(5), racoon(8)

HISTORY

     plainrsa-gen was written by Michal Ludvig michal@logix.cz and first
     appeared in ipsec-tools 0.4.


More Linux Commands

manpages/glEvalPoint.3gl.html
glEvalPoint(3gl) - generate and evaluate a single point in a
glMapGrid and glEvalMesh are used in tandem to efficiently generate and evaluate a series of evenly spaced map domain values. glEvalPoint can be used to evaluat

manpages/App::Prove::State::Result::Test.3pm.html
App::Prove::State::Result::Test(3pm) - Individual test resul
The prove command supports a --state option that instructs it to store persistent state across runs. This module encapsulates the results for a single test. SYN

manpages/SDL_MapRGB.3.html
SDL_MapRGB(3) - Map a RGB color value to a pixel format.....
Maps the RGB color value to the specified pixel format and returns the pixel value as a 32-bit int. If the format has a palette (8-bit) the index of the closest

manpages/radvd.conf.5.html
radvd.conf(5) - configuration file of the router advertiseme
This file describes the information which is included in the router advertisement (RA) of a specific interface. The file contains one or more interface definiti

manpages/intro.6.html
intro.6 - intro(6) - Introduction to games (Games - Linux manual page)
Section 6 of the manual describes all the games and funny little programs available on the system. NOTES Authors and copyright conditions Look at the header of

manpages/doupdate.3ncurses.html
doupdate(3ncurses) - refresh curses windows and lines.......
The refresh and wrefresh routines (or wnoutrefresh and doupdate) must be called to get actual output to the terminal, as other routines merely manipulate data s

manpages/Time::tm.3pm.html
Time::tm(3pm) - internal object used by Time::gmtime and Tim
This module is used internally as a base class by Time::localtime And Time::gmtime functions. It creates a Time::tm struct object which is addressable just like

manpages/gnutls_openpgp_set_recv_key_function.3.html
gnutls_openpgp_set_recv_key_function(3) - API function......
This funtion will set a key retrieval function for OpenPGP keys. This callback is only useful in server side, and will be used if the peer sent a key fingerprin

manpages/nsenter.1.html
nsenter(1) run program with namespaces of other processes...
Enters the namespaces of one or more other processes and then executes the specified program. Enterable namespaces are: mount namespace Mounting and unmounting

manpages/Tk_NameOfAnchor.3.html
Tk_NameOfAnchor(3) - translate between strings and anchor po
Tk_GetAnchorFromObj places in *anchorPtr an anchor position (enumerated type Tk_Anchor) corresponding to objPtrs value. The result will be one of TK_ANCHOR_N, T

manpages/XRestackWindows.3.html
XRestackWindows(3) - change window stacking order (ManPage)
The XRaiseWindow function raises the specified window to the top of the stack so that no sibling window obscures it. If the windows are regarded as overlapping

manpages/Mail::SpamAssassin::Plugin::AccessDB.3pm.html
Mail::SpamAssassin::Plugin::AccessDB(3pm) - check message ag
Many MTAs support access databases, such as Sendmail, Postfix, etc. This plugin does similar checks to see whether a message would have been flagged. The rule r





We can't live, work or learn in freedom unless the software we use is free.