home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2005 July / PCpro_2005_07.ISO / files / internet / GnuPG / gnupg-w32cli-1.4.1.exe / Doc / gpg.man < prev    next >
Encoding:
Text File  |  2005-03-15  |  101.9 KB  |  2,036 lines

  1. gpg(1)                                                                  gpg(1)
  2.  
  3.  
  4.  
  5. NAME
  6.        gpg -- encryption and signing tool
  7.  
  8. SYNOPSIS
  9.        gpg  [--homedir name]  [--options file]  [options]  command  [args]
  10.  
  11. DESCRIPTION
  12.        gpg is the main program for the GnuPG system.
  13.  
  14.  
  15.        This  man page only lists the commands and options available.  For more
  16.        verbose documentation get the GNU Privacy Handbook (GPH) or one of  the
  17.        other documents at http://www.gnupg.org/documentation/ .
  18.  
  19.        Please  remember  that  option parsing stops as soon as a non option is
  20.        encountered, you can explicitly stop option parsing by using  the  spe-
  21.        cial option "--".
  22.  
  23. COMMANDS
  24.        gpg  may  be run with no commands, in which case it will perform a rea-
  25.        sonable action depending on the type of file it is given as  input  (an
  26.        encrypted  message  is  decrypted, a signature is verified, a file con-
  27.        taining keys is listed).
  28.  
  29.        gpg recognizes these commands:
  30.  
  31.        -s, --sign
  32.                  Make a signature. This command may be combined with --encrypt
  33.                  (for  a  signed  and  encrypted  message), --symmetric (for a
  34.                  signed and symmetrically encrypted message), or --encrypt and
  35.                  --symmetric  together  (for  a  signed  message  that  may be
  36.                  decrypted via a secret key or a passphrase).
  37.  
  38.        --clearsign
  39.                  Make a clear text signature.
  40.  
  41.        -b, --detach-sign
  42.                  Make a detached signature.
  43.  
  44.        -e, --encrypt
  45.                  Encrypt data. This option may be combined with --sign (for  a
  46.                  signed  and  encrypted  message),  --symmetric (for a message
  47.                  that may be decrypted via a secret key or a  passphrase),  or
  48.                  --sign  and  --symmetric  together (for a signed message that
  49.                  may be decrypted via a secret key or a passphrase).
  50.  
  51.        -c, --symmetric
  52.                  Encrypt with a symmetric  cipher  using  a  passphrase.   The
  53.                  default  symmetric  cipher  used  is CAST5, but may be chosen
  54.                  with the --cipher-algo option.  This option may  be  combined
  55.                  with  --sign  (for  a signed and symmetrically encrypted mes-
  56.                  sage), --encrypt (for a message that may be decrypted  via  a
  57.                  secret key or a passphrase), or --sign and --encrypt together
  58.                  (for a signed message that may be decrypted via a secret  key
  59.                  or a passphrase).
  60.  
  61.        --store   Store only (make a simple RFC1991 packet).
  62.  
  63.        --decrypt [file]
  64.                  Decrypt  file (or stdin if no file is specified) and write it
  65.                  to stdout (or the  file  specified  with  --output).  If  the
  66.                  decrypted  file  is  signed,  the signature is also verified.
  67.                  This command differs from the default operation, as it  never
  68.                  writes  to  the filename which is included in the file and it
  69.                  rejects files which don't begin with an encrypted message.
  70.  
  71.        --verify [[sigfile]  [signed-files]]
  72.                  Assume that sigfile is a signature and verify it without gen-
  73.                  erating  any  output.    With  no  arguments,  the  signature
  74.                  packet is read from stdin.  If only a sigfile  is  given,  it
  75.                  may be a complete signature or a detached signature, in which
  76.                  case the signed stuff is  expected  in  a  file  without  the
  77.                  ".sig"  or  ".asc" extension.  With more than 1 argument, the
  78.                  first should be a detached signature and the remaining  files
  79.                  are  the  signed stuff.  To read the signed stuff from stdin,
  80.                  use -  as  the  second  filename.   For  security  reasons  a
  81.                  detached signature cannot read the signed material from stdin
  82.                  without denoting it in the above way.
  83.  
  84.        --multifile
  85.                  This modifies certain other commands to accept multiple files
  86.                  for  processing  on  the command line or read from stdin with
  87.                  each filename on a separate line.  This allows for many files
  88.                  to  be  processed at once.  --multifile may currently be used
  89.                  along with --verify, --encrypt,  and  --decrypt.   Note  that
  90.                  `--multifile  --verify'  may not be used with detached signa-
  91.                  tures.
  92.  
  93.        --verify-files [files]
  94.                  Identical to `--multifile --verify'.
  95.  
  96.        --encrypt-files [files]
  97.                  Identical to `--multifile --encrypt'.
  98.  
  99.        --decrypt-files [files]
  100.                  Identical to `--multifile --decrypt'.
  101.  
  102.        --list-keys [names]
  103.  
  104.        --list-public-keys [names]
  105.                  List all keys from the public  keyrings,  or  just  the  ones
  106.                  given on the command line.
  107.  
  108.                  Avoid  using  the  output of this command in scripts or other
  109.                  programs as it is likely to change  as  GnuPG  changes.   See
  110.                  --with-colons  for  a  machine-parseable  key listing command
  111.                  that is appropriate for use in scripts and other programs.
  112.  
  113.        -K, --list-secret-keys [names]
  114.                  List all keys from the secret  keyrings,  or  just  the  ones
  115.                  given  on  the  command  line.  A '#' after the letters 'sec'
  116.                  means that the secret key is not usable (for example,  if  it
  117.                  was created via --export-secret-subkeys).
  118.  
  119.        --list-sigs [names]
  120.                  Same as --list-keys, but the signatures are listed too.
  121.  
  122.                  For each signature listed, there are several flags in between
  123.                  the "sig" tag and keyid.  These flags give additional  infor-
  124.                  mation  about  each  signature.  From left to right, they are
  125.                  the numbers 1-3 for certificate check level (see  --ask-cert-
  126.                  level),  "L"  for  a  local  or non-exportable signature (see
  127.                  --lsign-key), "R"  for  a  nonRevocable  signature  (see  the
  128.                  --edit-key  command  "nrsign"), "P" for a signature that con-
  129.                  tains a policy URL (see --cert-policy-url), "N" for a  signa-
  130.                  ture  that contains a notation (see --cert-notation), "X" for
  131.                  an eXpired signature (see --ask-cert-expire), and the numbers
  132.                  1-9  or  "T"  for  10  and  above to indicate trust signature
  133.                  levels (see the --edit-key command "tsign").
  134.  
  135.        --check-sigs [names]
  136.                  Same as --list-sigs, but the signatures are verified.
  137.  
  138.        --fingerprint [names]
  139.                  List all keys with their fingerprints. This is the same  out-
  140.                  put  as  --list-keys but with the additional output of a line
  141.                  with the fingerprint. May also be combined  with  --list-sigs
  142.                  or --check-sigs.  If this command is given twice, the finger-
  143.                  prints of all secondary keys are listed too.
  144.  
  145.        --list-packets
  146.                  List only the sequence of packets. This is mainly useful  for
  147.                  debugging.
  148.  
  149.        --gen-key Generate  a  new key pair. This command is normally only used
  150.                  interactively.
  151.  
  152.                  There is an experimental feature which allows you  to  create
  153.                  keys  in  batch  mode. See the file doc/DETAILS in the source
  154.                  distribution on how to use this.
  155.  
  156.        --edit-key name
  157.                  Present a menu which enables you to do all key related tasks:
  158.  
  159.                  sign      Make  a signature on key of user name If the key is
  160.                            not yet signed by the default user  (or  the  users
  161.                            given  with  -u), the program displays the informa-
  162.                            tion of the key again, together  with  its  finger-
  163.                            print  and  asks  whether it should be signed. This
  164.                            question is repeated for all users  specified  with
  165.                            -u.
  166.  
  167.                  lsign     Same  as "sign" but the signature is marked as non-
  168.                            exportable and will therefore never be used by oth-
  169.                            ers.   This  may be used to make keys valid only in
  170.                            the local environment.
  171.  
  172.                  nrsign    Same as "sign" but the signature is marked as  non-
  173.                            revocable and can therefore never be revoked.
  174.  
  175.                  tsign     Make  a  trust signature.  This is a signature that
  176.                            combines the notions of certification (like a regu-
  177.                            lar  signature),  and  trust (like the "trust" com-
  178.                            mand).  It is generally  only  useful  in  distinct
  179.                            communities or groups.
  180.  
  181.                  Note  that  "l"  (for local / non-exportable), "nr" (for non-
  182.                  revocable, and "t" (for trust) may be freely mixed  and  pre-
  183.                  fixed to "sign" to create a signature of any type desired.
  184.  
  185.                  revsig    Revoke  a signature.  For every signature which has
  186.                            been generated by one of  the  secret  keys,  GnuPG
  187.                            asks  whether  a  revocation  certificate should be
  188.                            generated.
  189.  
  190.                  trust     Change the owner  trust  value.  This  updates  the
  191.                            trust-db immediately and no save is required.
  192.  
  193.                  disable
  194.  
  195.                  enable    Disable or enable an entire key. A disabled key can
  196.                            not normally be used for encryption.
  197.  
  198.                  adduid    Create an alternate user id.
  199.  
  200.                  addphoto  Create a photographic user id.   This  will  prompt
  201.                            for a JPEG file that will be embedded into the user
  202.                            ID.  Note that a very large JPEG will  make  for  a
  203.                            very  large key.  Also note that some programs will
  204.                            display your JPEG unchanged (GnuPG), and some  pro-
  205.                            grams will scale it to fit in a dialog box (PGP).
  206.  
  207.                  deluid    Delete a user id.
  208.  
  209.                  delsig    Delete a signature.
  210.  
  211.                  revuid    Revoke a user id.
  212.  
  213.                  addkey    Add a subkey to this key.
  214.  
  215.                  addcardkey
  216.                            Generate a key on a card and add it to this key.
  217.  
  218.                  keytocard Transfer  the  selected  secret key (or the primary
  219.                            key if no key has been selected)  to  a  smartcard.
  220.                            The secret key in the keyring will be replaced by a
  221.                            stub if the key could be stored successfully on the
  222.                            card and you use the save command later.  Only cer-
  223.                            tain key types may be transferred to the  card.   A
  224.                            sub menu allows you to select on what card to store
  225.                            the key.  Note that it is not possible to get  that
  226.                            key  back  from  the card - if the card gets broken
  227.                            your secret key will be  lost  unless  you  have  a
  228.                            backup somewhere.
  229.  
  230.                  bkuptocard file
  231.                            Restore  the given file to a card. This command may
  232.                            be used to restore a backup key (as generated  dur-
  233.                            ing  card initialization) to a new card.  In almost
  234.                            all cases this will  be  the  encryption  key.  You
  235.                            should use this command only with the corresponding
  236.                            public key and make sure that  the  file  given  as
  237.                            argument  is  indeed  the  backup  to restore.  You
  238.                            should then select 2 to restore as encryption  key.
  239.                            You  will first be asked to enter the passphrase of
  240.                            the backup key and then for the Admin  PIN  of  the
  241.                            card.
  242.  
  243.                  delkey    Remove a subkey.
  244.  
  245.                  addrevoker [sensitive]
  246.                            Add  a designated revoker.  This takes one optional
  247.                            argument: "sensitive".  If a designated revoker  is
  248.                            marked  as  sensitive,  it  will not be exported by
  249.                            default (see export-options).
  250.  
  251.                  revkey    Revoke a subkey.
  252.  
  253.                  expire    Change the key expiration time.   If  a  subkey  is
  254.                            selected,  the  expiration time of this subkey will
  255.                            be changed.  With no selection, the key  expiration
  256.                            of the primary key is changed.
  257.  
  258.                  passwd    Change the passphrase of the secret key.
  259.  
  260.                  primary   Flag  the  current  user  id  as  the  primary one,
  261.                            removes the primary user id  flag  from  all  other
  262.                            user  ids  and  sets  the timestamp of all affected
  263.                            self-signatures one second ahead.  Note  that  set-
  264.                            ting  a  photo  user ID as primary makes it primary
  265.                            over other photo user IDs, and  setting  a  regular
  266.                            user  ID  as  primary  makes  it primary over other
  267.                            regular user IDs.
  268.  
  269.                  uid n     Toggle selection of user id with index n.  Use 0 to
  270.                            deselect all.
  271.  
  272.                  key n     Toggle  selection of subkey with index n.  Use 0 to
  273.                            deselect all.
  274.  
  275.                  check     Check all selected user ids.
  276.  
  277.                  showphoto Display the selected photographic user id.
  278.  
  279.                  pref      List preferences from the selected user  ID.   This
  280.                            shows the actual preferences, without including any
  281.                            implied preferences.
  282.  
  283.                  showpref  More verbose preferences listing for  the  selected
  284.                            user  ID.   This shows the preferences in effect by
  285.                            including the implied preferences of 3DES (cipher),
  286.                            SHA-1  (digest),  and Uncompressed (compression) if
  287.                            they are not already  included  in  the  preference
  288.                            list.
  289.  
  290.                  setpref string
  291.                            Set the list of user ID preferences to string, this
  292.                            should be a string similar to the  one  printed  by
  293.                            "pref".  Using an empty string will set the default
  294.                            preference string, using  "none"  will  remove  the
  295.                            preferences.   Use "gpg --version" to get a list of
  296.                            available algorithms.  This command  just  initial-
  297.                            izes  an internal list and does not change anything
  298.                            unless another command (such  as  "updpref")  which
  299.                            changes the self-signatures is used.
  300.  
  301.                  updpref   Change  the preferences of all user IDs (or just of
  302.                            the selected ones to the current  list  of  prefer-
  303.                            ences.   The  timestamp of all affected self-signa-
  304.                            tures will be advanced by one  second.   Note  that
  305.                            while   you   can  change  the  preferences  on  an
  306.                            attribute user ID (aka "photo ID"), GnuPG does  not
  307.                            select keys via attribute user IDs so these prefer-
  308.                            ences will not be used by GnuPG.
  309.  
  310.                  keyserver Set a preferred keyserver for  the  specified  user
  311.                            ID(s).   This  allows other users to know where you
  312.                            prefer they get your key  from.   See  --keyserver-
  313.                            option  honor-keyserver-url  for  more  on how this
  314.                            works.  Note that some versions  of  PGP  interpret
  315.                            the  presence  of a keyserver URL as an instruction
  316.                            to enable PGP/MIME mail encoding.  Setting a  value
  317.                            of "none" removes a existing preferred keyserver.
  318.  
  319.                  toggle    Toggle between public and secret key listing.
  320.  
  321.                  save      Save all changes to the key rings and quit.
  322.  
  323.                  quit      Quit the program without updating the key rings.
  324.  
  325.                  The listing shows you the key with its secondary keys and all
  326.                  user ids. Selected keys or  user  ids  are  indicated  by  an
  327.                  asterisk.  The trust value is displayed with the primary key:
  328.                  the first is the assigned owner trust and the second  is  the
  329.                  calculated trust value.  Letters are used for the values:
  330.  
  331.                  -         No ownertrust assigned / not yet calculated.
  332.  
  333.                  e         Trust  calculation  has  failed; probably due to an
  334.                            expired key.
  335.  
  336.                  q         Not enough information for calculation.
  337.  
  338.                  n         Never trust this key.
  339.  
  340.                  m         Marginally trusted.
  341.  
  342.                  f         Fully trusted.
  343.  
  344.                  u         Ultimately trusted.
  345.  
  346.        --sign-key name
  347.                  Signs a public key with your secret key. This is  a  shortcut
  348.                  version of the subcommand "sign" from --edit.
  349.  
  350.        --lsign-key name
  351.                  Signs  a public key with your secret key but marks it as non-
  352.                  exportable.  This is a shortcut  version  of  the  subcommand
  353.                  "lsign" from --edit.
  354.  
  355.        --delete-key name
  356.                  Remove  key  from  the  public keyring.  In batch mode either
  357.                  --yes is required or the key must  be  specified  by  finger-
  358.                  print.   This  is  a safeguard against accidental deletion of
  359.                  multiple keys.
  360.  
  361.        --delete-secret-key name
  362.                  Remove key from the secret and public keyring. In batch  mode
  363.                  the key must be specified by fingerprint.
  364.  
  365.        --delete-secret-and-public-key name
  366.                  Same  as --delete-key, but if a secret key exists, it will be
  367.                  removed first. In batch mode the key  must  be  specified  by
  368.                  fingerprint.
  369.  
  370.        --gen-revoke name
  371.                  Generate  a  revocation  certificate for the complete key. To
  372.                  revoke a subkey or a signature, use the --edit command.
  373.  
  374.        --desig-revoke name
  375.                  Generate a designated revocation certificate for a key.  This
  376.                  allows  a  user  (with  the  permission  of the keyholder) to
  377.                  revoke someone else's key.
  378.  
  379.        --export [names]
  380.                  Either export all keys from all  keyrings  (default  keyrings
  381.                  and  those  registered  via option --keyring), or if at least
  382.                  one name is given, those of the given name. The  new  keyring
  383.                  is  written  to stdout or to the file given with option "out-
  384.                  put".  Use together with --armor to mail those keys.
  385.  
  386.        --send-keys [names]
  387.                  Same as --export but sends the keys to a  keyserver.   Option
  388.                  --keyserver  must be used to give the name of this keyserver.
  389.                  Don't send your complete keyring to a keyserver - select only
  390.                  those keys which are new or changed by you.
  391.  
  392.        --export-secret-keys [names]
  393.  
  394.        --export-secret-subkeys [names]
  395.                  Same  as --export, but exports the secret keys instead.  This
  396.                  is normally not very useful and a security risk.  The  second
  397.                  form  of  the  command has the special property to render the
  398.                  secret part of the primary key useless; this is a GNU  exten-
  399.                  sion to OpenPGP and other implementations can not be expected
  400.                  to successfully import such a key.
  401.  
  402.                  See the option --simple-sk-checksum if  you  want  to  import
  403.                  such an exported key with an older OpenPGP implementation.
  404.  
  405.        --import [files]
  406.  
  407.        --fast-import [files]
  408.                  Import/merge  keys.  This adds the given keys to the keyring.
  409.                  The fast version is currently just a synonym.
  410.  
  411.                  There are a few other options which control how this  command
  412.                  works.   Most  notable  here is the --keyserver-option merge-
  413.                  only option which does not insert new keys but does only  the
  414.                  merging of new signatures, user-IDs and subkeys.
  415.  
  416.        --recv-keys key IDs
  417.                  Import  the  keys  with  the  given key IDs from a keyserver.
  418.                  Option --keyserver must be used to give the name of this key-
  419.                  server.
  420.  
  421.        --refresh-keys [key IDs]
  422.                  Request  updates from a keyserver for keys that already exist
  423.                  on the local keyring.  This is useful for updating a key with
  424.                  the  latest  signatures, user IDs, etc.  Calling this with no
  425.                  arguments will refresh the  entire  keyring.   Option  --key-
  426.                  server must be used to give the name of the keyserver for all
  427.                  keys that do not have preferred keyservers  set  (see  --key-
  428.                  server-option honor-keyserver-url).
  429.  
  430.        --search-keys [names]
  431.                  Search  the  keyserver  for  the given names.  Multiple names
  432.                  given here will be  joined  together  to  create  the  search
  433.                  string for the keyserver.  Option --keyserver must be used to
  434.                  give the name of this keyserver.
  435.  
  436.        --update-trustdb
  437.                  Do trust database maintenance.  This  command  iterates  over
  438.                  all  keys and builds the Web of Trust. This is an interactive
  439.                  command because it may have to ask for the "ownertrust"  val-
  440.                  ues  for keys.  The user has to give an estimation of how far
  441.                  she trusts the owner of the displayed key to  correctly  cer-
  442.                  tify  (sign)  other keys.  GnuPG only asks for the ownertrust
  443.                  value if it has not yet been assigned to a  key.   Using  the
  444.                  --edit-key  menu,  the  assigned  value can be changed at any
  445.                  time.
  446.  
  447.        --check-trustdb
  448.                  Do trust database maintenance without user interaction.  From
  449.                  time  to  time  the  trust  database  must be updated so that
  450.                  expired keys or signatures and the resulting changes  in  the
  451.                  Web  of Trust can be tracked.  Normally, GnuPG will calculate
  452.                  when this is required and do it  automatically  unless  --no-
  453.                  auto-check-trustdb is set.  This command can be used to force
  454.                  a trust database check at any time.  The processing is  iden-
  455.                  tical  to  that  of --update-trustdb but it skips keys with a
  456.                  not yet defined "ownertrust".
  457.  
  458.                  For use with cron jobs, this command  can  be  used  together
  459.                  with  --batch  in which case the trust database check is done
  460.                  only if a check is needed.  To force a run even in batch mode
  461.                  add the option --yes.
  462.  
  463.        --export-ownertrust
  464.                  Send  the  ownertrust  values  to stdout.  This is useful for
  465.                  backup purposes as these values are the only ones which can't
  466.                  be re-created from a corrupted trust DB.
  467.  
  468.        --import-ownertrust [files]
  469.                  Update the trustdb with the ownertrust values stored in files
  470.                  (or stdin if not given); existing values will be overwritten.
  471.  
  472.        --rebuild-keydb-caches
  473.                  When updating from version 1.0.6 to 1.0.7 this command should
  474.                  be used to create signature caches in the keyring.  It  might
  475.                  be handy in other situations too.
  476.  
  477.        --print-md algo [files]
  478.  
  479.        --print-mds [files]
  480.                  Print message digest of algorithm ALGO for all given files or
  481.                  stdin.  With the second form (or a deprecated  "*"  as  algo)
  482.                  digests for all available algorithms are printed.
  483.  
  484.        --gen-random 0|1|2          [count]
  485.                  Emit  COUNT random bytes of the given quality level. If count
  486.                  is not given or zero, an endless  sequence  of  random  bytes
  487.                  will  be  emitted.  PLEASE, don't use this command unless you
  488.                  know what you are doing; it may remove precious entropy  from
  489.                  the system!
  490.  
  491.        --gen-prime mode           bits            [qbits]
  492.                  Use  the source, Luke :-). The output format is still subject
  493.                  to change.
  494.  
  495.        --version Print version information along  with  a  list  of  supported
  496.                  algorithms.
  497.  
  498.        --warranty
  499.                  Print warranty information.
  500.  
  501.        -h, --help
  502.                  Print  usage  information.   This  is a really long list even
  503.                  though it doesn't list all options.  For every  option,  con-
  504.                  sult this manual.
  505.  
  506. OPTIONS
  507.        Long    options    can   be   put   in   an   options   file   (default
  508.        "~/.gnupg/gpg.conf").  Short option names will not work - for  example,
  509.        "armor"  is  a valid option for the options file, while "a" is not.  Do
  510.        not write the 2 dashes, but simply the  name  of  the  option  and  any
  511.        required  arguments.   Lines  with a hash ('#') as the first non-white-
  512.        space character are ignored.  Commands may be put in this file too, but
  513.        that  is not generally useful as the command will execute automatically
  514.        with every execution of gpg.
  515.  
  516.        gpg recognizes these options:
  517.  
  518.        -a, --armor
  519.                  Create ASCII armored output.
  520.  
  521.        -o, --output file
  522.                  Write output to file.
  523.  
  524.        --max-output n
  525.                  This option sets a limit on the number of bytes that will  be
  526.                  generated  when  processing  a  file.  Since OpenPGP supports
  527.                  various levels of compression, it is possible that the plain-
  528.                  text  of a given message may be significantly larger than the
  529.                  original OpenPGP message.  While GnuPG  works  properly  with
  530.                  such  messages, there is often a desire to set a maximum file
  531.                  size that will be generated before processing  is  forced  to
  532.                  stop  by  the  OS  limits.   Defaults  to  0, which means "no
  533.                  limit".
  534.  
  535.        --mangle-dos-filenames
  536.  
  537.        --no-mangle-dos-filenames
  538.                  Older version of Windows cannot handle  filenames  with  more
  539.                  than one dot.  --mangle-dos-filenames causes GnuPG to replace
  540.                  (rather than add to) the extension of an output  filename  to
  541.                  avoid this problem.  This option is off by default and has no
  542.                  effect on non-Windows platforms.
  543.  
  544.        -u, --local-user name
  545.                  Use name as the key to sign  with.   Note  that  this  option
  546.                  overrides --default-key.
  547.  
  548.        --default-key name
  549.                  Use  name as the default key to sign with.  If this option is
  550.                  not used, the default key is  the  first  key  found  in  the
  551.                  secret  keyring.  Note that -u or --local-user overrides this
  552.                  option.
  553.  
  554.        -r, --recipient name
  555.  
  556.                  Encrypt for user id name. If this option or  --hidden-recipi-
  557.                  ent  is  not  specified,  GnuPG  asks  for the user-id unless
  558.                  --default-recipient is given.
  559.  
  560.        -R, --hidden-recipient name
  561.  
  562.                  Encrypt for user id name, but hide  the  keyid  of  the  key.
  563.                  This  option hides the receiver of the message and is a coun-
  564.                  termeasure against  traffic  analysis.   If  this  option  or
  565.                  --recipient  is  not  specified,  GnuPG  asks for the user-id
  566.                  unless --default-recipient is given.
  567.  
  568.        --default-recipient name
  569.                  Use name as default recipient if option  --recipient  is  not
  570.                  used  and don't ask if this is a valid one. name must be non-
  571.                  empty.
  572.  
  573.        --default-recipient-self
  574.                  Use the default key as default recipient if option  --recipi-
  575.                  ent  is  not  used  and don't ask if this is a valid one. The
  576.                  default key is the first one from the secret keyring  or  the
  577.                  one set with --default-key.
  578.  
  579.        --no-default-recipient
  580.                  Reset --default-recipient and --default-recipient-self.
  581.  
  582.        --encrypt-to name
  583.                  Same  as  --recipient but this one is intended for use in the
  584.                  options file and may be used with  your  own  user-id  as  an
  585.                  "encrypt-to-self".   These  keys are only used when there are
  586.                  other recipients given either by use of --recipient or by the
  587.                  asked user id.  No trust checking is performed for these user
  588.                  ids and even disabled keys can be used.
  589.  
  590.        --hidden-encrypt-to name
  591.                  Same as --hidden-recipient but this one is intended  for  use
  592.                  in  the options file and may be used with your own user-id as
  593.                  a hidden "encrypt-to-self".  These keys are  only  used  when
  594.                  there are other recipients given either by use of --recipient
  595.                  or by the asked user id.  No trust checking is performed  for
  596.                  these user ids and even disabled keys can be used.
  597.  
  598.        --no-encrypt-to
  599.                  Disable  the  use of all --encrypt-to and --hidden-encrypt-to
  600.                  keys.
  601.  
  602.        -v, --verbose
  603.                  Give more information during processing. If used  twice,  the
  604.                  input data is listed in detail.
  605.  
  606.        -q, --quiet
  607.                  Try to be as quiet as possible.
  608.  
  609.        -z n
  610.  
  611.        --compress-level n
  612.  
  613.        --bzip2-compress-level n
  614.                  Set  compression  level to n for the ZIP and ZLIB compression
  615.                  algorithms.  The default is to use  the  default  compression
  616.                  level  of zlib (normally 6).  --bzip2-compress-level sets the
  617.                  compression  level  for  the  BZIP2   compression   algorithm
  618.                  (defaulting  to  6 as well).  This is a different option from
  619.                  --compress-level since BZIP2 uses  a  significant  amount  of
  620.                  memory  for each additional compression level.  -z sets both.
  621.                  A value of 0 for n disables compression.
  622.  
  623.        --bzip2-decompress-lowmem
  624.                  Use a different decompression  method  for  BZIP2  compressed
  625.                  files.   This  alternate method uses a bit more than half the
  626.                  memory, but also runs at half  the  speed.   This  is  useful
  627.                  under  extreme  low  memory  circumstances  when the file was
  628.                  originally compressed at a high --bzip2-compress-level.
  629.  
  630.        -t, --textmode
  631.  
  632.        --no-textmode
  633.                  Treat input files as text  and  store  them  in  the  OpenPGP
  634.                  canonical  text form with standard "CRLF" line endings.  This
  635.                  also sets the necessary flags to inform  the  recipient  that
  636.                  the  encrypted  or  signed data is text and may need its line
  637.                  endings converted back to whatever  the  local  system  uses.
  638.                  This  option  is  useful when communicating between two plat-
  639.                  forms that have different line ending conventions  (UNIX-like
  640.                  to  Mac,  Mac  to Windows, etc).  --no-textmode disables this
  641.                  option, and is the default.
  642.  
  643.                  If -t (but not --textmode) is used together with armoring and
  644.                  signing,  this  enables clearsigned messages.  This kludge is
  645.                  needed for command-line compatibility with command-line  ver-
  646.                  sions of PGP; normally you would use --sign or --clearsign to
  647.                  select the type of the signature.
  648.  
  649.        -n, --dry-run
  650.                  Don't make any changes (this is not completely  implemented).
  651.  
  652.        -i, --interactive
  653.                  Prompt before overwriting any files.
  654.  
  655.        --batch
  656.  
  657.        --no-batch
  658.                  Use  batch  mode.   Never  ask, do not allow interactive com-
  659.                  mands.  --no-batch disables this option.
  660.  
  661.        --no-tty  Make sure that the TTY (terminal) is never used for any  out-
  662.                  put.  This option is needed in some cases because GnuPG some-
  663.                  times prints warnings to the TTY if --batch is used.
  664.  
  665.        --yes     Assume "yes" on most questions.
  666.  
  667.        --no      Assume "no" on most questions.
  668.  
  669.        --ask-cert-level
  670.  
  671.        --no-ask-cert-level
  672.                  When making a  key  signature,  prompt  for  a  certification
  673.                  level.   If  this  option is not specified, the certification
  674.                  level used is set via --default-cert-level.   See  --default-
  675.                  cert-level  for  information  on  the specific levels and how
  676.                  they are  used.  --no-ask-cert-level  disables  this  option.
  677.                  This option defaults to no.
  678.  
  679.        --default-cert-level n
  680.                  The default to use for the check level when signing a key.
  681.  
  682.                  0  means you make no particular claim as to how carefully you
  683.                  verified the key.
  684.  
  685.                  1 means you believe the key is owned by the person who claims
  686.                  to  own  it  but  you could not, or did not verify the key at
  687.                  all.  This is useful for a "persona" verification, where  you
  688.                  sign the key of a pseudonymous user.
  689.  
  690.                  2 means you did casual verification of the key.  For example,
  691.                  this could mean that you verified that  the  key  fingerprint
  692.                  and checked the user ID on the key against a photo ID.
  693.  
  694.                  3 means you did extensive verification of the key.  For exam-
  695.                  ple, this could mean that you verified  the  key  fingerprint
  696.                  with the owner of the key in person, and that you checked, by
  697.                  means of a hard to forge document with a photo ID (such as  a
  698.                  passport)  that the name of the key owner matches the name in
  699.                  the user ID on the key, and finally  that  you  verified  (by
  700.                  exchange  of email) that the email address on the key belongs
  701.                  to the key owner.
  702.  
  703.                  Note that the examples given above for levels  2  and  3  are
  704.                  just  that:  examples.  In the end, it is up to you to decide
  705.                  just what "casual" and "extensive" mean to you.
  706.  
  707.                  This option defaults to 0 (no particular claim).
  708.  
  709.        --min-cert-level
  710.                  When building the trust database,  disregard  any  signatures
  711.                  with  a certification level below this.  Defaults to 2, which
  712.                  disregards level 1 signatures.  Note that level 0 "no partic-
  713.                  ular claim" signatures are always accepted.
  714.  
  715.        --trusted-key long key ID
  716.                  Assume that the specified key (which must be given as a  full
  717.                  8 byte key ID) is as trustworthy as one of  your  own  secret
  718.                  keys.  This  option  is useful if you don't want to keep your
  719.                  secret keys (or one of them) online but still want to be able
  720.                  to  check  the  validity of a given recipient's or signator's
  721.                  key.
  722.  
  723.        --trust-model pgp|classic|always
  724.                  Set what trust model GnuPG should follow.  The models are:
  725.  
  726.  
  727.                  pgp       This is the Web of Trust combined with trust signa-
  728.                            tures  as  used  in PGP 5.x and later.  This is the
  729.                            default trust model.
  730.  
  731.                  classic   This is the standard Web of Trust as  used  in  PGP
  732.                            2.x and earlier.
  733.  
  734.                  direct    Key  validity  is  set directly by the user and not
  735.                            calculated via the Web of Trust.
  736.  
  737.                  always    Skip key validation and assume that used  keys  are
  738.                            always  fully  trusted.   You won't use this unless
  739.                            you have installed some external validation scheme.
  740.                            This  option  also suppresses the "[uncertain]" tag
  741.                            printed with signature checks when there is no evi-
  742.                            dence that the user ID is bound to the key.
  743.  
  744.        --always-trust
  745.                  Identical  to  `--trust-model always'.  This option is depre-
  746.                  cated.
  747.  
  748.        --keyid-format short|0xshort|long|0xlong
  749.                  Select how to display key IDs.  "short"  is  the  traditional
  750.                  8-character  key  ID.   "long" is the more accurate (but less
  751.                  convenient) 16-character key ID.  Add an "0x"  to  either  to
  752.                  include  an  "0x"  at  the  beginning  of  the  key ID, as in
  753.                  0x99242560.
  754.  
  755.        --keyserver name
  756.                  Use name as your keyserver.  This is the server that  --recv-
  757.                  keys, --send-keys, and --search-keys will communicate with to
  758.                  receive keys from, send keys to, and search for keys on.  The
  759.                  format   of   the   name  is  a  URI:  `scheme:[//]keyserver-
  760.                  name[:port]' The scheme is the type of keyserver:  "hkp"  for
  761.                  the  HTTP (or compatible) keyservers, "ldap" for the NAI LDAP
  762.                  keyserver, or "mailto" for the Graff email  keyserver.   Note
  763.                  that  your  particular  installation  of GnuPG may have other
  764.                  keyserver types available as  well.   Keyserver  schemes  are
  765.                  case-insensitive.
  766.  
  767.                  Most keyservers synchronize with each other, so there is gen-
  768.                  erally no need to send keys to more  than  one  server.   The
  769.                  keyserver  "hkp://subkeys.pgp.net"  uses  round  robin DNS to
  770.                  give a different keyserver each time you use it.
  771.  
  772.        --keyserver-options parameters
  773.                  This is a space or comma delimited string that gives  options
  774.                  for  the keyserver.  Options can be prepended with a `no-' to
  775.                  give the opposite meaning.  Valid import-options  or  export-
  776.                  options  may  be  used  here  as  well  to apply to importing
  777.                  (--recv-key) or exporting (--send-key)  a  key  from  a  key-
  778.                  server.   While  not  all  options are available for all key-
  779.                  server types, some common options are:
  780.  
  781.                  include-revoked
  782.                            When  searching  for  a  key  with   --search-keys,
  783.                            include  keys  that  are marked on the keyserver as
  784.                            revoked.  Note that not all keyservers  differenti-
  785.                            ate  between  revoked  and  unrevoked keys, and for
  786.                            such keyservers this option is  meaningless.   Note
  787.                            also that most keyservers do not have cryptographic
  788.                            verification of key  revocations,  and  so  turning
  789.                            this  option  off  may result in skipping keys that
  790.                            are incorrectly marked as revoked.  Defaults to on.
  791.  
  792.                  include-disabled
  793.                            When   searching  for  a  key  with  --search-keys,
  794.                            include keys that are marked on  the  keyserver  as
  795.                            disabled.   Note  that this option is not used with
  796.                            HKP keyservers.
  797.  
  798.                  honor-keyserver-url
  799.                            When using --refresh-keys, if the key  in  question
  800.                            has  a  preferred keyserver set, then use that pre-
  801.                            ferred keyserver to refresh the key from.  Defaults
  802.                            to yes.
  803.  
  804.                  include-subkeys
  805.                            When  receiving a key, include subkeys as potential
  806.                            targets.  Note that this option is  not  used  with
  807.                            HKP  keyservers,  as they do not support retrieving
  808.                            keys by subkey id.
  809.  
  810.                  use-temp-files
  811.                            On most  Unix-like  platforms,  GnuPG  communicates
  812.                            with  the keyserver helper program via pipes, which
  813.                            is the most efficient method.  This  option  forces
  814.                            GnuPG  to  use  temporary files to communicate.  On
  815.                            some platforms (such as Win32 and  RISC  OS),  this
  816.                            option is always enabled.
  817.  
  818.                  keep-temp-files
  819.                            If  using  `use-temp-files', do not delete the temp
  820.                            files after using them.  This option is  useful  to
  821.                            learn the keyserver communication protocol by read-
  822.                            ing the temporary files.
  823.  
  824.                  verbose   Tell the keyserver helper program to be  more  ver-
  825.                            bose.   This  option can be repeated multiple times
  826.                            to increase the verbosity level.
  827.  
  828.                  timeout   Tell the keyserver helper program how long (in sec-
  829.                            onds)  to try and perform a keyserver action before
  830.                            giving up.  Note that performing  multiple  actions
  831.                            at  the  same  time  uses  this  timeout  value per
  832.                            action.  For example, when retrieving multiple keys
  833.                            via  --recv-keys, the timeout applies separately to
  834.                            each key retrieval, and not to the --recv-keys com-
  835.                            mand as a whole.  Defaults to 30 seconds.
  836.  
  837.                  http-proxy[=value]
  838.                            For  HTTP-like  keyserver schemes that (such as HKP
  839.                            and HTTP itself), try to access the keyserver  over
  840.                            a  proxy.  If a value is specified, use this as the
  841.                            HTTP proxy.  If no value is specified, try  to  use
  842.                            the value of the environment variable "http_proxy".
  843.  
  844.                  auto-key-retrieve
  845.                            This option enables  the  automatic  retrieving  of
  846.                            keys  from  a  keyserver  when verifying signatures
  847.                            made by keys that are not on the local keyring.
  848.  
  849.                            Note that this option makes a "web bug" like behav-
  850.                            ior  possible.   Keyserver  operators can see which
  851.                            keys you request,  so  by  sending  you  a  message
  852.                            signed by a brand new key (which you naturally will
  853.                            not have on your local keyring), the  operator  can
  854.                            tell  both  your  IP  address and the time when you
  855.                            verified the signature.
  856.  
  857.        --import-options parameters
  858.                  This is a space or comma delimited string that gives  options
  859.                  for importing keys.  Options can be prepended with a `no-' to
  860.                  give the opposite meaning.  The options are:
  861.  
  862.                  import-local-sigs
  863.                            Allow importing key signatures marked  as  "local".
  864.                            This  is  not  generally  useful  unless  a  shared
  865.                            keyring scheme is being used.  Defaults to no.
  866.  
  867.                  repair-pks-subkey-bug
  868.                            During import, attempt to repair the damage  caused
  869.                            by  the  PKS keyserver bug (pre version 0.9.6) that
  870.                            mangles keys with multiple subkeys.  Note that this
  871.                            cannot  completely  repair  the damaged key as some
  872.                            crucial data is removed by the  keyserver,  but  it
  873.                            does  at  least give you back one subkey.  Defaults
  874.                            to no for regular --import and to yes for keyserver
  875.                            --recv-keys.
  876.  
  877.                  merge-only
  878.                            During  import, allow key updates to existing keys,
  879.                            but do not allow  any  new  keys  to  be  imported.
  880.                            Defaults to no.
  881.  
  882.        --export-options parameters
  883.                  This  is a space or comma delimited string that gives options
  884.                  for exporting keys.  Options can be prepended with a `no-' to
  885.                  give the opposite meaning.  The options are:
  886.  
  887.                  export-local-sigs
  888.                            Allow  exporting  key signatures marked as "local".
  889.                            This  is  not  generally  useful  unless  a  shared
  890.                            keyring scheme is being used.  Defaults to no.
  891.  
  892.                  export-attributes
  893.                            Include   attribute  user  IDs  (photo  IDs)  while
  894.                            exporting.  This is useful to export keys  if  they
  895.                            are  going  to  be  used by an OpenPGP program that
  896.                            does not accept attribute user  IDs.   Defaults  to
  897.                            yes.
  898.  
  899.                  export-sensitive-revkeys
  900.                            Include  designated  revoker  information  that was
  901.                            marked as "sensitive".  Defaults to no.
  902.  
  903.                  export-minimal
  904.                            Export the smallest key possible.   Currently  this
  905.                            is  done by leaving out any signatures that are not
  906.                            self-signatures.  Defaults to no.
  907.  
  908.        --list-options parameters
  909.                  This is a space or comma delimited string that gives  options
  910.                  used  when listing keys and signatures (that is, --list-keys,
  911.                  --list-sigs, --list-public-keys, --list-secret-keys, and  the
  912.                  --edit-key functions).  Options can be prepended with a `no-'
  913.                  to give the opposite meaning.  The options are:
  914.  
  915.                  show-photos
  916.                            Causes  --list-keys,  --list-sigs,   --list-public-
  917.                            keys,  and  --list-secret-keys to display any photo
  918.                            IDs attached to the key.  Defaults to no.  See also
  919.                            --photo-viewer.
  920.  
  921.                  show-policy-urls
  922.                            Show policy URLs in the --list-sigs or --check-sigs
  923.                            listings.  Defaults to no.
  924.  
  925.                  show-notations
  926.  
  927.                  show-std-notations
  928.  
  929.                  show-user-notations
  930.                            Show all, IETF standard, or user-defined  signature
  931.                            notations  in the --list-sigs or --check-sigs list-
  932.                            ings.  Defaults to no.
  933.  
  934.                  show-keyserver-urls
  935.                            Show any preferred keyserver URL in the --list-sigs
  936.                            or --check-sigs listings.  Defaults to no.
  937.  
  938.                  show-uid-validity
  939.                            Display  the calculated validity of user IDs during
  940.                            key listings.  Defaults to no.
  941.  
  942.                  show-unusable-uids
  943.                            Show revoked and expired user IDs in key  listings.
  944.                            Defaults to no.
  945.  
  946.                  show-unusable-subkeys
  947.                            Show  revoked  and expired subkeys in key listings.
  948.                            Defaults to no.
  949.  
  950.                  show-keyring
  951.                            Display the keyring name at the head of  key  list-
  952.                            ings  to show which keyring a given key resides on.
  953.                            Defaults to no.
  954.  
  955.                  show-sig-expire
  956.                            Show signature expiration  dates  (if  any)  during
  957.                            --list-sigs  or --check-sigs listings.  Defaults to
  958.                            no.
  959.  
  960.                  show-sig-subpackets
  961.                            Include signature subpackets in  the  key  listing.
  962.                            This  option  can take an optional argument list of
  963.                            the subpackets to list.  If no argument is  passed,
  964.                            list  all subpackets.  Defaults to no.  This option
  965.                            is only meaningful when using  --with-colons  along
  966.                            with --list-sigs or --check-sigs.
  967.  
  968.        --verify-options parameters
  969.                  This  is a space or comma delimited string that gives options
  970.                  used when verifying signatures.   Options  can  be  prepended
  971.                  with a `no-' to give the opposite meaning.  The options are:
  972.  
  973.                  show-photos
  974.                            Display  any  photo  IDs  present  on  the key that
  975.                            issued the signature.  Defaults to  no.   See  also
  976.                            --photo-viewer.
  977.  
  978.                  show-policy-urls
  979.                            Show  policy  URLs in the signature being verified.
  980.                            Defaults to no.
  981.  
  982.                  show-notations
  983.  
  984.                  show-std-notations
  985.  
  986.                  show-user-notations
  987.                            Show all, IETF standard, or user-defined  signature
  988.                            notations   in   the   signature   being  verified.
  989.                            Defaults to IETF standard.
  990.  
  991.                  show-keyserver-urls
  992.                            Show any preferred keyserver URL in  the  signature
  993.                            being verified.  Defaults to no.
  994.  
  995.                  show-uid-validity
  996.                            Display  the calculated validity of the user IDs on
  997.                            the key that issued the signature.  Defaults to no.
  998.  
  999.                  show-unusable-uids
  1000.                            Show  revoked and expired user IDs during signature
  1001.                            verification.  Defaults to no.
  1002.  
  1003.        --show-photos
  1004.  
  1005.        --no-show-photos
  1006.                  Causes --list-keys, --list-sigs, --list-public-keys,  --list-
  1007.                  secret-keys,  and  verifying  a signature to also display the
  1008.                  photo ID attached to the key,  if  any.   See  also  --photo-
  1009.                  viewer.   These  options are deprecated.  Use `--list-options
  1010.                  [no-]show-photos' and/or `--verify-options  [no-]show-photos'
  1011.                  instead.
  1012.  
  1013.        --photo-viewer string
  1014.                  This  is  the command line that should be run to view a photo
  1015.                  ID.  "%i" will be  expanded  to  a  filename  containing  the
  1016.                  photo.   "%I"  does  the  same,  except  the file will not be
  1017.                  deleted once the viewer exits.  Other flags are "%k" for  the
  1018.                  key  ID,  "%K"  for the long key ID, "%f" for the key finger-
  1019.                  print, "%t" for the extension of the image type (e.g. "jpg"),
  1020.                  "%T"  for the MIME type of the image (e.g. "image/jpeg"), and
  1021.                  "%%" for an actual percent sign.  If neither  %i  or  %I  are
  1022.                  present,  then  the  photo  will be supplied to the viewer on
  1023.                  standard input.
  1024.  
  1025.                  The default viewer is "xloadimage -fork -quiet -title  'KeyID
  1026.                  0x%k'  stdin".  Note that if your image viewer program is not
  1027.                  secure, then executing it from GnuPG does not make it secure.
  1028.  
  1029.        --exec-path string
  1030.                  Sets  a  list  of directories to search for photo viewers and
  1031.                  keyserver helpers.  If not provided,  keyserver  helpers  use
  1032.                  the  compiled-in default directory, and photo viewers use the
  1033.                  $PATH environment variable.
  1034.  
  1035.        --show-keyring
  1036.                  Display the keyring name at the head of key listings to  show
  1037.                  which  keyring a given key resides on.  This option is depre-
  1038.                  cated: use `--list-options [no-]show-keyring' instead.
  1039.  
  1040.        --keyring file
  1041.                  Add file to the current list of  keyrings.   If  file  begins
  1042.                  with  a  tilde  and  a slash, these are replaced by the $HOME
  1043.                  directory. If the filename does not contain a  slash,  it  is
  1044.                  assumed  to  be  in  the  GnuPG home directory ("~/.gnupg" if
  1045.                  --homedir or $GNUPGHOME is not used).
  1046.  
  1047.                  Note that this adds a keyring to the current  list.   If  the
  1048.                  intent  is  to use the specified keyring alone, use --keyring
  1049.                  along with --no-default-keyring.
  1050.  
  1051.        --secret-keyring file
  1052.                  Same as --keyring but for the secret keyrings.
  1053.  
  1054.        --primary-keyring file
  1055.                  Designate file as the primary  public  keyring.   This  means
  1056.                  that  newly  imported keys (via --import or keyserver --recv-
  1057.                  from) will go to this keyring.
  1058.  
  1059.        --trustdb-name file
  1060.                  Use file instead of the default trustdb.  If file begins with
  1061.                  a  tilde  and a slash, these are replaced by the $HOME direc-
  1062.                  tory. If the filename does not contain a slash, it is assumed
  1063.                  to be in the GnuPG home directory ("~/.gnupg" if --homedir or
  1064.                  $GNUPGHOME is not used).
  1065.  
  1066.        --homedir directory
  1067.                  Set the name of the  home  directory  to  directory  If  this
  1068.                  option  is  not  used  it defaults to "~/.gnupg". It does not
  1069.                  make sense to use this in a options file. This also overrides
  1070.                  the environment variable $GNUPGHOME.
  1071.  
  1072.        --display-charset name
  1073.                  Set  the  name  of the native character set.  This is used to
  1074.                  convert some informational  strings  like  user  IDs  to  the
  1075.                  proper  UTF-8  encoding.  If  this  option  is  not used, the
  1076.                  default character set is determined from the current  locale.
  1077.                  A  verbosity  level  of 3 shows the chosen set.  Valid values
  1078.                  for name are:
  1079.  
  1080.                  iso-8859-1
  1081.                            This is the Latin 1 set.
  1082.  
  1083.                  iso-8859-2
  1084.                            The Latin 2 set.
  1085.  
  1086.                  iso-8859-15
  1087.                            This is currently an alias for the Latin 1 set.
  1088.  
  1089.                  koi8-r    The usual Russian set (rfc1489).
  1090.  
  1091.                  utf-8     Bypass all translations and assume that the OS uses
  1092.                            native UTF-8 encoding.
  1093.  
  1094.        --utf8-strings
  1095.  
  1096.        --no-utf8-strings
  1097.                  Assume that command line arguments are given as UTF8 strings.
  1098.                  The default (--no-utf8-strings) is to assume  that  arguments
  1099.                  are  encoded  in the character set as specified by --display-
  1100.                  charset. These options affect all following arguments.   Both
  1101.                  options may be used multiple times.
  1102.  
  1103.        --options file
  1104.                  Read  options  from file and do not try to read them from the
  1105.                  default options file in the  homedir  (see  --homedir).  This
  1106.                  option is ignored if used in an options file.
  1107.  
  1108.        --no-options
  1109.                  Shortcut  for "--options /dev/null".  This option is detected
  1110.                  before an attempt to open an option file.  Using this  option
  1111.                  will also prevent the creation of a "~./gnupg" homedir.
  1112.  
  1113.        --load-extension name
  1114.                  Load an extension module. If name does not contain a slash it
  1115.                  is searched for in the directory configured  when  GnuPG  was
  1116.                  built (generally "/usr/local/lib/gnupg").  Extensions are not
  1117.                  generally useful anymore, and the use of this option is  dep-
  1118.                  recated.
  1119.  
  1120.        --debug flags
  1121.                  Set  debugging  flags.  All  flags are or-ed and flags may be
  1122.                  given in C syntax (e.g. 0x0042).
  1123.  
  1124.        --debug-all
  1125.                  Set all useful debugging flags.
  1126.  
  1127.        --debug-ccid-driver
  1128.                  Enable debug output from the included CCID driver for  smart-
  1129.                  cards.   Note that this option is only available on some sys-
  1130.                  tem.
  1131.  
  1132.        --enable-progress-filter
  1133.                  Enable certain PROGRESS status outputs.  This  option  allows
  1134.                  frontends  to  display a progress indicator while gpg is pro-
  1135.                  cessing larger files.  There is a slight performance overhead
  1136.                  using it.
  1137.  
  1138.        --status-fd n
  1139.                  Write  special  status strings to the file descriptor n.  See
  1140.                  the file DETAILS in the documentation for a listing of  them.
  1141.  
  1142.        --logger-fd n
  1143.                  Write log output to file descriptor n and not to stderr.
  1144.  
  1145.        --attribute-fd n
  1146.                  Write attribute subpackets to the file descriptor n.  This is
  1147.                  most useful for use with --status-fd, since the  status  mes-
  1148.                  sages  are needed to separate out the various subpackets from
  1149.                  the stream delivered to the file descriptor.
  1150.  
  1151.        --sk-comments
  1152.  
  1153.        --no-sk-comments
  1154.                  Include secret key  comment  packets  when  exporting  secret
  1155.                  keys.  This is a GnuPG extension to the OpenPGP standard, and
  1156.                  is off by default.  Please note that this has nothing  to  do
  1157.                  with  the comments in clear text signatures or armor headers.
  1158.                  --no-sk-comments disables this option.
  1159.  
  1160.        --comment string
  1161.  
  1162.        --no-comments
  1163.                  Use string as a comment string in clear text  signatures  and
  1164.                  ASCII  armored  messages  or keys (see --armor).  The default
  1165.                  behavior is not to use a comment string.   --comment  may  be
  1166.                  repeated  multiple  times  to  get  multiple comment strings.
  1167.                  --no-comments removes all comments.  It is  a  good  idea  to
  1168.                  keep  the  length  of a single comment below 60 characters to
  1169.                  avoid problems with mail programs wrapping such lines.  Note,
  1170.                  that  those  comment  lines, like all other header lines, are
  1171.                  not protected by the signature.
  1172.  
  1173.        --emit-version
  1174.  
  1175.        --no-emit-version
  1176.                  Force inclusion of the version string in ASCII  armored  out-
  1177.                  put.  --no-emit-version disables this option.
  1178.  
  1179.        --sig-notation name=value
  1180.  
  1181.        --cert-notation name=value
  1182.  
  1183.        -N, --set-notation name=value
  1184.                  Put  the name value pair into the signature as notation data.
  1185.                  name must consist only of printable characters or spaces, and
  1186.                  must contain a '@' character.  This is to help prevent pollu-
  1187.                  tion of the IETF reserved notation namespace.   The  --expert
  1188.                  flag  overrides the encoded in UTF8, so you should check that
  1189.                  your --display-charset is set correctly.  If you prefix  name
  1190.                  with  an  exclamation  mark  (!),  the  notation data will be
  1191.                  flagged as critical (rfc2440:5.2.3.15).  --sig-notation  sets
  1192.                  a notation for data signatures.  --cert-notation sets a nota-
  1193.                  tion for  key  signatures  (certifications).   --set-notation
  1194.                  sets both.
  1195.  
  1196.                  There  are  special codes that may be used in notation names.
  1197.                  "%k" will be expanded into  the  key  ID  of  the  key  being
  1198.                  signed,  "%K"  into  the long key ID of the key being signed,
  1199.                  "%f" into the fingerprint of the key being signed, "%s"  into
  1200.                  the  key  ID  of  the key making the signature, "%S" into the
  1201.                  long key ID of the key making the signature,  "%g"  into  the
  1202.                  fingerprint of the key making the signature (which might be a
  1203.                  subkey), "%p" into the fingerprint of the primary key of  the
  1204.                  key  making the signature, "%c" into the signature count from
  1205.                  the OpenPGP smartcard, and "%%" results in a single "%".  %k,
  1206.                  %K,  and  %f  are only meaningful when making a key signature
  1207.                  (certification), and %c is only  meaningful  when  using  the
  1208.                  OpenPGP smartcard.
  1209.  
  1210.        --show-notation
  1211.  
  1212.        --no-show-notation
  1213.                  Show  signature  notations in the --list-sigs or --check-sigs
  1214.                  listings as well as when verifying a signature with  a  nota-
  1215.                  tion  in  it.   These  options  are deprecated.  Use `--list-
  1216.                  options    [no-]show-notation'    and/or    `--verify-options
  1217.                  [no-]show-notation' instead.
  1218.  
  1219.        --sig-policy-url string
  1220.  
  1221.        --cert-policy-url string
  1222.  
  1223.        --set-policy-url string
  1224.                  Use string as a Policy URL for signatures (rfc2440:5.2.3.19).
  1225.                  If you prefix it with an exclamation mark (!), the policy URL
  1226.                  packet  will be flagged as critical.  --sig-policy-url sets a
  1227.                  policy url for data  signatures.   --cert-policy-url  sets  a
  1228.                  policy  url  for key signatures (certifications).  --set-pol-
  1229.                  icy-url sets both.
  1230.  
  1231.                  The same %-expandos used for notation data are available here
  1232.                  as well.
  1233.  
  1234.        --show-policy-url
  1235.  
  1236.        --no-show-policy-url
  1237.                  Show  policy URLs in the --list-sigs or --check-sigs listings
  1238.                  as well as when verifying a signature with a  policy  URL  in
  1239.                  it.   These  options  are  deprecated.   Use  `--list-options
  1240.                  [no-]show-policy-url' and/or `--verify-options [no-]show-pol-
  1241.                  icy-url' instead.
  1242.  
  1243.        --sig-keyserver-url string
  1244.                  Use  string as a preferred keyserver URL for data signatures.
  1245.                  If you prefix it with an exclamation mark, the keyserver  URL
  1246.                  packet will be flagged as critical.
  1247.  
  1248.                  The same %-expandos used for notation data are available here
  1249.                  as well.
  1250.  
  1251.        --set-filename string
  1252.                  Use string as the filename which is stored  inside  messages.
  1253.                  This  overrides the default, which is to use the actual file-
  1254.                  name of the file being encrypted.
  1255.  
  1256.        --for-your-eyes-only
  1257.  
  1258.        --no-for-your-eyes-only
  1259.                  Set the `for your eyes  only'  flag  in  the  message.   This
  1260.                  causes  GnuPG  to refuse to save the file unless the --output
  1261.                  option is given, and PGP to use the "secure  viewer"  with  a
  1262.                  Tempest-resistant  font  to display the message.  This option
  1263.                  overrides --set-filename.   --no-for-your-eyes-only  disables
  1264.                  this option.
  1265.  
  1266.        --use-embedded-filename
  1267.  
  1268.        --no-use-embedded-filename
  1269.                  Try  to  create  a  file with a name as embedded in the data.
  1270.                  This can be a dangerous option  as  it  allows  to  overwrite
  1271.                  files.  Defaults to no.
  1272.  
  1273.        --completes-needed n
  1274.                  Number  of  completely  trusted  users to introduce a new key
  1275.                  signer (defaults to 1).
  1276.  
  1277.        --marginals-needed n
  1278.                  Number of marginally trusted users to  introduce  a  new  key
  1279.                  signer (defaults to 3)
  1280.  
  1281.        --max-cert-depth n
  1282.                  Maximum depth of a certification chain (default is 5).
  1283.  
  1284.        --cipher-algo name
  1285.                  Use   name  as cipher algorithm. Running the program with the
  1286.                  command --version yields a list of supported  algorithms.  If
  1287.                  this  is  not  used the cipher algorithm is selected from the
  1288.                  preferences stored with the key.
  1289.  
  1290.        --digest-algo name
  1291.                  Use name as the message digest algorithm. Running the program
  1292.                  with  the  command --version yields a list of supported algo-
  1293.                  rithms.
  1294.  
  1295.        --compress-algo name
  1296.                  Use compression algorithm name.  "zlib" is RFC-1950 ZLIB com-
  1297.                  pression.  "zip" is RFC-1951 ZIP compression which is used by
  1298.                  PGP.  "bzip2" is a more modern compression  scheme  that  can
  1299.                  compress some things better than zip or zlib, but at the cost
  1300.                  of more memory used  during  compression  and  decompression.
  1301.                  "uncompressed"  or  "none"  disables  compression.   If  this
  1302.                  option is not used, the default behavior is  to  examine  the
  1303.                  recipient key preferences to see which algorithms the recipi-
  1304.                  ent supports.  If all else fails, ZIP  is  used  for  maximum
  1305.                  compatibility.
  1306.  
  1307.                  ZLIB  may  give  better  compression results than ZIP, as the
  1308.                  compression window size is not limited to 8k.  BZIP2 may give
  1309.                  even  better  compression  results  than that, but will use a
  1310.                  significantly larger amount of memory while  compressing  and
  1311.                  decompressing.   This may be significant in low memory situa-
  1312.                  tions.  Note, however, that PGP (all versions) only  supports
  1313.                  ZIP  compression.   Using  any  algorithm  other  than ZIP or
  1314.                  "none" will make the message unreadable with PGP.
  1315.  
  1316.        --cert-digest-algo name
  1317.                  Use name as the message digest algorithm used when signing  a
  1318.                  key.  Running the program with the command --version yields a
  1319.                  list of supported algorithms.  Be aware that if you choose an
  1320.                  algorithm  that  GnuPG supports but other OpenPGP implementa-
  1321.                  tions do not, then some users will not be able to use the key
  1322.                  signatures you make, or quite possibly your entire key.
  1323.  
  1324.        --s2k-cipher-algo name
  1325.                  Use name as the cipher algorithm used to protect secret keys.
  1326.                  The default cipher is CAST5.  This cipher is  also  used  for
  1327.                  conventional  encryption if --personal-cipher-preferences and
  1328.                  --cipher-algo is not given.
  1329.  
  1330.        --s2k-digest-algo name
  1331.                  Use  name  as  the  digest  algorithm  used  to  mangle   the
  1332.                  passphrases.  The default algorithm is SHA-1.
  1333.  
  1334.        --s2k-mode n
  1335.                  Selects  how  passphrases  are  mangled.  If  n  is 0 a plain
  1336.                  passphrase (which is not recommended) will be used, a 1  adds
  1337.                  a  salt  to the passphrase and a 3 (the default) iterates the
  1338.                  whole process a couple of times.  Unless --rfc1991  is  used,
  1339.                  this mode is also used for conventional encryption.
  1340.  
  1341.        --simple-sk-checksum
  1342.                  Secret  keys  are integrity protected by using a SHA-1 check-
  1343.                  sum.  This method is part of the  upcoming  enhanced  OpenPGP
  1344.                  specification  but  GnuPG already uses it as a countermeasure
  1345.                  against certain attacks.  Old applications  don't  understand
  1346.                  this new format, so this option may be used to switch back to
  1347.                  the old behaviour.  Using this option bears a security  risk.
  1348.                  Note that using this option only takes effect when the secret
  1349.                  key is encrypted - the simplest way to make this happen is to
  1350.                  change  the  passphrase  on  the key (even changing it to the
  1351.                  same value is acceptable).
  1352.  
  1353.        --disable-cipher-algo name
  1354.                  Never allow the use of name as cipher algorithm.   The  given
  1355.                  name  will  not  be  checked so that a later loaded algorithm
  1356.                  will still get disabled.
  1357.  
  1358.        --disable-pubkey-algo name
  1359.                  Never allow the use of name as  public  key  algorithm.   The
  1360.                  given  name  will not be checked so that a later loaded algo-
  1361.                  rithm will still get disabled.
  1362.  
  1363.        --no-sig-cache
  1364.                  Do not cache  the  verification  status  of  key  signatures.
  1365.                  Caching  gives  a  much  better  performance in key listings.
  1366.                  However, if you suspect that your public keyring is not  save
  1367.                  against  write modifications, you can use this option to dis-
  1368.                  able the caching.  It probably does not make sense to disable
  1369.                  it because all kind of damage can be done if someone else has
  1370.                  write access to your public keyring.
  1371.  
  1372.        --no-sig-create-check
  1373.                  GnuPG normally verifies each signature right  after  creation
  1374.                  to protect against bugs and hardware malfunctions which could
  1375.                  leak out bits from the secret key.  This  extra  verification
  1376.                  needs some time (about 115% for DSA keys), and so this option
  1377.                  can be used to disable it.  However, due to the fact that the
  1378.                  signature creation needs manual interaction, this performance
  1379.                  penalty does not matter in most settings.
  1380.  
  1381.        --auto-check-trustdb
  1382.  
  1383.        --no-auto-check-trustdb
  1384.                  If GnuPG feels that its information about the  Web  of  Trust
  1385.                  has  to be updated, it automatically runs the --check-trustdb
  1386.                  command internally.  This may be a  time  consuming  process.
  1387.                  --no-auto-check-trustdb disables this option.
  1388.  
  1389.        --throw-keyids
  1390.  
  1391.        --no-throw-keyids
  1392.                  Do  not put the recipient keyid into encrypted packets.  This
  1393.                  option hides the receiver of the message and is a countermea-
  1394.                  sure  against traffic analysis.  It may slow down the decryp-
  1395.                  tion process because all available  secret  keys  are  tried.
  1396.                  --no-throw-keyids disables this option.
  1397.  
  1398.        --not-dash-escaped
  1399.                  This  option  changes the behavior of cleartext signatures so
  1400.                  that they can be used for patch files. You  should  not  send
  1401.                  such  an  armored  file via email because all spaces and line
  1402.                  endings are hashed too.  You can not use this option for data
  1403.                  which  has  5  dashes at the beginning of a line, patch files
  1404.                  don't have this. A special  armor  header  line  tells  GnuPG
  1405.                  about this cleartext signature option.
  1406.  
  1407.        --escape-from-lines
  1408.  
  1409.        --no-escape-from-lines
  1410.                  Because  some  mailers  change lines starting with "From " to
  1411.                  ">From " it is good to handle such lines  in  a  special  way
  1412.                  when creating cleartext signatures to prevent the mail system
  1413.                  from breaking the signature.  Note that all  other  PGP  ver-
  1414.                  sions  do it this way too.  Enabled by default.  --no-escape-
  1415.                  from-lines disables this option.
  1416.  
  1417.        --passphrase-fd n
  1418.                  Read the passphrase from file descriptor n. If you use 0  for
  1419.                  n,  the passphrase will be read from stdin.  This can only be
  1420.                  used if only one passphrase  is  supplied.   Don't  use  this
  1421.                  option if you can avoid it.
  1422.  
  1423.        --command-fd n
  1424.                  This  is  a  replacement for the deprecated shared-memory IPC
  1425.                  mode.  If this option is enabled, user input on questions  is
  1426.                  not expected from the TTY but from the given file descriptor.
  1427.                  It should be used together with  --status-fd.  See  the  file
  1428.                  doc/DETAILS  in the source distribution for details on how to
  1429.                  use it.
  1430.  
  1431.        --use-agent
  1432.  
  1433.        --no-use-agent
  1434.                  Try to use the GnuPG-Agent. Please note that  this  agent  is
  1435.                  still under development.  With this option, GnuPG first tries
  1436.                  to connect to the agent before  it  asks  for  a  passphrase.
  1437.                  --no-use-agent disables this option.
  1438.  
  1439.        --gpg-agent-info
  1440.                  Override    the    value    of   the   environment   variable
  1441.                  GPG_AGENT_INFO.  This is only used when --use-agent has  been
  1442.                  given
  1443.  
  1444.        Compliance options
  1445.                  These  options  control what GnuPG is compliant to.  Only one
  1446.                  of these options may be active at  a  time.   Note  that  the
  1447.                  default  setting  of  this  is nearly always the correct one.
  1448.                  See the INTEROPERABILITY WITH OTHER OPENPGP PROGRAMS  section
  1449.                  below before using one of these options.
  1450.  
  1451.                  --gnupg   Use  standard  GnuPG behavior.  This is essentially
  1452.                            OpenPGP behavior (see  --openpgp),  but  with  some
  1453.                            additional  workarounds  for  common  compatibility
  1454.                            problems in different versions of PGP.  This is the
  1455.                            default  option, so it is not generally needed, but
  1456.                            it may be useful to override a different compliance
  1457.                            option in the gpg.conf file.
  1458.  
  1459.                  --openpgp Reset  all  packet,  cipher  and  digest options to
  1460.                            strict OpenPGP behavior.  Use this option to  reset
  1461.                            all   previous  options  like  --rfc1991,  --force-
  1462.                            v3-sigs, --s2k-*, --cipher-algo, --digest-algo  and
  1463.                            --compress-algo  to  OpenPGP compliant values.  All
  1464.                            PGP workarounds are disabled.
  1465.  
  1466.                  --rfc2440 Reset all packet,  cipher  and  digest  options  to
  1467.                            strict  RFC-2440  behavior.  Note that this is cur-
  1468.                            rently the same thing as --openpgp.
  1469.  
  1470.                  --rfc1991 Try to be more RFC-1991 (PGP 2.x) compliant.
  1471.  
  1472.                  --pgp2    Set up all options to be as PGP  2.x  compliant  as
  1473.                            possible,  and  warn  if  an  action is taken (e.g.
  1474.                            encrypting to a non-RSA key)  that  will  create  a
  1475.                            message  that  PGP  2.x will not be able to handle.
  1476.                            Note that `PGP 2.x' here  means  `MIT  PGP  2.6.2'.
  1477.                            There  are other versions of PGP 2.x available, but
  1478.                            the MIT release is a good common baseline.
  1479.  
  1480.                            This option implies `--rfc1991 --disable-mdc  --no-
  1481.                            force-v4-certs  --no-sk-comment --escape-from-lines
  1482.                            --force-v3-sigs --no-ask-sig-expire  --no-ask-cert-
  1483.                            expire  --cipher-algo IDEA --digest-algo MD5 --com-
  1484.                            press-algo 1'.  It also  disables  --textmode  when
  1485.                            encrypting.
  1486.  
  1487.                  --pgp6    Set up all options to be as PGP 6 compliant as pos-
  1488.                            sible.  This restricts you to the ciphers IDEA  (if
  1489.                            the IDEA plugin is installed), 3DES, and CAST5, the
  1490.                            hashes MD5, SHA1 and RIPEMD160, and the compression
  1491.                            algorithms   none  and  ZIP.   This  also  disables
  1492.                            --throw-keyids, and making signatures with  signing
  1493.                            subkeys  as  PGP  6  does not understand signatures
  1494.                            made by signing subkeys.
  1495.  
  1496.                            This option implies `--disable-mdc  --no-sk-comment
  1497.                            --escape-from-lines  --force-v3-sigs  --no-ask-sig-
  1498.                            expire'
  1499.  
  1500.                  --pgp7    Set up all options to be as PGP 7 compliant as pos-
  1501.                            sible.   This  is  identical  to --pgp6 except that
  1502.                            MDCs are not disabled, and the  list  of  allowable
  1503.                            ciphers  is expanded to add AES128, AES192, AES256,
  1504.                            and TWOFISH.
  1505.  
  1506.                  --pgp8    Set up all options to be as PGP 8 compliant as pos-
  1507.                            sible.   PGP 8 is a lot closer to the OpenPGP stan-
  1508.                            dard than previous versions of  PGP,  so  all  this
  1509.                            does  is  disable  --throw-keyids and set --escape-
  1510.                            from-lines.  All algorithms are allowed except  for
  1511.                            the SHA384 and SHA512 digests.
  1512.  
  1513.        --force-v3-sigs
  1514.  
  1515.        --no-force-v3-sigs
  1516.                  OpenPGP states that an implementation should generate v4 sig-
  1517.                  natures but PGP versions 5 through 7 only recognize v4 signa-
  1518.                  tures  on key material.  This option forces v3 signatures for
  1519.                  signatures on data.  Note that this option  overrides  --ask-
  1520.                  sig-expire,  as  v3  signatures cannot have expiration dates.
  1521.                  --no-force-v3-sigs disables this option.
  1522.  
  1523.        --force-v4-certs
  1524.  
  1525.        --no-force-v4-certs
  1526.                  Always use v4 key signatures even on v3  keys.   This  option
  1527.                  also  changes the default hash algorithm for v3 RSA keys from
  1528.                  MD5 to SHA-1.  --no-force-v4-certs disables this option.
  1529.  
  1530.        --force-mdc
  1531.                  Force the use of encryption  with  a  modification  detection
  1532.                  code.  This is always used with the newer ciphers (those with
  1533.                  a blocksize greater than 64 bits), or if all of the recipient
  1534.                  keys indicate MDC support in their feature flags.
  1535.  
  1536.        --disable-mdc
  1537.                  Disable  the  use  of  the modification detection code.  Note
  1538.                  that by using this option, the encrypted message becomes vul-
  1539.                  nerable to a message modification attack.
  1540.  
  1541.        --allow-non-selfsigned-uid
  1542.  
  1543.        --no-allow-non-selfsigned-uid
  1544.                  Allow  the import and use of keys with user IDs which are not
  1545.                  self-signed.  This is not recommended, as a  non  self-signed
  1546.                  user  ID  is trivial to forge.  --no-allow-non-selfsigned-uid
  1547.                  disables.
  1548.  
  1549.        --allow-freeform-uid
  1550.                  Disable all checks on the form of the user ID while  generat-
  1551.                  ing  a new one.  This option should only be used in very spe-
  1552.                  cial environments as it does not ensure the de-facto standard
  1553.                  format of user IDs.
  1554.  
  1555.        --ignore-time-conflict
  1556.                  GnuPG  normally  checks  that  the timestamps associated with
  1557.                  keys and signatures have plausible  values.   However,  some-
  1558.                  times a signature seems to be older than the key due to clock
  1559.                  problems.  This option makes these  checks  just  a  warning.
  1560.                  See also --ignore-valid-from for timestamp issues on subkeys.
  1561.  
  1562.        --ignore-valid-from
  1563.                  GnuPG normally does not select and use subkeys created in the
  1564.                  future.   This  option  allows  the use of such keys and thus
  1565.                  exhibits the pre-1.0.7 behaviour.  You should  not  use  this
  1566.                  option  unless  you  there  is  some clock problem.  See also
  1567.                  --ignore-time-conflict for timestamp issues with  signatures.
  1568.  
  1569.        --ignore-crc-error
  1570.                  The  ASCII armor used by OpenPGP is protected by a CRC check-
  1571.                  sum against transmission errors.  Occasionally the  CRC  gets
  1572.                  mangled  somewhere on the transmission channel but the actual
  1573.                  content (which is protected by the OpenPGP  protocol  anyway)
  1574.                  is  still  okay.   This  option  allows  GnuPG  to ignore CRC
  1575.                  errors.
  1576.  
  1577.        --ignore-mdc-error
  1578.                  This option changes a MDC integrity protection failure into a
  1579.                  warning.   This  can be useful if a message is partially cor-
  1580.                  rupt, but it is necessary to get as much data as possible out
  1581.                  of the corrupt message.  However, be aware that a MDC protec-
  1582.                  tion failure may also mean that the message was tampered with
  1583.                  intentionally by an attacker.
  1584.  
  1585.        --lock-once
  1586.                  Lock  the databases the first time a lock is requested and do
  1587.                  not release the lock until the process terminates.
  1588.  
  1589.        --lock-multiple
  1590.                  Release the locks every time a lock is no longer needed.  Use
  1591.                  this to override a previous --lock-once from a config file.
  1592.  
  1593.        --lock-never
  1594.                  Disable locking entirely.  This option should be used only in
  1595.                  very special environments, where it can be assured that  only
  1596.                  one process is accessing those files.  A bootable floppy with
  1597.                  a stand-alone  encryption  system  will  probably  use  this.
  1598.                  Improper  usage  of this option may lead to data and key cor-
  1599.                  ruption.
  1600.  
  1601.        --no-random-seed-file
  1602.                  GnuPG uses a file to store  its  internal  random  pool  over
  1603.                  invocations.   This  makes  random generation faster; however
  1604.                  sometimes write operations are not desired.  This option  can
  1605.                  be used to achieve that with the cost of slower random gener-
  1606.                  ation.
  1607.  
  1608.        --no-verbose
  1609.                  Reset verbose level to 0.
  1610.  
  1611.        --no-greeting
  1612.                  Suppress the initial copyright message.
  1613.  
  1614.        --no-secmem-warning
  1615.                  Suppress the warning about "using insecure memory".
  1616.  
  1617.        --no-permission-warning
  1618.                  Suppress the warning about unsafe  file  and  home  directory
  1619.                  (--homedir)  permissions.   Note  that  the permission checks
  1620.                  that GnuPG performs are not intended to be authoritative, but
  1621.                  rather they simply warn about certain common permission prob-
  1622.                  lems.  Do not assume that the lack of a  warning  means  that
  1623.                  your system is secure.
  1624.  
  1625.                  Note that the warning for unsafe --homedir permissions cannot
  1626.                  be supressed in the gpg.conf file, as  this  would  allow  an
  1627.                  attacker  to  place an unsafe gpg.conf file in place, and use
  1628.                  this file to supress warnings about  itself.   The  --homedir
  1629.                  permissions  warning  may  only  be  supressed on the command
  1630.                  line.
  1631.  
  1632.        --no-mdc-warning
  1633.                  Suppress the warning about missing MDC integrity  protection.
  1634.  
  1635.        --require-secmem
  1636.  
  1637.        --no-require-secmem
  1638.                  Refuse to run if GnuPG cannot get secure memory.  Defaults to
  1639.                  no (i.e. run, but give a warning).
  1640.  
  1641.        --no-armor
  1642.                  Assume the input data is not in ASCII armored format.
  1643.  
  1644.        --no-default-keyring
  1645.                  Do not add the default keyrings  to  the  list  of  keyrings.
  1646.                  Note  that GnuPG will not operate without any keyrings, so if
  1647.                  you use this option and do not provide alternate keyrings via
  1648.                  --keyring  or --secret-keyring, then GnuPG will still use the
  1649.                  default public or secret keyrings.
  1650.  
  1651.        --skip-verify
  1652.                  Skip the signature verification step.  This may  be  used  to
  1653.                  make  the  decryption faster if the signature verification is
  1654.                  not needed.
  1655.  
  1656.        --with-colons
  1657.                  Print key listings delimited by colons.  Note that the output
  1658.                  will  be encoded in UTF-8 regardless of any --display-charset
  1659.                  setting.  This format is useful when  GnuPG  is  called  from
  1660.                  scripts  and  other  programs as it is easily machine parsed.
  1661.                  The details  of  this  format  are  documented  in  the  file
  1662.                  doc/DETAILS,  which is included in the GnuPG source distribu-
  1663.                  tion.
  1664.  
  1665.        --with-key-data
  1666.                  Print key listings delimited by colons  (like  --with-colons)
  1667.                  and print the public key data.
  1668.  
  1669.        --with-fingerprint
  1670.                  Same as the command --fingerprint but changes only the format
  1671.                  of the output and may be used together with another  command.
  1672.  
  1673.        --fast-list-mode
  1674.                  Changes  the output of the list commands to work faster; this
  1675.                  is achieved by leaving some parts empty.   Some  applications
  1676.                  don't need the user ID and the trust information given in the
  1677.                  listings.  By using this options they can get a faster  list-
  1678.                  ing.  The exact behaviour of this option may change in future
  1679.                  versions.
  1680.  
  1681.        --fixed-list-mode
  1682.                  Do not merge primary user ID and primary key in  --with-colon
  1683.                  listing  mode  and  print  all  timestamps  as  seconds since
  1684.                  1970-01-01.
  1685.  
  1686.        --list-only
  1687.                  Changes the behaviour of some commands.  This is like  --dry-
  1688.                  run  but  different  in  some  cases.   The  semantic of this
  1689.                  command may be extended in the  future.   Currently  it  only
  1690.                  skips the actual decryption pass and therefore enables a fast
  1691.                  listing of the encryption keys.
  1692.  
  1693.        --no-literal
  1694.                  This is not for normal use.  Use the source to see  for  what
  1695.                  it might be useful.
  1696.  
  1697.        --set-filesize
  1698.                  This  is  not for normal use.  Use the source to see for what
  1699.                  it might be useful.
  1700.  
  1701.        --show-session-key
  1702.                  Display the session key used for one message. See --override-
  1703.                  session-key for the counterpart of this option.
  1704.  
  1705.                  We  think  that  Key  Escrow is a Bad Thing; however the user
  1706.                  should have the freedom to decide whether to go to prison  or
  1707.                  to reveal the content of one specific message without compro-
  1708.                  mising all messages ever encrypted for one secret key.  DON'T
  1709.                  USE IT UNLESS YOU ARE REALLY FORCED TO DO SO.
  1710.  
  1711.        --override-session-key string
  1712.                  Don't  use  the  public  key but the session key string.  The
  1713.                  format of this string is the  same  as  the  one  printed  by
  1714.                  --show-session-key.   This  option  is  normally not used but
  1715.                  comes handy in case someone forces you to reveal the  content
  1716.                  of  an  encrypted  message; using this option you can do this
  1717.                  without handing out the secret key.
  1718.  
  1719.        --ask-sig-expire
  1720.  
  1721.        --no-ask-sig-expire
  1722.                  When making a data signature, prompt for an expiration  time.
  1723.                  If  this  option  is  not  specified,  the expiration time is
  1724.                  "never".  --no-ask-sig-expire disables this option.
  1725.  
  1726.        --ask-cert-expire
  1727.  
  1728.        --no-ask-cert-expire
  1729.                  When making a key signature, prompt for an  expiration  time.
  1730.                  If  this  option  is  not  specified,  the expiration time is
  1731.                  "never".  --no-ask-cert-expire disables this option.
  1732.  
  1733.        --expert
  1734.  
  1735.        --no-expert
  1736.                  Allow the user to do certain nonsensical  or  "silly"  things
  1737.                  like  signing  an  expired  or revoked key, or certain poten-
  1738.                  tially incompatible things like generating unusual key types.
  1739.                  This also disables certain warning messages about potentially
  1740.                  incompatible actions.  As the name implies,  this  option  is
  1741.                  for experts only.  If you don't fully understand the implica-
  1742.                  tions of what it allows you to do,  leave  this  off.   --no-
  1743.                  expert disables this option.
  1744.  
  1745.        --allow-secret-key-import
  1746.                  This is an obsolete option and is not used anywhere.
  1747.  
  1748.        --try-all-secrets
  1749.                  Don't look at the key ID as stored in the message but try all
  1750.                  secret keys in turn to find the right  decryption  key.  This
  1751.                  option  forces  the behaviour as used by anonymous recipients
  1752.                  (created by using --throw-keyids) and  might  come  handy  in
  1753.                  case where an encrypted message contains a bogus key ID.
  1754.  
  1755.        --enable-special-filenames
  1756.                  This  options  enables  a mode in which filenames of the form
  1757.                  -&n, where n is a non-negative decimal number, refer  to  the
  1758.                  file descriptor n and not to a file with that name.
  1759.  
  1760.        --no-expensive-trust-checks
  1761.                  Experimental use only.
  1762.  
  1763.        --group name=value1 [value2 value3 ...]
  1764.                  Sets  up  a named group, which is similar to aliases in email
  1765.                  programs.  Any time the group name  is  a  recipient  (-r  or
  1766.                  --recipient),  it  will  be expanded to the values specified.
  1767.                  Multiple groups with the same name are  automatically  merged
  1768.                  into a single group.
  1769.  
  1770.                  The  values are key IDs or fingerprints, but any key descrip-
  1771.                  tion is accepted.  Note that a value with spaces in  it  will
  1772.                  be  treated as two different values.  Note also there is only
  1773.                  one level of expansion - you cannot make an group that points
  1774.                  to another group.  When used from the command line, it may be
  1775.                  necessary to quote the argument to this option to prevent the
  1776.                  shell from treating it as multiple arguments.
  1777.  
  1778.        --ungroup name
  1779.                  Remove a given entry from the --group list.
  1780.  
  1781.        --no-groups
  1782.                  Remove all entries from the --group list.
  1783.  
  1784.        --preserve-permissions
  1785.                  Don't change the permissions of a secret keyring back to user
  1786.                  read/write only.  Use this option only  if  you  really  know
  1787.                  what you are doing.
  1788.  
  1789.        --personal-cipher-preferences string
  1790.                  Set  the  list of personal cipher preferences to string, this
  1791.                  list should be a string similar to the  one  printed  by  the
  1792.                  command  "pref"  in  the  edit menu.  This allows the user to
  1793.                  factor in their own preferred algorithms when algorithms  are
  1794.                  chosen via recipient key preferences.  The most highly ranked
  1795.                  cipher in this list is also used for the --symmetric  encryp-
  1796.                  tion command.
  1797.  
  1798.        --personal-digest-preferences string
  1799.                  Set  the  list of personal digest preferences to string, this
  1800.                  list should be a string similar to the  one  printed  by  the
  1801.                  command  "pref"  in  the  edit menu.  This allows the user to
  1802.                  factor in their own preferred algorithms when algorithms  are
  1803.                  chosen via recipient key preferences.  The most highly ranked
  1804.                  digest algorithm in this list is algo used when signing with-
  1805.                  out  encryption  (e.g.  --clearsign  or --sign).  The default
  1806.                  value is SHA-1.
  1807.  
  1808.        --personal-compress-preferences string
  1809.                  Set the list of personal compression preferences  to  string,
  1810.                  this  list  should  be a string similar to the one printed by
  1811.                  the command "pref" in the edit menu.  This allows the user to
  1812.                  factor  in their own preferred algorithms when algorithms are
  1813.                  chosen via recipient key preferences.  The most highly ranked
  1814.                  algorithm in this list is also used when there are no recipi-
  1815.                  ent keys to consider (e.g. --symmetric).
  1816.  
  1817.        --default-preference-list string
  1818.                  Set the list of default  preferences  to  string,  this  list
  1819.                  should  be a string similar to the one printed by the command
  1820.                  "pref" in the edit menu.  This affects  both  key  generation
  1821.                  and "updpref" in the edit menu.
  1822.  
  1823.        --list-config [names]
  1824.                  Display  various  internal configuration parameters of GnuPG.
  1825.                  This option is intended for external programs that call GnuPG
  1826.                  to  perform tasks, and is thus not generally useful.  See the
  1827.                  file doc/DETAILS in the source distribution for  the  details
  1828.                  of which configuration items may be listed.  --list-config is
  1829.                  only usable with --with-colons set.
  1830.  
  1831. How to specify a user ID
  1832.        There are different ways to specify a user ID to GnuPG; here  are  some
  1833.        examples:
  1834.  
  1835.  
  1836.  
  1837.  
  1838.        234567C4
  1839.  
  1840.        0F34E556E
  1841.  
  1842.        01347A56A
  1843.  
  1844.        0xAB123456
  1845.                  Here the key ID is given in the usual short form.
  1846.  
  1847.        234AABBCC34567C4
  1848.  
  1849.        0F323456784E56EAB
  1850.  
  1851.        01AB3FED1347A5612
  1852.  
  1853.        0x234AABBCC34567C4
  1854.                  Here  the key ID is given in the long form as used by OpenPGP
  1855.                  (you can get the long key ID using the option --with-colons).
  1856.  
  1857.        1234343434343434C434343434343434
  1858.  
  1859.        123434343434343C3434343434343734349A3434
  1860.  
  1861.        0E12343434343434343434EAB3484343434343434
  1862.  
  1863.        0xE12343434343434343434EAB3484343434343434
  1864.                  The  best way to specify a key ID is by using the fingerprint
  1865.                  of the key.  This avoids any ambiguities in case  that  there
  1866.                  are  duplicated  key  IDs (which are really rare for the long
  1867.                  key IDs).
  1868.  
  1869.        =Heinrich Heine <heinrichh@uni-duesseldorf.de>
  1870.                  Using an exact to match string.   The  equal  sign  indicates
  1871.                  this.
  1872.  
  1873.        <heinrichh@uni-duesseldorf.de>
  1874.                  Using  the  email  address part which must match exactly. The
  1875.                  left angle bracket indicates this email address mode.
  1876.  
  1877.        +Heinrich Heine duesseldorf
  1878.                  All words must match exactly (not  case  sensitive)  but  can
  1879.                  appear  in any order in the user ID.  Words are any sequences
  1880.                  of letters, digits, the underscore and  all  characters  with
  1881.                  bit 7 set.
  1882.  
  1883.        Heine
  1884.  
  1885.        *Heine    By  case insensitive substring matching.  This is the default
  1886.                  mode but applications may want to explicitly indicate this by
  1887.                  putting the asterisk in front.
  1888.  
  1889.        Note  that you can append an exclamation mark (!) to key IDs or finger-
  1890.        prints.  This flag tells GnuPG to use the  specified  primary  or  sec-
  1891.        ondary  key and not to try and calculate which primary or secondary key
  1892.        to use.
  1893.  
  1894.  
  1895. RETURN VALUE
  1896.        The program returns 0 if everything was fine, 1 if at least a signature
  1897.        was bad, and other error codes for fatal errors.
  1898.  
  1899.  
  1900. EXAMPLES
  1901.        gpg -se -r Bob file
  1902.                  sign and encrypt for user Bob
  1903.  
  1904.        gpg --clearsign file
  1905.                  make a clear text signature
  1906.  
  1907.        gpg -sb  file
  1908.                  make a detached signature
  1909.  
  1910.        gpg --list-keys  user_ID
  1911.                  show keys
  1912.  
  1913.        gpg --fingerprint  user_ID
  1914.                  show fingerprint
  1915.  
  1916.        gpg --verify  pgpfile
  1917.  
  1918.        gpg --verify  sigfile [files]
  1919.                  Verify  the signature of the file but do not output the data.
  1920.                  The second form is used for detached signatures,  where  sig-
  1921.                  file  is  the  detached  signature  (either  ASCII armored or
  1922.                  binary) and [files] are the  signed  data;  if  this  is  not
  1923.                  given,  the  name of the file holding the signed data is con-
  1924.                  structed by cutting off the extension (".asc" or  ".sig")  of
  1925.                  sigfile or by asking the user for the filename.
  1926.  
  1927. ENVIRONMENT
  1928.        HOME      Used to locate the default home directory.
  1929.  
  1930.        GNUPGHOME If set directory used instead of "~/.gnupg".
  1931.  
  1932.        GPG_AGENT_INFO
  1933.                  Used  to  locate the gpg-agent; only honored when --use-agent
  1934.                  is set.  The value consists of 3 colon delimited fields:  The
  1935.                  first  is  the path to the Unix Domain Socket, the second the
  1936.                  PID of the gpg-agent and the protocol version which should be
  1937.                  set  to  1.   When starting the gpg-agent as described in its
  1938.                  documentation, this variable is set  to  the  correct  value.
  1939.                  The option --gpg-agent-info can be used to override it.
  1940.  
  1941.        http_proxy
  1942.                  Only  honored  when  the keyserver-option honor-http-proxy is
  1943.                  set.
  1944.  
  1945.        COLUMNS
  1946.  
  1947.        LINES     Used to size some displays to the full size of the screen.
  1948.  
  1949. FILES
  1950.        ~/.gnupg/secring.gpg
  1951.                  The secret keyring
  1952.  
  1953.        ~/.gnupg/secring.gpg.lock
  1954.                  and the lock file
  1955.  
  1956.        ~/.gnupg/pubring.gpg
  1957.                  The public keyring
  1958.  
  1959.        ~/.gnupg/pubring.gpg.lock
  1960.                  and the lock file
  1961.  
  1962.        ~/.gnupg/trustdb.gpg
  1963.                  The trust database
  1964.  
  1965.        ~/.gnupg/trustdb.gpg.lock
  1966.                  and the lock file
  1967.  
  1968.        ~/.gnupg/random_seed
  1969.                  used to preserve the internal random pool
  1970.  
  1971.        ~/.gnupg/gpg.conf
  1972.                  Default configuration file
  1973.  
  1974.        ~/.gnupg/options
  1975.                  Old style configuration file; only used when gpg.conf is  not
  1976.                  found
  1977.  
  1978.        /usr[/local]/share/gnupg/options.skel
  1979.                  Skeleton options file
  1980.  
  1981.        /usr[/local]/lib/gnupg/
  1982.                  Default location for extensions
  1983.  
  1984. WARNINGS
  1985.        Use  a *good* password for your user account and a *good* passphrase to
  1986.        protect your secret key.  This passphrase is the weakest  part  of  the
  1987.        whole system.  Programs to do dictionary attacks on your secret keyring
  1988.        are very easy to write and  so  you  should  protect  your  "~/.gnupg/"
  1989.        directory very well.
  1990.  
  1991.        Keep  in mind that, if this program is used over a network (telnet), it
  1992.        is *very* easy to spy out your passphrase!
  1993.  
  1994.        If you are going to verify detached signatures, make sure that the pro-
  1995.        gram  knows about it; either give both filenames on the command line or
  1996.        use - to specify stdin.
  1997.  
  1998. INTEROPERABILITY WITH OTHER OPENPGP PROGRAMS
  1999.        GnuPG tries to be a very flexible implementation of the  OpenPGP  stan-
  2000.        dard.   In  particular,  GnuPG implements many of the optional parts of
  2001.        the standard, such as the SHA-512 hash, and the ZLIB and BZIP2 compres-
  2002.        sion algorithms.  It is important to be aware that not all OpenPGP pro-
  2003.        grams implement these optional algorithms and that by forcing their use
  2004.        via  the  --cipher-algo,  --digest-algo,  --cert-digest-algo, or --com-
  2005.        press-algo options in GnuPG, it is possible to create a perfectly valid
  2006.        OpenPGP message, but one that cannot be read by the intended recipient.
  2007.  
  2008.        There are dozens of variations of OpenPGP programs available, and  each
  2009.        supports a slightly different subset of these optional algorithms.  For
  2010.        example, until recently, no (unhacked) version  of  PGP  supported  the
  2011.        BLOWFISH  cipher  algorithm.  A message using BLOWFISH simply could not
  2012.        be read by a PGP user.  By default, GnuPG  uses  the  standard  OpenPGP
  2013.        preferences  system that will always do the right thing and create mes-
  2014.        sages that are usable by all recipients, regardless  of  which  OpenPGP
  2015.        program  they  use.  Only override this safe default if you really know
  2016.        what you are doing.
  2017.  
  2018.        If you absolutely must override the safe default, or if the preferences
  2019.        on  a  given  key  are  invalid for some reason, you are far better off
  2020.        using the --pgp6, --pgp7, or --pgp8 options.  These options are safe as
  2021.        they  do  not  force any particular algorithms in violation of OpenPGP,
  2022.        but rather reduce the available algorithms to a "PGP-safe" list.
  2023.  
  2024. BUGS
  2025.        On many systems this program should be installed as setuid(root).  This
  2026.        is  necessary  to lock memory pages.  Locking memory pages prevents the
  2027.        operating  system  from  writing  memory  pages  (which   may   contain
  2028.        passphrases  or other sensitive material) to disk.  If you get no warn-
  2029.        ing message about insecure memory your operating system supports  lock-
  2030.        ing  without  being root.  The program drops root privileges as soon as
  2031.        locked memory is allocated.
  2032.  
  2033.  
  2034.  
  2035.                                                                         gpg(1)
  2036.