Commit d0664c36 authored by Daniel Kahn Gillmor's avatar Daniel Kahn Gillmor

Add gpgcompose package

gpgcompose is a useful tool for test suites and for experimentation
and verification of other OpenPGP workflows.  It would be nice to make
it possible for developers on Debian systems to be able to easily
access its functionality.
parent 037a5c40
...@@ -3,6 +3,7 @@ po/stamp-po ...@@ -3,6 +3,7 @@ po/stamp-po
build-gpgv-static/ build-gpgv-static/
build-gpgv-udeb/ build-gpgv-udeb/
build-gpgv-win32/ build-gpgv-win32/
build-maintainer/
doc/gnupg.info doc/gnupg.info
doc/gnupg.info-1 doc/gnupg.info-1
doc/gnupg.info-2 doc/gnupg.info-2
...@@ -372,3 +372,20 @@ Description: GNU privacy guard - localization files ...@@ -372,3 +372,20 @@ Description: GNU privacy guard - localization files
. .
This package contains the translation files for the use of GnuPG in This package contains the translation files for the use of GnuPG in
non-English locales. non-English locales.
Package: gpgcompose
Architecture: any
Priority: extra
Multi-Arch: foreign
Depends:
${misc:Depends},
${shlibs:Depends},
Recommends:
gnupg-agent,
Description: GNU privacy guard - experimental OpenPGP message composition tool
GnuPG is GNU's tool for secure communication and data storage.
.
gpgcompose is an experimental tool for constructing arbitrary
sequences of OpenPGP packets. This can be useful for generating
weird constructs for test cases or other OpenPGP experimentation.
.TH "gpgcompose" 1 "June 2017"
.SH NAME
gpgcompose \- Generate a stream of OpenPGP packets
.SH SYNOPSIS
.B gpgcompose
.RI [[ OPTION
.RI [ ARGS ]]
\&... ]
.B gpgcompose --help
.B gpgcompose
.I OPTION
.B --help
.SH DESCRIPTION
.B gpgcompose
generates a stream of OpenPGP packets, including some which can
include other nested packets within a layer of encryption. The syntax
on the command line isn't stable enough to document currently, but
additional hints and examples can be found from the command line using
.BR \-\-help .
.SH EXTERNAL DEPENDENCIES
.B gpgcompose
is not capable of performing secret key operations on its own.
Creation of any OpenPGP object that requires secret key operations
(e.g.,
.BR \-\-signature )
will need to speak to an already-running
.BR gpg-agent .
.SH FILES
Occasionally,
.B gpgcompose
will need to look up existing public keys for reference (e.g.,
.BR \-\-public-key ).
It will do so in
.BR ~/.gnupg/keyring.kbx,
or in
.B $GNUPGHOME/keyring.kbx
if that variable is set.
.SH SEE ALSO
RFC 4880, gpg(1), gpg-agent(1), gpg-connect-agent(1)
.SH AUTHOR
gpgcompose is copyright (C) 2016, g10 Code GmbH.
This manpage was written by Daniel Kahn Gillmor <dkg@fifthhorseman.net>.
build-maintainer/g10/gpgcompose usr/bin
debian/gpgcompose.1
...@@ -33,6 +33,9 @@ override_dh_auto_configure: ...@@ -33,6 +33,9 @@ override_dh_auto_configure:
dh_auto_configure --builddirectory=build-gpgv-udeb -- \ dh_auto_configure --builddirectory=build-gpgv-udeb -- \
--enable-gpg2-is-gpg \ --enable-gpg2-is-gpg \
$(foreach x, $(GPGV_UDEB_UNNEEDED), --disable-$(x)) $(foreach x, $(GPGV_UDEB_UNNEEDED), --disable-$(x))
dh_auto_configure --builddirectory=build-maintainer -- \
--enable-gpg2-is-gpg --enable-maintainer-mode \
$(foreach x, $(GPGV_UDEB_UNNEEDED), --disable-$(x))
dh_auto_configure --builddirectory=build -- --libexecdir=\$${prefix}/lib/gnupg \ dh_auto_configure --builddirectory=build -- --libexecdir=\$${prefix}/lib/gnupg \
--enable-gpg2-is-gpg \ --enable-gpg2-is-gpg \
--enable-wks-tools \ --enable-wks-tools \
...@@ -41,6 +44,7 @@ override_dh_auto_configure: ...@@ -41,6 +44,7 @@ override_dh_auto_configure:
override_dh_auto_build-arch: override_dh_auto_build-arch:
dh_auto_build --builddirectory=build-gpgv-udeb dh_auto_build --builddirectory=build-gpgv-udeb
dh_auto_build --builddirectory=build dh_auto_build --builddirectory=build
dh_auto_build --builddirectory=build-maintainer
cp -a build-gpgv-udeb build-gpgv-static cp -a build-gpgv-udeb build-gpgv-static
rm -f build-gpgv-static/g10/gpgv rm -f build-gpgv-static/g10/gpgv
cd build-gpgv-static/g10 && $(MAKE) LDFLAGS="$$LDFLAGS $(GPGV_STATIC_HARDENING) -static" gpgv cd build-gpgv-static/g10 && $(MAKE) LDFLAGS="$$LDFLAGS $(GPGV_STATIC_HARDENING) -static" gpgv
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment