mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-07 22:01:07 +01:00
doc: Add man page for gpgtar
-- This also removes the documentation for gpg-zip which is not distributed anymore. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
878b8bfdcc
commit
1b6d1ac976
@ -91,7 +91,7 @@ myman_sources = gnupg7.texi gpg.texi gpgsm.texi gpg-agent.texi \
|
|||||||
dirmngr.texi scdaemon.texi tools.texi wks.texi
|
dirmngr.texi scdaemon.texi tools.texi wks.texi
|
||||||
myman_pages = gpgsm.1 gpg-agent.1 dirmngr.8 scdaemon.1 \
|
myman_pages = gpgsm.1 gpg-agent.1 dirmngr.8 scdaemon.1 \
|
||||||
watchgnupg.1 gpgconf.1 addgnupghome.8 gpg-preset-passphrase.1 \
|
watchgnupg.1 gpgconf.1 addgnupghome.8 gpg-preset-passphrase.1 \
|
||||||
gpg-connect-agent.1 gpgparsemail.1 symcryptrun.1 \
|
gpg-connect-agent.1 gpgparsemail.1 symcryptrun.1 gpgtar.1 \
|
||||||
applygnupgdefaults.8 gpg-wks-client.1 gpg-wks-server.1 \
|
applygnupgdefaults.8 gpg-wks-client.1 gpg-wks-server.1 \
|
||||||
dirmngr-client.1
|
dirmngr-client.1
|
||||||
if USE_GPG2_HACK
|
if USE_GPG2_HACK
|
||||||
@ -110,7 +110,7 @@ CLEANFILES = yat2m mkdefsinc defs.inc
|
|||||||
DISTCLEANFILES = gnupg.tmp gnupg.ops yat2m-stamp.tmp yat2m-stamp \
|
DISTCLEANFILES = gnupg.tmp gnupg.ops yat2m-stamp.tmp yat2m-stamp \
|
||||||
gnupg-card-architecture.eps \
|
gnupg-card-architecture.eps \
|
||||||
gnupg-module-overview.eps \
|
gnupg-module-overview.eps \
|
||||||
$(myman_pages) gpg-zip.1 gnupg.7
|
$(myman_pages) gnupg.7
|
||||||
|
|
||||||
yat2m: yat2m.c
|
yat2m: yat2m.c
|
||||||
$(CC_FOR_BUILD) -o $@ $(srcdir)/yat2m.c
|
$(CC_FOR_BUILD) -o $@ $(srcdir)/yat2m.c
|
||||||
|
136
doc/tools.texi
136
doc/tools.texi
@ -20,7 +20,7 @@ GnuPG comes with a couple of smaller tools:
|
|||||||
* dirmngr-client:: How to use the Dirmngr client tool.
|
* dirmngr-client:: How to use the Dirmngr client tool.
|
||||||
* gpgparsemail:: Parse a mail message into an annotated format
|
* gpgparsemail:: Parse a mail message into an annotated format
|
||||||
* symcryptrun:: Call a simple symmetric encryption tool.
|
* symcryptrun:: Call a simple symmetric encryption tool.
|
||||||
* gpg-zip:: Encrypt or sign files into an archive.
|
* gpgtar:: Encrypt or sign files into an archive.
|
||||||
@end menu
|
@end menu
|
||||||
|
|
||||||
@c
|
@c
|
||||||
@ -1894,23 +1894,19 @@ The possible exit status codes of @command{symcryptrun} are:
|
|||||||
|
|
||||||
|
|
||||||
@c
|
@c
|
||||||
@c GPG-ZIP
|
@c GPGTAR
|
||||||
@c
|
@c
|
||||||
@c The original manpage on which this section is based was written
|
@manpage gpgtar.1
|
||||||
@c by Colin Tuckley <colin@tuckley.org> and Daniel Leidert
|
@node gpgtar
|
||||||
@c <daniel.leidert@wgdd.de> for the Debian distribution (but may be used by
|
|
||||||
@c others).
|
|
||||||
@manpage gpg-zip.1
|
|
||||||
@node gpg-zip
|
|
||||||
@section Encrypt or sign files into an archive
|
@section Encrypt or sign files into an archive
|
||||||
@ifset manverb
|
@ifset manverb
|
||||||
.B gpg-zip
|
.B gpgtar
|
||||||
\- Encrypt or sign files into an archive
|
\- Encrypt or sign files into an archive
|
||||||
@end ifset
|
@end ifset
|
||||||
|
|
||||||
@mansect synopsis
|
@mansect synopsis
|
||||||
@ifset manverb
|
@ifset manverb
|
||||||
.B gpg-zip
|
.B gpgtar
|
||||||
.RI [ options ]
|
.RI [ options ]
|
||||||
.I filename1
|
.I filename1
|
||||||
.I [ filename2, ... ]
|
.I [ filename2, ... ]
|
||||||
@ -1919,61 +1915,130 @@ The possible exit status codes of @command{symcryptrun} are:
|
|||||||
@end ifset
|
@end ifset
|
||||||
|
|
||||||
@mansect description
|
@mansect description
|
||||||
@command{gpg-zip} encrypts or signs files into an archive. It is an
|
@command{gpgtar} encrypts or signs files into an archive. It is an
|
||||||
gpg-ized tar using the same format as used by PGP's PGP Zip.
|
gpg-ized tar using the same format as used by PGP's PGP Zip.
|
||||||
|
|
||||||
@manpause
|
@manpause
|
||||||
@noindent
|
@noindent
|
||||||
@command{gpg-zip} is invoked this way:
|
@command{gpgtar} is invoked this way:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
gpg-zip [options] @var{filename1} [@var{filename2}, ...] @var{directory} [@var{directory2}, ...]
|
gpgtar [options] @var{filename1} [@var{filename2}, ...] @var{directory} [@var{directory2}, ...]
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@mansect options
|
@mansect options
|
||||||
@noindent
|
@noindent
|
||||||
@command{gpg-zip} understands these options:
|
@command{gpgtar} understands these options:
|
||||||
|
|
||||||
@table @gnupgtabopt
|
@table @gnupgtabopt
|
||||||
|
|
||||||
|
@item --create
|
||||||
|
@opindex create
|
||||||
|
Put given files and directories into a vanilla ``ustar'' archive.
|
||||||
|
|
||||||
|
@item --extract
|
||||||
|
@opindex extract
|
||||||
|
Extract all files from a vanilla ``ustar'' archive.
|
||||||
|
|
||||||
@item --encrypt
|
@item --encrypt
|
||||||
@itemx -e
|
@itemx -e
|
||||||
@opindex encrypt
|
@opindex encrypt
|
||||||
Encrypt data. This option may be combined with @option{--symmetric} (for output that may be decrypted via a secret key or a passphrase).
|
Encrypt given files and directories into an archive. This option may
|
||||||
|
be combined with option @option{--symmetric} for an archive that may
|
||||||
|
be decrypted via a secret key or a passphrase.
|
||||||
|
|
||||||
@item --decrypt
|
@item --decrypt
|
||||||
@itemx -d
|
@itemx -d
|
||||||
@opindex decrypt
|
@opindex decrypt
|
||||||
Decrypt data.
|
Extract all files from an encrypted archive.
|
||||||
|
|
||||||
|
@item --sign
|
||||||
|
@itemx -s
|
||||||
|
Make a signed archive from the given files and directories. Thsi can
|
||||||
|
be combined with option @option{--encrypt} to create a signed and then
|
||||||
|
encrypted archive.
|
||||||
|
|
||||||
|
@item --list-archive
|
||||||
|
@itemx -t
|
||||||
|
@opindex list-archive
|
||||||
|
List the contents of the specified archive.
|
||||||
|
|
||||||
@item --symmetric
|
@item --symmetric
|
||||||
@itemx -c
|
@itemx -c
|
||||||
Encrypt with a symmetric cipher using a passphrase. The default
|
Encrypt with a symmetric cipher using a passphrase. The default
|
||||||
symmetric cipher used is CAST5, but may be chosen with the
|
symmetric cipher used is @value{GPGSYMENCALGO}, but may be chosen with the
|
||||||
@option{--cipher-algo} option to @command{gpg}.
|
@option{--cipher-algo} option to @command{gpg}.
|
||||||
|
|
||||||
@item --sign
|
|
||||||
@itemx -s
|
|
||||||
Make a signature. See @command{gpg}.
|
|
||||||
|
|
||||||
@item --recipient @var{user}
|
@item --recipient @var{user}
|
||||||
@itemx -r @var{user}
|
@itemx -r @var{user}
|
||||||
@opindex recipient
|
@opindex recipient
|
||||||
Encrypt for user id @var{user}. See @command{gpg}.
|
Encrypt for user id @var{user}. For details see @command{gpg}.
|
||||||
|
|
||||||
@item --local-user @var{user}
|
@item --local-user @var{user}
|
||||||
@itemx -u @var{user}
|
@itemx -u @var{user}
|
||||||
@opindex local-user
|
@opindex local-user
|
||||||
Use @var{user} as the key to sign with. See @command{gpg}.
|
Use @var{user} as the key to sign with. For details see @command{gpg}.
|
||||||
|
|
||||||
@item --list-archive
|
|
||||||
@opindex list-archive
|
|
||||||
List the contents of the specified archive.
|
|
||||||
|
|
||||||
@item --output @var{file}
|
@item --output @var{file}
|
||||||
@itemx -o @var{file}
|
@itemx -o @var{file}
|
||||||
@opindex output
|
@opindex output
|
||||||
Write output to specified file @var{file}.
|
Write the archive to the specified file @var{file}.
|
||||||
|
|
||||||
|
@item --verbose
|
||||||
|
@itemx -v
|
||||||
|
@opindex verbose
|
||||||
|
Enable extra informational output.
|
||||||
|
|
||||||
|
@item --quiet
|
||||||
|
@itemx -q
|
||||||
|
@opindex quiet
|
||||||
|
Try to be as quiet as possible.
|
||||||
|
|
||||||
|
@item --skip-crypto
|
||||||
|
@opindex skip-crypto
|
||||||
|
Skip all crypto operations and create or extract vanilla ``ustar''
|
||||||
|
archives.
|
||||||
|
|
||||||
|
@item --dry-run
|
||||||
|
@opindex dry-run
|
||||||
|
Do not actually output the extracted files.
|
||||||
|
|
||||||
|
@item --directory @var{dir}
|
||||||
|
@itemx -C @var{dir}
|
||||||
|
@opindex directory
|
||||||
|
Extract the files into the directory @var{dir}. The
|
||||||
|
default is to take the directory name from
|
||||||
|
the input filename. If no input filename is known a directory named
|
||||||
|
@file{GPGARCH} is used.
|
||||||
|
|
||||||
|
@item --files-from @var{file}
|
||||||
|
@itemx -T @var{file}
|
||||||
|
Take the file names to work from the file @var{file}; one file per
|
||||||
|
line.
|
||||||
|
|
||||||
|
@item --null
|
||||||
|
@opindex null
|
||||||
|
Modify option @option{--files-from} to use a binary nul instead of a
|
||||||
|
linefeed to separate file names.
|
||||||
|
|
||||||
|
@item --openpgp
|
||||||
|
@opindex openpgp
|
||||||
|
This option has no effect becuase OpenPGP encryption and signing is
|
||||||
|
the default.
|
||||||
|
|
||||||
|
@item --cms
|
||||||
|
@opindex cms
|
||||||
|
This option is reserved and shall not be used. It will eventually be
|
||||||
|
used to encrypt or sign using the CMS protocol; but that is not yet
|
||||||
|
implemented.
|
||||||
|
|
||||||
|
|
||||||
|
@item --set-filename @var{file}
|
||||||
|
@opindex set-filename
|
||||||
|
Use the last component of @var{file} as the output directory. The
|
||||||
|
default is to take the directory name from the input filename. If no
|
||||||
|
input filename is known a directory named @file{GPGARCH} is used.
|
||||||
|
This option is deprecated in favor of option @option{--directory}.
|
||||||
|
|
||||||
@item --gpg @var{gpgcmd}
|
@item --gpg @var{gpgcmd}
|
||||||
@opindex gpg
|
@opindex gpg
|
||||||
@ -1981,15 +2046,14 @@ Use the specified command @var{gpgcmd} instead of @command{gpg}.
|
|||||||
|
|
||||||
@item --gpg-args @var{args}
|
@item --gpg-args @var{args}
|
||||||
@opindex gpg-args
|
@opindex gpg-args
|
||||||
Pass the specified options to @command{gpg}.
|
Pass the specified extra options to @command{gpg}.
|
||||||
|
|
||||||
@item --tar @var{tarcmd}
|
|
||||||
@opindex tar
|
|
||||||
Use the specified command @var{tarcmd} instead of @command{tar}.
|
|
||||||
|
|
||||||
@item --tar-args @var{args}
|
@item --tar-args @var{args}
|
||||||
@opindex tar-args
|
@opindex tar-args
|
||||||
Pass the specified options to @command{tar}.
|
Assume @var{args} are standard options of the command @command{tar}
|
||||||
|
and parse them. The only supported tar options are "--directory",
|
||||||
|
"--files-from", and "--null" This is an obsolete options because those
|
||||||
|
supported tar options can also be given directly.
|
||||||
|
|
||||||
@item --version
|
@item --version
|
||||||
@opindex version
|
@opindex version
|
||||||
@ -2017,14 +2081,14 @@ Encrypt the contents of directory @file{mydocs} for user Bob to file
|
|||||||
@file{test1}:
|
@file{test1}:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
gpg-zip --encrypt --output test1 --gpg-args -r Bob mydocs
|
gpgtar --encrypt --output test1 -r Bob mydocs
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@noindent
|
@noindent
|
||||||
List the contents of archive @file{test1}:
|
List the contents of archive @file{test1}:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
gpg-zip --list-archive test1
|
gpgtar --list-archive test1
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user