1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-11 21:48:50 +01:00
gnupg/g10/OPTIONS

209 lines
5.1 KiB
Plaintext
Raw Normal View History

1997-12-20 18:23:29 +01:00
# This is a sample option file
#
# Unless you you specify which option file to use with the
# commandline option "--options filename", g10 uses per
# default the file ~/.g10/options.
#
# An option file can contain all long options which are
# available in G10. If the first non white space character of
# a line is a '#', this line is ignored. Empty lines are also
# ignored.
#
# Here is a list of all possible options. Not of all them make
# sense in an option file; consider this as a complete option
1998-01-05 20:13:15 +01:00
# reference. Before the options you find a list of commands.
1997-12-20 18:23:29 +01:00
1998-01-05 20:13:15 +01:00
#-----------------------------------------------
#------------------- Commands ------------------
#-----------------------------------------------
# With some expections, those cannot be combined
1997-12-20 18:23:29 +01:00
1998-01-05 20:13:15 +01:00
add-key
# add key to the public keyring
1997-12-20 18:23:29 +01:00
change-passphrase
# change the passphrase of your secret keyring
check
# check a signature
decrypt
# decrypt data (default)
delete-key
# remove key from public keyring,
1998-01-05 20:13:15 +01:00
edit-sig
# edit a key signature. Currently you have only the option to delete
# some signatures.
1997-12-20 18:23:29 +01:00
encrypt
1998-01-05 20:13:15 +01:00
# (Can be combined with a "sign")
1997-12-20 18:23:29 +01:00
# encrypt data
1998-01-26 23:09:01 +01:00
export <names>
# Either export all keys from all keyrings (default keyrings and
# those registered via option "keyring"), or if at least one name is
# given, those of the givename. The new keyring is written to stdout
# or to the file given with option "output"
1997-12-20 18:23:29 +01:00
fingerprint
# show the fingerprints,
gen-key
1998-01-05 20:13:15 +01:00
# generate a new key pair, this is an interactive command.
1997-12-20 18:23:29 +01:00
gen-prime
# Generate a prime.
# With one argument: take it as the bitsize and make a simple prime of
# this size
# With two arguments: Generate a prime, usable for DL algorithms.
# With three arguments: same as above, but a third argument indicates
1998-01-05 20:13:15 +01:00
# that a generator should also be calculated.
1997-12-20 18:23:29 +01:00
1998-01-05 20:13:15 +01:00
list-packets
# List only the sequence of packets"},
1997-12-20 18:23:29 +01:00
print-mds
# print all message digests of all give filenames
sign
1998-01-05 20:13:15 +01:00
# (Can be combined with a "encrypt")
1997-12-20 18:23:29 +01:00
# make a signature
sign-key
# make a signature on a key in the keyring
# Argument is the userid of the key to sign.
# This looks for the key, displays the key and checks all
# existing signatures of this key. If the key is not yet signed
# by the default user (or the users given with "-l"), the programm
# displays the information of the key again, together with
# it's fingerprint and asked wehter it should be signed. This question
# is repeated for all users specified with "-l". The key is then signed
# and the keyring which contains the key is updated.
store
# simply packs the input data into a rfc1991 packet format
symmetric
# encrypt the input only with the symmetric (conventional) cipher.
# This asks for a passphrase.
1998-01-05 20:13:15 +01:00
1997-12-20 18:23:29 +01:00
test
# Used for testing some parts of the program
1998-01-05 20:13:15 +01:00
#----------------------------------------------
#------ Options without a long form ----------
#----------------------------------------------
-k
# List keyrings.
# Without arguments, all default public keyrings are listed
# With one argument, this keyring is listed.
#
# -kv is the same as -k
# -kvv list the signatures with every key
# -kvvv additional checks all signatures
# -kvc list fingerprints
# -kvvc list fingerprints and signatures
# Note that this is a kludge, to emulate the strange pgp syntax;
# combining it with other options may give other outputs.
-z n
# Set compress level to n.
# n = 0 disables compresson. Default compress level depends on
# the local zlib (6).
#-----------------------------------------------
#------------------- Options -------------------
#-----------------------------------------------
armor
# create ascii armored output
batch
# batch mode: never ask
cache-all
# hold everything in memory
check-key
# check signatures on a key in the keyring
debug value|hexvalue
# set debugging flags,
debug-all
# enable full debugging
detach-sign
# make a detached signature,
dry-run
# don't make any changes
keyring filename
# add this filename to the list of keyrings
local-user user-string
# use this user-string to sign or decrypt
no
# assume no on most questions
no-armor
# Assume the input data is not in ascii armored format.
no-default-keyring
# Do not add the default keyrings to the list of keyrings
no-greeting
# suppress the initial copyright etc. messages but do not enter batch mode.
1998-01-07 21:47:46 +01:00
no-verbose
# set verbose level to 0
1998-01-05 20:13:15 +01:00
options filename
# Ignored in option files.
output filename
# use filename for output
passphrase-fd n
# Read the passphrase from file with the descriptor n. If you use
# 0 for n, the passphrase will be read from stdin. This can only be used
# if only one passphrase is supplied.
remote-user
# use this user-id for encryption"
secret-keyring filename
# add filename to the list of secret keyrings
1998-01-30 17:23:16 +01:00
status-fd n
# Write status informations to this file descriptor. If this option
# is not used, no status information is writte. This option is for the
# sake of a calling programm (e.g. a MUA) to ease up parsing of output
# and providing a defined set of status messages.
# FIXME: use a format ala "100 Blabla"?
1997-12-20 18:23:29 +01:00
verbose
# Give more informations suring processing. If used 2 times, the input data
# is listed in detail.
yes
# assume yes on most questions