home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2005 June / PCpro_2005_06.ISO / files / opensource / gnupg / gnupg-w32cli-1.4.1.exe / Doc / README.txt < prev   
Encoding:
Text File  |  2005-03-15  |  30.3 KB  |  771 lines

  1.  
  2.             GnuPG - The GNU Privacy Guard
  3.            -------------------------------
  4.                 Version 1.4.1
  5.  
  6.      Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  7.          2005 Free Software Foundation, Inc.
  8.  
  9.     This file is free software; as a special exception the author
  10.     gives unlimited permission to copy and/or distribute it, with or
  11.     without modifications, as long as this notice is preserved.
  12.  
  13.     This file is distributed in the hope that it will be useful, but
  14.     WITHOUT ANY WARRANTY, to the extent permitted by law; without even
  15.     the implied warranty of MERCHANTABILITY or FITNESS FOR A
  16.     PARTICULAR PURPOSE.
  17.  
  18.  
  19.     Intro
  20.     -----
  21.  
  22.     GnuPG is GNU's tool for secure communication and data storage.
  23.     It can be used to encrypt data and to create digital signatures.
  24.     It includes an advanced key management facility and is compliant
  25.     with the proposed OpenPGP Internet standard as described in RFC2440.
  26.  
  27.     GnuPG works best on GNU/Linux or *BSD systems.  Most other Unices
  28.     are also supported but are not as well tested as the Free Unices.
  29.     See http://www.gnupg.org/download/supported_systems.html for a
  30.     list of systems which are known to work.
  31.  
  32.     See the file COPYING for copyright and warranty information.
  33.  
  34.     Because GnuPG does not use use any patented algorithms it is not
  35.     by default fully compatible with PGP 2.x, which uses the patented
  36.     IDEA algorithm.  See http://www.gnupg.org/why-not-idea.html for
  37.     more information on this subject, including what to do if you are
  38.     legally entitled to use IDEA.
  39.  
  40.     The default public key algorithms are DSA and Elgamal, but RSA is
  41.     also supported.  Symmetric algorithms available are AES (with 128,
  42.     192, and 256 bit keys), 3DES, Blowfish, CAST5 and Twofish.  Digest
  43.     algorithms available are MD5, RIPEMD/160, SHA-1, SHA-256, SHA-384,
  44.     and SHA-512.  Compression algorithms available are ZIP, ZLIB, and
  45.     BZIP2 (with libbz2 installed).
  46.  
  47.  
  48.     Installation
  49.     ------------
  50.     Please read the file INSTALL and the sections in this file
  51.     related to the installation.  Here is a quick summary:
  52.  
  53.     1) Check that you have unmodified sources.  See below on how to do
  54.        this.  Don't skip it - this is an important step!
  55.  
  56.     2) Unpack the tarball.  With GNU tar you can do it this way:
  57.        "tar xzvf gnupg-x.y.z.tar.gz".  If got a bzip2 compressed
  58.        tarball you need to use: "tar xjvf gnupg-x.y.z.tar.bz2".
  59.  
  60.     3) "cd gnupg-x.y.z"
  61.  
  62.     4) "./configure"
  63.  
  64.     5) "make"
  65.  
  66.     6) "make install"
  67.  
  68.     7) You end up with a "gpg" binary in /usr/local/bin.
  69.  
  70.     8) To avoid swapping out of sensitive data, you can install "gpg"
  71.        setuid root.  If you don't do so, you may want to add the
  72.        option "no-secmem-warning" to ~/.gnupg/gpg.conf
  73.  
  74.  
  75.     How to Verify the Source
  76.     ------------------------
  77.     In order to check that the version of GnuPG which you are going to
  78.     install is an original and unmodified one, you can do it in one of
  79.     the following ways:
  80.  
  81.     a) If you already have a trusted Version of GnuPG installed, you
  82.        can simply check the supplied signature:
  83.  
  84.     $ gpg --verify gnupg-x.y.z.tar.gz.asc
  85.  
  86.        This checks that the detached signature gnupg-x.y.z.tar.gz.asc
  87.        is indeed a a signature of gnupg-x.y.z.tar.gz.  The key used to
  88.        create this signature is:
  89.  
  90.        "pub  1024D/57548DCD 1998-07-07 Werner Koch (gnupg sig) <dd9jn@gnu.org>"
  91.  
  92.        If you do not have this key, you can get it from the source in
  93.        the file doc/samplekeys.asc (use "gpg --import  doc/samplekeys.asc"
  94.        to add it to the keyring) or from any keyserver.  You have to
  95.        make sure that this is really the key and not a faked one. You
  96.        can do this by comparing the output of:
  97.  
  98.         $ gpg --fingerprint 0x57548DCD
  99.  
  100.        with the fingerprint published elsewhere.
  101.  
  102.        Please note, that you have to use an old version of GnuPG to
  103.        do all this stuff.  *Never* use the version which you are going
  104.        to check!
  105.  
  106.  
  107.     b) If you don't have any of the above programs, you have to verify
  108.        the SHA1 checksum:
  109.  
  110.     $ sha1sum gnupg-x.y.z.tar.gz
  111.  
  112.        This should yield an output _similar_ to this:
  113.  
  114.     fd9351b26b3189c1d577f0970f9dcadc1234abcd  gnupg-x.y.z.tar.gz
  115.  
  116.        Now check that this checksum is _exactly_ the same as the one
  117.        published via the announcement list and probably via Usenet.
  118.  
  119.  
  120.     Documentation
  121.     -------------
  122.  
  123.     The manual will be distributed separately under the name "gph".
  124.     An online version of the latest manual draft is available at the
  125.     GnuPG web pages:
  126.  
  127.     http://www.gnupg.org/documentation/
  128.  
  129.     A list of frequently asked questions is available in the GnuPG
  130.     distribution in the file doc/FAQ and online as:
  131.  
  132.     http://www.gnupg.org/documentation/faqs.html
  133.  
  134.     A couple of HOWTO documents are available online; for a listing see:
  135.  
  136.     http://www.gnupg.org/documentation/howtos.html
  137.  
  138.     A man page with a description of all commands and options gets installed
  139.     along with the program. 
  140.  
  141.  
  142.     Introduction
  143.     ------------
  144.     Here is a brief overview on how to use GnuPG - it is strongly suggested
  145.     that you read the manual and other information about the use of
  146.     cryptography.  GnuPG is only a tool, secure usage requires that
  147.     YOU KNOW WHAT YOU ARE DOING.
  148.  
  149.     The first time you run gpg, it will create a .gnupg directory in
  150.     your home directory and populate it with a default configuration
  151.     file.  Once this is done, you may create a new key, or if you
  152.     already have keyrings from PGP, you can import them into GnuPG
  153.     with:
  154.  
  155.         gpg --import path/to/pgp/keyring/pubring.pkr
  156.     and
  157.         gpg --import path/to/pgp/keyring/secring.skr
  158.  
  159.     The normal way to create a key is
  160.  
  161.     gpg --gen-key
  162.  
  163.     This asks some questions and then starts key generation. To create
  164.     good random numbers for the key parameters, GnuPG needs to gather
  165.     enough noise (entropy) from your system.  If you see no progress
  166.     during key generation you should start some other activities such
  167.     as moving the mouse or hitting the CTRL and SHIFT keys.
  168.  
  169.     Generate a key ONLY on a machine where you have direct physical
  170.     access - don't do it over the network or on a machine also used
  171.     by others, especially if you have no access to the root account.
  172.  
  173.     When you are asked for a passphrase use a good one which you can
  174.     easily remember.  Don't make the passphrase too long because you
  175.     have to type it for every decryption or signing; but, - AND THIS
  176.     IS VERY IMPORTANT - use a good one that is not easily to guess
  177.     because the security of the whole system relies on your secret key
  178.     and the passphrase that protects it when someone gains access to
  179.     your secret keyring.  One good way to select a passphrase is to
  180.     figure out a short nonsense sentence which makes some sense for
  181.     you and modify it by inserting extra spaces, non-letters and
  182.     changing the case of some characters - this is really easy to
  183.     remember especially if you associate some pictures with it.
  184.  
  185.     Next, you should create a revocation certificate in case someone
  186.     gets knowledge of your secret key or you forgot your passphrase
  187.  
  188.     gpg --gen-revoke your_user_id
  189.  
  190.     Run this command and store the revocation certificate away.  The output
  191.     is always ASCII armored, so that you can print it and (hopefully
  192.     never) re-create it if your electronic media fails.
  193.  
  194.     Now you can use your key to create digital signatures
  195.  
  196.     gpg -s file
  197.  
  198.     This creates a file "file.gpg" which is compressed and has a
  199.     signature attached.
  200.  
  201.     gpg -sa file
  202.  
  203.     Same as above, but creates a file "file.asc" which is ASCII armored
  204.     and and ready for sending by mail.    It is better to use your
  205.     mailers features to create signatures (The mailer uses GnuPG to do
  206.     this) because the mailer has the ability to MIME encode such
  207.     signatures - but this is not a security issue.
  208.  
  209.     gpg -s -o out file
  210.  
  211.     Creates a signature of "file", but writes the output to the file
  212.     "out".
  213.  
  214.     Everyone who knows your public key (you can and should publish
  215.     your key by putting it on a key server, a web page or in your .plan
  216.     file) is now able to check whether you really signed this text
  217.  
  218.     gpg --verify file
  219.  
  220.     GnuPG now checks whether the signature is valid and prints an
  221.     appropriate message.  If the signature is good, you know at least
  222.     that the person (or machine) has access to the secret key which
  223.     corresponds to the published public key.
  224.  
  225.     If you run gpg without an option it will verify the signature and
  226.     create a new file that is identical to the original.  gpg can also
  227.     run as a filter, so that you can pipe data to verify trough it
  228.  
  229.     cat signed-file | gpg | wc -l
  230.  
  231.     which will check the signature of signed-file and then display the
  232.     number of lines in the original file.
  233.  
  234.     To send a message encrypted to someone you can use
  235.  
  236.     gpg -e -r heine file
  237.  
  238.     This encrypts "file" with the public key of the user "heine" and
  239.     writes it to "file.gpg"
  240.  
  241.     echo "hello" | gpg -ea -r heine | mail heine
  242.  
  243.     Ditto, but encrypts "hello\n" and mails it as ASCII armored message
  244.     to the user with the mail address heine.
  245.  
  246.     gpg -se -r heine file
  247.  
  248.     This encrypts "file" with the public key of "heine" and writes it
  249.     to "file.gpg" after signing it with your user id.
  250.  
  251.     gpg -se -r heine -u Suttner file
  252.  
  253.     Ditto, but sign the file with your alternative user id "Suttner"
  254.  
  255.  
  256.     GnuPG has some options to help you publish public keys.  This is
  257.     called "exporting" a key, thus
  258.  
  259.     gpg --export >all-my-keys
  260.  
  261.     exports all the keys in the keyring and writes them (in a binary
  262.     format) to "all-my-keys".  You may then mail "all-my-keys" as an
  263.     MIME attachment to someone else or put it on an FTP server. To
  264.     export only some user IDs, you give them as arguments on the command
  265.     line.
  266.  
  267.     To mail a public key or put it on a web page you have to create
  268.     the key in ASCII armored format
  269.  
  270.     gpg --export --armor | mail panther@tiger.int
  271.  
  272.     This will send all your public keys to your friend panther.
  273.  
  274.     If you have received a key from someone else you can put it
  275.     into your public keyring.  This is called "importing"
  276.  
  277.     gpg --import [filenames]
  278.  
  279.     New keys are appended to your keyring and already existing
  280.     keys are updated. Note that GnuPG does not import keys that
  281.     are not self-signed.
  282.  
  283.     Because anyone can claim that a public key belongs to her
  284.     we must have some way to check that a public key really belongs
  285.     to the owner.  This can be achieved by comparing the key during
  286.     a phone call.  Sure, it is not very easy to compare a binary file
  287.     by reading the complete hex dump of the file - GnuPG (and nearly
  288.     every other program used for management of cryptographic keys)
  289.     provides other solutions.
  290.  
  291.     gpg --fingerprint <username>
  292.  
  293.     prints the so called "fingerprint" of the given username which
  294.     is a sequence of hex bytes (which you may have noticed in mail
  295.     sigs or on business cards) that uniquely identifies the public
  296.     key - different keys will always have different fingerprints.
  297.     It is easy to compare fingerprints by phone and I suggest
  298.     that you print your fingerprint on the back of your business
  299.     card.  To see the fingerprints of the secondary keys, you can
  300.     give the command twice; but this is normally not needed.
  301.  
  302.     If you don't know the owner of the public key you are in trouble.
  303.     Suppose however that friend of yours knows someone who knows someone
  304.     who has met the owner of the public key at some computer conference.
  305.     Suppose that all the people between you and the public key holder
  306.     may now act as introducers to you.    Introducers signing keys thereby
  307.     certify that they know the owner of the keys they sign.  If you then
  308.     trust all the introducers to have correctly signed other keys, you
  309.     can be be sure that the other key really belongs to the one who
  310.     claims to own it..
  311.  
  312.     There are 2 steps to validate a key:
  313.     1. First check that there is a complete chain
  314.        of signed keys from the public key you want to use
  315.        and your key and verify each signature.
  316.     2. Make sure that you have full trust in the certificates
  317.        of all the introduces between the public key holder and
  318.        you.
  319.     Step 2 is the more complicated part because there is no easy way
  320.     for a computer to decide who is trustworthy and who is not.  GnuPG
  321.     leaves this decision to you and will ask you for a trust value
  322.     (here also referenced as the owner-trust of a key) for every key
  323.     needed to check the chain of certificates.    You may choose from:
  324.       a) "I don't know" - then it is not possible to use any
  325.      of the chains of certificates, in which this key is used
  326.      as an introducer, to validate the target key.    Use this if
  327.      you don't know the introducer.
  328.       b) "I do not trust" - Use this if you know that the introducer
  329.      does not do a good job in certifying other keys.  The effect
  330.      is the same as with a) but for a) you may later want to
  331.      change the value because you got new information about this
  332.      introducer.
  333.       c) "I trust marginally" - Use this if you assume that the
  334.      introducer knows what he is doing.  Together with some
  335.      other marginally trusted keys, GnuPG validates the target
  336.      key then as good.
  337.       d) "I fully trust" - Use this if you really know that this
  338.      introducer does a good job when certifying other keys.
  339.      If all the introducer are of this trust value, GnuPG
  340.      normally needs only one chain of signatures to validate
  341.      a target key okay. (But this may be adjusted with the help
  342.      of some options).
  343.     This information is confidential because it gives your personal
  344.     opinion on the trustworthiness of someone else.  Therefore this data
  345.     is not stored in the keyring but in the "trustdb"
  346.     (~/.gnupg/trustdb.gpg).  Do not assign a high trust value just
  347.     because the introducer is a friend of yours - decide how well she
  348.     understands the implications of key signatures and you may want to
  349.     tell her more about public key cryptography so you can later change
  350.     the trust value you assigned.
  351.  
  352.     Okay, here is how GnuPG helps you with key management.  Most stuff
  353.     is done with the --edit-key command
  354.  
  355.     gpg --edit-key <keyid or username>
  356.  
  357.     GnuPG displays some information about the key and then prompts
  358.     for a command (enter "help" to see a list of commands and see
  359.     the man page for a more detailed explanation).  To sign a key
  360.     you select the user ID you want to sign by entering the number
  361.     that is displayed in the leftmost column (or do nothing if the
  362.     key has only one user ID) and then enter the command "sign" and
  363.     follow all the prompts.  When you are ready, give the command
  364.     "save" (or use "quit" to cancel your actions).
  365.  
  366.     If you want to sign the key with another of your user IDs, you
  367.     must give an "-u" option on the command line together with the
  368.     "--edit-key".
  369.  
  370.     Normally you want to sign only one user ID because GnuPG
  371.     uses only one and this keeps the public key certificate
  372.     small.  Because such key signatures are very important you
  373.     should make sure that the signatories of your key sign a user ID
  374.     which is very likely to stay for a long time - choose one with an
  375.     email address you have full control of or do not enter an email
  376.     address at all.  In future GnuPG will have a way to tell which
  377.     user ID is the one with an email address you prefer - because
  378.     you have no signatures on this email address it is easy to change
  379.     this address.  Remember, your signatories sign your public key (the
  380.     primary one) together with one of your user IDs - so it is not possible
  381.     to change the user ID later without voiding all the signatures.
  382.  
  383.     Tip: If you hear about a key signing party on a computer conference
  384.     join it because this is a very convenient way to get your key
  385.     certified (But remember that signatures have nothing to to with the
  386.     trust you assign to a key).
  387.  
  388.  
  389.     8 Ways to Specify a User ID
  390.     --------------------------
  391.     There are several ways to specify a user ID, here are some examples.
  392.  
  393.     * Only by the short keyid (prepend a zero if it begins with A..F):
  394.  
  395.     "234567C4"
  396.     "0F34E556E"
  397.     "01347A56A"
  398.     "0xAB123456
  399.  
  400.     * By a complete keyid:
  401.  
  402.     "234AABBCC34567C4"
  403.     "0F323456784E56EAB"
  404.     "01AB3FED1347A5612"
  405.     "0x234AABBCC34567C4"
  406.  
  407.     * By a fingerprint:
  408.  
  409.     "1234343434343434C434343434343434"
  410.     "123434343434343C3434343434343734349A3434"
  411.     "0E12343434343434343434EAB3484343434343434"
  412.  
  413.       The first one is a short fingerprint for PGP 2.x style keys.
  414.       The others are long fingerprints for OpenPGP keys.
  415.  
  416.     * By an exact string:
  417.  
  418.     "=Heinrich Heine <heinrichh@uni-duesseldorf.de>"
  419.  
  420.     * By an email address:
  421.  
  422.     "<heinrichh@uni-duesseldorf.de>"
  423.  
  424.     * By word match
  425.  
  426.     "+Heinrich Heine duesseldorf"
  427.  
  428.       All words must match exactly (not case sensitive) and appear in
  429.       any order in the user ID.  Words are any sequences of letters,
  430.       digits, the underscore and characters with bit 7 set.
  431.  
  432.     * Or by the usual substring:
  433.  
  434.     "Heine"
  435.     "*Heine"
  436.  
  437.       The '*' indicates substring search explicitly.
  438.  
  439.  
  440.     Batch mode
  441.     ----------
  442.     If you use the option "--batch", GnuPG runs in non-interactive mode and
  443.     never prompts for input data.  This does not even allow entering the
  444.     passphrase.  Until we have a better solution (something like ssh-agent),
  445.     you can use the option "--passphrase-fd n", which works like PGP's
  446.     PGPPASSFD.
  447.  
  448.     Batch mode also causes GnuPG to terminate as soon as a BAD signature is
  449.     detected.
  450.  
  451.  
  452.     Exit status
  453.     -----------
  454.     GnuPG returns with an exit status of 1 if in batch mode and a bad signature
  455.     has been detected or 2 or higher for all other errors.  You should parse
  456.     stderr or, better, the output of the fd specified with --status-fd to get
  457.     detailed information about the errors.
  458.  
  459.  
  460.     Configure options 
  461.     -----------------
  462.     Here is a list of configure options which are sometime useful 
  463.     for installation.
  464.  
  465.     --enable-static-rnd=<name> 
  466.                      Force the use of the random byte gathering
  467.              module <name>.  Default is either to use /dev/random
  468.              or the auto mode.  Value for name:
  469.                egd - Use the module which accesses the
  470.                  Entropy Gathering Daemon. See the webpages
  471.                  for more information about it.
  472.               unix - Use the standard Unix module which does not
  473.                  have a very good performance.
  474.              linux - Use the module which accesses /dev/random.
  475.                  This is the first choice and the default one
  476.                  for GNU/Linux or *BSD.
  477.                       auto - Compile linux, egd and unix in and 
  478.                              automagically select at runtime.
  479.   
  480.      --with-egd-socket=<name>
  481.                      This is only used when EGD is used as random
  482.                      gatherer. GnuPG uses by default "~/.gnupg/entropy"
  483.                      as the socket to connect EGD.  Using this option the
  484.                      socket name can be changed.  You may use any filename
  485.                      here with 2 exceptions:  a filename starting with
  486.                      "~/" uses the socket in the home directory of the user
  487.                      and one starting with a "=" uses a socket in the
  488.                      GnuPG home directory which is "~/.gnupg" by default.
  489.  
  490.      --without-readline
  491.                      Do not include support for the readline library
  492.                      even if it is available.  The default is to check
  493.                      whether the readline library is a available and
  494.                      use it to allow fancy command line editing.
  495.   
  496.      --with-included-zlib
  497.                      Forces usage of the local zlib sources. Default is
  498.              to use the (shared) library of the system.
  499.  
  500.      --with-zlib=<DIR>
  501.              Look for the system zlib in DIR.
  502.  
  503.      --with-bzip2=<DIR>
  504.              Look for the system libbz2 in DIR.
  505.  
  506.      --without-bzip2
  507.              Disable the BZIP2 compression algorithm.
  508.  
  509.      --with-included-gettext
  510.                      Forces usage of the local gettext sources instead of
  511.              the one provided by your system.
  512.  
  513.      --disable-nls
  514.                      Disable NLS support (See the file ABOUT-NLS)
  515.  
  516.      --enable-m-guard
  517.                      Enable the integrated malloc checking code. Please
  518.                      note that this feature does not work on all CPUs
  519.                      (e.g. SunOS 5.7 on UltraSparc-2) and might give
  520.                      you a bus error.
  521.  
  522.      --disable-dynload 
  523.                     If you have problems with dynamic loading, this
  524.                     option disables all dynamic loading stuff.  Note
  525.                     that the use of dynamic linking is very limited.
  526.  
  527.      --disable-asm
  528.                     Do not use assembler modules.  It is not possible 
  529.                     to use this on some CPU types.
  530.                     
  531.      --disable-exec
  532.                     Disable all remote program execution.  This
  533.             disables photo ID viewing as well as all keyserver
  534.             access.
  535.  
  536.      --disable-photo-viewers
  537.                     Disable only photo ID viewing.
  538.  
  539.      --disable-keyserver-helpers
  540.                     Disable only keyserver helpers.
  541.  
  542.      --disable-keyserver-path
  543.                     Disables the user's ability to use the exec-path
  544.             feature to add additional search directories when
  545.             executing a keyserver helper.
  546.  
  547.      --with-photo-viewer=FIXED_VIEWER
  548.                     Force the photo viewer to be FIXED_VIEWER and
  549.             disable any ability for the user to change it in
  550.             their options file.
  551.  
  552.      --disable-rsa
  553.             Removes support for the RSA public key algorithm.
  554.                     This can give a smaller gpg binary for places
  555.                     where space is tight.
  556.  
  557.      --disable-idea
  558.      --disable-cast5
  559.      --disable-blowfish
  560.      --disable-aes
  561.      --disable-twofish
  562.      --disable-sha256
  563.      --disable-sha512
  564.             Removes support for the selected symmetric or hash
  565.             algorithm.  This can give a smaller gpg binary for
  566.             places where space is tight.
  567.  
  568.             **** Note that if there are existing keys that
  569.             have one of these algorithms as a preference,
  570.             messages may be received that use one of these
  571.             algorithms and you will not be able to decrypt the
  572.             message! ****
  573.  
  574.             The public key preference list can be updated to
  575.             match the list of available algorithms by using
  576.             "gpg --edit-key (thekey)", and running the
  577.             "setpref" command.
  578.  
  579.      --enable-minimal
  580.             Build the smallest gpg binary possible (disables
  581.             all optional algorithms, disables keyserver
  582.             access, and disables photo IDs).  Specifically,
  583.             this means --disable-rsa --disable-idea,
  584.             --disable-cast5, --disable-blowfish,
  585.             --disable-aes, --disable-twofish,
  586.             --disable-sha256, --disable-sha512,
  587.             --without-bzip2, and --disable-exec.  Configure
  588.             command lines are read from left to right, so if
  589.             you want to have an "almost minimal"
  590.             configuration, you can do (for example)
  591.             "--enable-minimal --enable-rsa" to have RSA added
  592.             to the minimal build.
  593.  
  594.      --enable-key-cache=SIZE
  595.                     Set the internal key and UID cache size.  This has
  596.                     a significant impact on performance with large
  597.                     keyrings.  The default is 4096, but for use on
  598.                     platforms where memory is an issue, it can be set
  599.                     as low as 5.
  600.  
  601.      --disable-card-support
  602.                     Do not include smartcard support.  The default is
  603.                     to include support if all required libraries are
  604.                     available.
  605.  
  606.      --enable-selinux-support
  607.                     This prevents access to certain files and won't
  608.                     allow import or export of secret keys. 
  609.  
  610.      --enable-noexecstack
  611.                     Pass option --noexecstack to as.  Works only when
  612.                     using gcc.
  613.  
  614.      --disable-gnupg-iconv
  615.                     If iconv is available it is used to convert
  616.                     between utf-8 and the system character set.  This
  617.                     is in general the preferable solution.  However
  618.                     the code is new and under some cirumstances it may
  619.                     give different output than with the limited old
  620.                     support.  This option allows to explicity disable
  621.                     the use of iconv.  Note, that iconv is also
  622.                     disabled if gettext has been disabled.
  623.  
  624.      --enable-backsigs
  625.                     Enables "backsigs" support.  This is a currently
  626.             experimental solution to a subtle OpenPGP protocol
  627.             problem involving signing subkeys.  It is
  628.             specified in the 2440bis drafts that will become
  629.             the new OpenPGP standard, but is not finalized yet
  630.             and has not had interoperability testing.  Use at
  631.             your own risk.
  632.  
  633.  
  634.     Installation Problems
  635.     ---------------------
  636.     If you get unresolved externals "gettext" you should run configure
  637.     again with the option "--with-included-gettext"; this is version
  638.     0.12.1 which is available at ftp.gnu.org.
  639.  
  640.     If you have other compile problems, try the configure options
  641.     "--with-included-zlib" or "--disable-nls" (See ABOUT-NLS) or
  642.     --disable-dynload.
  643.  
  644.     We can't check all assembler files, so if you have problems
  645.     assembling them (or the program crashes) use --disable-asm with
  646.     ./configure.  If you opt to delete individual replacement files in
  647.     hopes of using the remaining ones, be aware that the configure
  648.     scripts may consider several subdirectories to get all available
  649.     assembler files; be sure to delete the correct ones. The assembler
  650.     replacements are in C and in mpi/generic; never delete
  651.     udiv-qrnnd.S in any CPU directory, because there may be no C
  652.     substitute.  Don't forget to delete "config.cache" and run
  653.     "./config.status --recheck".  We have also heard reports of
  654.     problems when using versions of gcc earlier than 2.96 along with a
  655.     non-GNU assembler (as).  If this applies to your platform, you can
  656.     either upgrade gcc to a more recent version, or use the GNU
  657.     assembler.
  658.  
  659.     Some make tools are broken - the best solution is to use GNU's
  660.     make.  Try gmake or grab the sources from a GNU archive and
  661.     install them.
  662.  
  663.     On some OSF systems you may get unresolved externals.  This is a
  664.     libtool problem and the workaround is to manually remove all the
  665.     "-lc -lz" but the last one from the linker line and execute them
  666.     manually.
  667.  
  668.     On some architectures you see warnings like:
  669.       longlong.h:175: warning: function declaration isn't a prototype
  670.     or
  671.       http.c:647: warning: cast increases required alignment of target type
  672.     This doesn't matter and we know about it (actually it is due to
  673.     some warning options which we have enabled for gcc)
  674.  
  675.  
  676.     Specific problems on some machines
  677.     ----------------------------------
  678.  
  679.     * Apple Darwin 6.1:
  680.  
  681.         ./configure --with-libiconv-prefix=/sw
  682.  
  683.     * Compaq C V6.2 for alpha:
  684.  
  685.         You may want to use the option "-msg-disable ptrmismatch1"
  686.         to get rid of the sign/unsigned char mismatch warnings.
  687.  
  688.     * IBM RS/6000 running AIX:
  689.  
  690.     Due to a change in gcc (since version 2.8) the MPI stuff may
  691.     not build. In this case try to run configure using:
  692.         CFLAGS="-g -O2 -mcpu=powerpc" ./configure
  693.  
  694.     * SVR4.2 (ESIX V4.2 cc)
  695.  
  696.         Due to problems with the ESIX as, you probably want to do
  697.             CFLAGS="-O -K pentium" ./configure --disable-asm
  698.  
  699.     * SunOS 4.1.4
  700.  
  701.          ./configure ac_cv_sys_symbol_underscore=yes
  702.  
  703.     The Random Device
  704.     -----------------
  705.  
  706.     Random devices are available in Linux, FreeBSD and OpenBSD.
  707.     Operating systems without a random devices must use another
  708.     entropy collector. 
  709.  
  710.     This collector works by running a lot of commands that yield more
  711.     or less unpredictable output and feds this as entropy into the
  712.     random generator - It should work reliably but you should check
  713.     whether it produces good output for your version of Unix. There
  714.     are some debug options to help you (see cipher/rndunix.c).
  715.  
  716.  
  717.     Creating an RPM package
  718.     -----------------------
  719.     The file scripts/gnupg.spec is used to build a RPM package (both
  720.     binary and src):
  721.       1. copy the spec file into /usr/src/redhat/SPECS
  722.       2. copy the tar file into /usr/src/redhat/SOURCES
  723.       3. type: rpm -ba SPECS/gnupg.spec
  724.  
  725.     Or use the -t (--tarbuild) option of rpm:
  726.       1. rpm -ta gnupg-x.x.x.tar.gz
  727.  
  728.     The binary rpm file can now be found in /usr/src/redhat/RPMS, source
  729.     rpm in /usr/src/redhat/SRPMS
  730.  
  731.  
  732.     How to Get More Information
  733.     ---------------------------
  734.  
  735.     The primary WWW page is "http://www.gnupg.org"
  736.     The primary FTP site is "ftp://ftp.gnupg.org/gcrypt/"
  737.  
  738.     See http://www.gnupg.org/download/mirrors.html for a list of
  739.     mirrors and use them if possible.  You may also find GnuPG
  740.     mirrored on some of the regular GNU mirrors.
  741.  
  742.     We have some mailing lists dedicated to GnuPG:
  743.  
  744.     gnupg-announce@gnupg.org    For important announcements like
  745.                     new versions and such stuff.
  746.                     This is a moderated list and has
  747.                     very low traffic.
  748.  
  749.     gnupg-users@gnupg.org        For general user discussion and
  750.                     help.
  751.  
  752.     gnupg-devel@gnupg.org        GnuPG developers main forum.
  753.  
  754.     You subscribe to one of the list by sending mail with a subject
  755.     of "subscribe" to x-request@gnupg.org, where x is the name of the
  756.     mailing list (gnupg-announce, gnupg-users, etc.).  An archive of
  757.     the mailing lists are available at
  758.     http://www.gnupg.org/documentation/mailing-lists.html
  759.  
  760.     Please direct bug reports to http://bugs.gnupg.org or post
  761.     them direct to the mailing list <gnupg-devel@gnupg.org>.
  762.  
  763.     Please direct questions about GnuPG to the users mailing list or
  764.     one of the pgp newsgroups; please do not direct questions to one
  765.     of the authors directly as we are busy working on improvements
  766.     and bug fixes.  Both mailing lists are watched by the authors
  767.     and we try to answer questions when time allows us to do so.
  768.  
  769.     Commercial grade support for GnuPG is available; please see
  770.     the GNU service directory or check out http://g10code.com.
  771.