debian/0000775000000000000000000000000012270430551007167 5ustar debian/changelog0000664000000000000000000001415212270430511011040 0ustar pinentry (0.8.3-1ubuntu1) trusty; urgency=medium * Merge from Debian unstable. Remaining changes: - debian/patches/kubuntu_fix_stayontop.diff: Make pinentry stay on top. -- Logan Rosen Thu, 23 Jan 2014 22:10:38 -0500 pinentry (0.8.3-1) unstable; urgency=medium * New upstream release (closes: #731494) * Updated watch file * Updated standards version -- Peter Eisentraut Sun, 15 Dec 2013 22:01:20 -0500 pinentry (0.8.1-1ubuntu2) quantal; urgency=low * Rebuild for new armel compiler default of ARMv5t. -- Colin Watson Mon, 08 Oct 2012 08:38:23 +0100 pinentry (0.8.1-1ubuntu1) oneiric; urgency=low * Re-add kubuntu_01_fix_stayontop.diff, dropped while syncing the package from Debian. -- Felix Geyer Sat, 30 Jul 2011 22:32:23 +0200 pinentry (0.8.1-1) unstable; urgency=low * New upstream release - keyboard-race.patch incorporated upstream - Fixed segmentation fault in pinentry-gtk2 (closes: #584947) * Removed Qt 3 variant (closes: #604369) * Updated standards version * Changed to debhelper level 8 -- Peter Eisentraut Wed, 16 Feb 2011 20:18:53 +0200 pinentry (0.8.0-1) unstable; urgency=low * New upstream release * Changed source format to 3.0 (quilt) * Updated standards version -- Peter Eisentraut Thu, 18 Mar 2010 23:36:51 +0200 pinentry (0.7.6-1) unstable; urgency=low * New upstream release - Includes Qt 4 variant, formerly in separate source package pinentry-qt4 - Obsoletes gmalloc-prototypes.patch - Made Gtk+-2 pinentry transient to the root window (closes: #445607) * Changed copyright file to refer to GPL-2 file, per lintian * Updated standards version * Changed to debhelper level 7 and minimal version 7.2.17, to avoid obsolete calls to install-info -- Peter Eisentraut Mon, 13 Jul 2009 22:38:41 +0300 pinentry (0.7.5-3) unstable; urgency=low * Converted patches to quilt * Updated standards version * Dropped pinentry-gtk package (closes: #510740) -- Peter Eisentraut Tue, 10 Feb 2009 22:32:43 +0200 pinentry (0.7.5-2.1) unstable; urgency=low * Non-maintainer upload. * gtk+-2/pinentry-gtk-2.c: apply patch to avoid keyboard grab race on SMP systems (closes: #401957). -- Pierre Habouzit Mon, 20 Oct 2008 15:11:18 +0200 pinentry (0.7.5-2) unstable; urgency=high * gtk+-2/gtksecentry.c: Adjusted the g_*malloc*() overrides to have the same prototype as glib, to fix FTBFS (closes: #471613) * debian/control: Added Build-Depends on libglib2.0-dev (>= 2.15.5) to make sure we don't run into the old prototypes of g_*malloc*() -- Peter Eisentraut Tue, 29 Apr 2008 11:41:54 +0200 pinentry (0.7.5-1) unstable; urgency=low * New upstream release -- Peter Eisentraut Sun, 17 Feb 2008 15:50:05 +0100 pinentry (0.7.4-2) unstable; urgency=low * debian/copyright: converted to UTF-8 (closes: #455738) * Changed section of pinentry-doc to doc * debian/watch: force passive FTP, since ftp.gnupg.org seems unhappy with active (closes: #456468) -- Peter Eisentraut Fri, 21 Dec 2007 14:53:11 +0100 pinentry (0.7.4-1) unstable; urgency=low * New upstream release * Added Homepage control field * Updated standards version * Added configure option --without-libcap to get consistent builds -- Peter Eisentraut Mon, 10 Dec 2007 13:33:34 +0100 pinentry (0.7.3-1) unstable; urgency=low * New upstream release - Fixes segfault after confirm in pinentry-curses (closes: #311410) * Updated standards version * Changed to Debhelper level 5 * Cleaned up build rules -- Peter Eisentraut Tue, 17 Jul 2007 17:47:46 +0200 pinentry (0.7.2-3) unstable; urgency=low * Added linker option --as-needed -- Peter Eisentraut Fri, 25 Nov 2005 21:12:12 +0100 pinentry (0.7.2-2) unstable; urgency=low * Changed maintainer address * Updated standards version * Rebuilt for new C++ ABI (closes: #324548) * Tightened dependency on libgtk2.0-dev -- Peter Eisentraut Mon, 29 Aug 2005 21:25:48 +0200 pinentry (0.7.2-1) unstable; urgency=low * New upstream release * Added new -gtk2 flavor. * Build dependencies revised accordingly. * Added more copyright holders to debian/copyright. * Removed compatibility symlinks. * Converted to CDBS. -- Peter Eisentraut Thu, 27 Jan 2005 19:10:07 +0100 pinentry (0.7.1-5) unstable; urgency=low * Actually apply the dpatches * Removed no longer needed pinentry-cppflags patch -- Peter Eisentraut Tue, 9 Nov 2004 22:27:14 +0100 pinentry (0.7.1-4) unstable; urgency=low * Converted to dpatch * Moved programs to /usr/bin, made compatibility symlinks in /usr/lib/pinentry * Added Provides: pinentry, pinentry-x11 (closes: #274708) * Created pinentry, pinentry-x11 alternatives (closes: #275711) * Wrote man pages * Use m4 to create the debhelper control files * Added Enhances: gnupg-agent * Use --disable-dependency-tracking -- Peter Eisentraut Sun, 10 Oct 2004 11:37:51 +0200 pinentry (0.7.1-3) unstable; urgency=low * Suggestions by Martin Pitt... * Removed stale pinentry.substvars * Changed pinentry-doc Recommends to Suggests * Changed pinentry-doc to architecture-independent * Added -g to CXXFLAGS * Removed empty maintainer scripts * Fixed configure build and host options as suggested by autotools-dev -- Peter Eisentraut Mon, 21 Jun 2004 09:17:23 +0200 pinentry (0.7.1-2) unstable; urgency=low * Revised synopses and descriptions * Revised Debian.README * Added watch file * Enabled curses fallback * Put Build-Depends onto one line only -- Peter Eisentraut Sun, 06 Jun 2004 16:53:05 +0200 pinentry (0.7.1-1) unstable; urgency=low * Initial public release (closes: #187546, #214578). * Added missing include file path in qt/Makefile.am. -- Peter Eisentraut Fri, 07 May 2004 11:07:25 +0200 debian/Makefile0000664000000000000000000000106212270430511010622 0ustar packages = $(addprefix pinentry-, curses gtk2 qt4) binaries = $(addprefix pinentry-, curses gtk-2 qt4) suffixes = install manpages postinst prerm README.Debian targets = $(foreach suffix,$(suffixes),$(foreach package,$(packages),$(package).$(suffix))) \ $(foreach binary,$(binaries),$(binary).1) all: $(targets) pinentry-curses.%: pinentry.%.in m4 -P -Dflavor=curses $< >$@ pinentry-gtk2.% pinentry-gtk-2.%: pinentry.%.in m4 -P -Dflavor=gtk-2 $< >$@ pinentry-qt4.%: pinentry.%.in m4 -P -Dflavor=qt4 $< >$@ clean: rm -f $(targets) .PHONY: all clean debian/pinentry-doc.info0000664000000000000000000000002212270430511012445 0ustar doc/pinentry.info debian/control0000664000000000000000000000746112270430511010576 0ustar Source: pinentry Section: utils Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Peter Eisentraut Build-Depends: cdbs (>= 0.4.41), debhelper (>= 8), libglib2.0-dev (>= 2.15.5), libgtk2.0-dev (>= 2.4.0), libncurses5-dev, libqt4-dev, m4 Standards-Version: 3.9.5 Homepage: http://www.gnupg.org/aegypten/ Package: pinentry-curses Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: pinentry-doc Provides: pinentry Enhances: gnupg-agent Description: curses-based PIN or pass-phrase entry dialog for GnuPG This package contains a program that allows for secure entry of PINs or pass phrases. That means it tries to take care that the entered information is not swapped to disk or temporarily stored anywhere. This functionality is particularly useful for entering pass phrases when using encryption software such as GnuPG or e-mail clients using the same. It uses an open protocol and is therefore not tied to particular software. . The program contained in this package implements a PIN entry dialog using the curses tool kit, meaning that it is useful for users working in text mode without the X Window System. There are sibling packages that implement PIN entry dialogs that use an X tool kit. If you install any of the latter packages then this package is not necessary because the sibling packages automatically fall back to text mode if X is not active. Package: pinentry-qt4 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: pinentry-doc Provides: pinentry, pinentry-qt, pinentry-x11 Enhances: gnupg-agent Description: Qt-4-based PIN or pass-phrase entry dialog for GnuPG This package contains a program that allows for entry of PINs or pass phrases. It is useful for entering pass phrases when using encryption software such as GnuPG or e-mail clients using the same. It uses an open protocol and is therefore not tied to particular software. . The program contained in this package implements a PIN entry dialog using the Qt tool kit version 4, so it is especially suitable for users of KDE 4. If the X Window System is not active then an alternative text-mode dialog will be used. There are sibling packages that implement PIN entry dialogs using other tool kits. Package: pinentry-gtk2 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: pinentry-doc Provides: pinentry, pinentry-x11 Enhances: gnupg-agent Description: GTK+-2-based PIN or pass-phrase entry dialog for GnuPG This package contains a program that allows for secure entry of PINs or pass phrases. That means it tries to take care that the entered information is not swapped to disk or temporarily stored anywhere. This functionality is particularly useful for entering pass phrases when using encryption software such as GnuPG or e-mail clients using the same. It uses an open protocol and is therefore not tied to particular software. . The program contained in this package implements a PIN entry dialog using the GTK+ tool kit version 2, so it is especially suitable for users of GNOME. If the X Window System is not active then an alternative text-mode dialog will be used. There are sibling packages that implement PIN entry dialogs using other tool kits. Package: pinentry-doc Section: doc Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: pinentry-curses, pinentry-gtk2, pinentry-qt4 Description: documentation for pinentry packages This package contains the documentation for the pinentry packages, a suite of programs that allow secure entry of PINs or pass phrases. If you have one of the pinentry packages installed then you may want to install this package as well, but the documentation mostly concerns the internal protocol and is therefore not necessary for the casual user. debian/pinentry.README.Debian.in0000664000000000000000000000404012270430511013476 0ustar m4_changequote({,})m4_dnl PIN entry for Debian -------------------- This package and its sibling packages are intended to be used as a pass-phrase entry dialog for the program gpg-agent (Debian package gnupg-agent). To configure gpg-agent to use one of the provided pinentry programs, put something like this into your ~/.gnupg/gpg-agent.conf: pinentry-program /usr/bin/pinentry-flavor You have the following pinentry variants to choose from: /usr/bin/pinentry Generic name that points, via the Debian alternatives system, to the "best" installed PIN entry program. gpg-agent uses this by default. /usr/bin/pinentry-x11 Generic name that points, via the Debian alternatives system, to the "best" installed PIN entry program with X11 support (that is, one of the GTK+ or Qt flavors). /usr/bin/pinentry-curses Text-mode PIN entry program that uses the curses tool kit (package pinentry-curses). /usr/bin/pinentry-gtk-2 Graphical PIN entry program that uses the GTK+ tool kit version 2 (package pinentry-gtk2). /usr/bin/pinentry-qt4 Graphical PIN entry program that uses the Qt tool kit version 4 (package pinentry-qt4). The programs pinentry-gtk-2 and pinentry-qt4 automatically fall back to the curses interface if no X Window System is available. So for example, if you frequently switch between text mode and KDE, and you want to use both Mutt and KMail with GnuPG pass-phrase agent support, then configuring /usr/bin/pinentry-qt4 would work. (In this case, leaving it at /usr/bin/pinentry would also work, since pinentry-qt4 is the preferred alternative overall, but if you prefer to use, say, pinentry-gtk-2, then you need to set it up explicitly (or manually alter the alternatives system; the possibilities abound).) Note that for the complete system to work, you also need to configure GnuPG to use the gpg-agent to get the pass phrases, and you need to configure your e-mail client to use GnuPG. These issues are not covered here. -- Peter Eisentraut , Tue, 15 Feb 2011 21:51:58 +0200 debian/pinentry.manpages.in0000664000000000000000000000003112270430511013147 0ustar debian/pinentry-flavor.1 debian/pinentry.install.in0000664000000000000000000000003012270430511013021 0ustar usr/bin/pinentry-flavor debian/rules0000775000000000000000000000150512270430511010244 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk DEB_CONFIGURE_EXTRA_FLAGS = --disable-rpath --without-libcap \ --enable-pinentry-curses --disable-pinentry-qt --enable-pinentry-qt4 --disable-pinentry-gtk --enable-pinentry-gtk2 DEB_INSTALL_DOCS_ALL = NEWS AUTHORS DEB_DH_INSTALL_SOURCEDIR = debian/tmp LDFLAGS += -Wl,--as-needed pre-build:: debian/stamp-custom-prepare qt4/pinentryconfirm.moc qt4/pinentrydialog.moc qt4/qsecurelineedit.moc debian/stamp-custom-prepare: dh_testdir make -C debian all touch $@ # I guess you're supposed to do this manually, per upstream: # # --petere@d.o %.moc: %.h moc-qt4 $< >$@ clean:: rm -f debian/stamp-custom-prepare make -C debian clean rm -f qt4/*.moc debian/pinentry.1.in0000664000000000000000000000743712270430511011535 0ustar m4_changequote({,})m4_dnl .TH PINENTRY-m4_translit(flavor, {a-z}, {A-Z}) 1 "27 Jan 2005" .SH NAME pinentry\-flavor \- PIN or pass-phrase entry dialog for GnuPG .PP .SH SYNOPSIS \fBpinentry-flavor\fB [\fIOPTION\fR...] .SH DESCRIPTION \fBpinentry\-flavor\fR is a program that allows for secure entry of PINs or pass phrases. That means it tries to take care that the entered information is not swapped to disk or temporarily stored anywhere. This functionality is particularly useful for entering pass phrases when using encryption software such as GnuPG or e-mail clients using the same. It uses an open protocol and is therefore not tied to particular software. .PP m4_ifelse( flavor, {curses}, {{\fBpinentry-curses\fR implements a PIN entry dialog using the curses tool kit, meaning that it is useful for users working in text mode without the X Window System. There are other flavors that implement PIN entry dialogs that use an X tool kit. If you have installed any of the latter programs then this program is not necessary because the X flavors automatically fall back to text mode if X is not active.}}, flavor, {gtk-2}, {{\fBpinentry-gtk-2\fR implements a PIN entry dialog using the GTK+ tool kit version 2, so it is especially suitable for users of GNOME. If the X Window System is not active then an alternative text-mode dialog will be used. There are other flavors that implement PIN entry dialogs using other tool kits.}}, flavor, {qt4}, {{\fBpinentry-qt\fR implements a PIN entry dialog using the Qt 4 tool kit, so it is especially suitable for users of KDE 4. If the X Window System is not active then an alternative text-mode dialog will be used. There are other flavors that implement PIN entry dialogs using other tool kits.}}) .PP \fBpinentry\-flavor\fR is typically used internally by \fBgpg-agent\fR. Users don't normally have a reason to call it directly. .SH OPTIONS .TP \fB\-\-version\fR Print the program version and licensing information. .TP \fB\-\-help\fR Print a usage message summarizing the most useful command-line options. .TP \fB\-\-debug\fR, \fB\-d\fR Turn on some debugging. Mostly useful for the maintainers. Note that this may reveal sensitive information like the entered pass phrase. .TP \fB\-\-enhanced\fR, \fB\-e\fR Ask for timeouts and insurance, too. Note that this is currently not fully supported. .TP \fB\-\-no\-global\-grab\fR, \fB\-g\fR Grab the keyboard only when the window is focused. Use this option if you are debugging software using \fBpinentry\-flavor\fR; otherwise you may not be able to to access your X session anymore (unless you have other means to connect to the machine to kill \fBpinentry\-flavor\fR). .TP \fB\-\-parent\-wid\fR \fIN\fR Use window ID \fIN\fR as the parent window for positioning the window. Note, that this is not fully supported by all flavors of \fBpinentry\fR. .TP \fB--display\fR \fISTRING\fR, \fB--ttyname\fR \fISTRING\fR, \fB--ttytype\fR \fISTRING\fR, \fB--lc-type\fR \fISTRING\fR, \fB--lc-messages\fR \fISTRING\fR These options are used to pass localization information to \fBpinentry-flavor\fR. They are required because \fBpinentry-flavor\fR is usually called by some background process which does not have any information on the locale and terminal to use. Assuan protocol options are an alternative way to pass these information. .SH "SEE ALSO" m4_ifelse(flavor, {curses}, {}, {.BR pinentry-curses (1), })m4_dnl m4_ifelse(flavor, {gtk-2}, {}, {.BR pinentry-gtk-2 (1), })m4_dnl m4_ifelse(flavor, {qt4}, {}, {.BR pinentry-qt4 (1), })m4_dnl .BR gpg (1), .BR gpg-agent (1) .PP The full documentation for .B pinentry-flavor is maintained as a Texinfo manual. If the .B pinentry-doc package is installed, the command .IP .B info pinentry .PP should give you access to the complete manual. .SH AUTHOR This manual page was written by Peter Eisentraut for the Debian project. debian/watch0000664000000000000000000000015612270430511010216 0ustar version=3 opts=pasv \ ftp://ftp.gnupg.org/GnuPG/pinentry/pinentry-([0-9.]+)\.tar\.(?:gz|bz2) debian uupdate debian/pinentry.prerm.in0000664000000000000000000000064712270430511012516 0ustar m4_changequote({,})m4_dnl m4_define(is_x11, {m4_ifelse(flavor, {curses}, no, flavor, {gtk-2}, yes, flavor, {qt4}, yes)})m4_dnl #! /bin/sh set -e if [ "$1" = remove ]; then m4_ifelse(is_x11, yes, { update-alternatives --quiet --remove pinentry-x11 /usr/bin/pinentry-flavor })m4_dnl update-alternatives --quiet --remove pinentry /usr/bin/pinentry-flavor fi #DEBHELPER# debian/pinentry.postinst.in0000664000000000000000000000152112270430511013244 0ustar m4_changequote({,})m4_dnl m4_define(prio, {m4_ifelse(flavor, {curses}, 50, flavor, {gtk-2}, 85, flavor, {qt4}, 95)})m4_dnl m4_define(is_x11, {m4_ifelse(flavor, {curses}, no, flavor, {gtk-2}, yes, flavor, {qt4}, yes)})m4_dnl #! /bin/sh set -e if [ "$1" = configure ]; then update-alternatives --quiet \ --install /usr/bin/pinentry pinentry /usr/bin/pinentry-flavor prio \ --slave /usr/share/man/man1/pinentry.1.gz pinentry.1.gz /usr/share/man/man1/pinentry-flavor.1.gz m4_ifelse(is_x11, yes, { update-alternatives --quiet \ --install /usr/bin/pinentry-x11 pinentry-x11 /usr/bin/pinentry-flavor prio \ --slave /usr/share/man/man1/pinentry-x11.1.gz pinentry-x11.1.gz /usr/share/man/man1/pinentry-flavor.1.gz })m4_dnl fi #DEBHELPER# debian/compat0000664000000000000000000000000212270430511010361 0ustar 8 debian/patches/0000775000000000000000000000000012270430551010616 5ustar debian/patches/series0000664000000000000000000000003312270430511012023 0ustar kubuntu_fix_stayontop.diff debian/patches/kubuntu_fix_stayontop.diff0000664000000000000000000000134312270430511016130 0ustar From 0cc3dd71213687ccb5ec0a1866864558bf03260b Mon Sep 17 00:00:00 2001 From: Stanislav Ochotnicky Date: Fri, 7 May 2010 14:45:44 +0200 Subject: [PATCH] Fix qt4 pinentry window created in the background This is probably just a workaround. Proper fix is being investigated. --- qt4/pinentrydialog.cpp | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/qt4/pinentrydialog.cpp b/qt4/pinentrydialog.cpp index 8644136..6064ab9 100644 --- a/qt4/pinentrydialog.cpp +++ b/qt4/pinentrydialog.cpp @@ -69,7 +69,6 @@ void raiseWindow( QWidget* w ) SetForegroundWindow( w->winId() ); #endif w->raise(); - w->activateWindow(); } QPixmap icon( QStyle::StandardPixmap which ) -- 1.6.6.1 debian/copyright0000664000000000000000000000312612270430511011120 0ustar This package was debianized by Peter Eisentraut on Fri, 07 May 2004 12:31:36 +0200, based on earlier work by Marcus Brinkmann and Michael Bramer. It was downloaded from . Upstream authors: Robert Bihlmeyer Werner Koch, g10 Code GmbH Steffen Hansen, Klarälvdalens Datakonsult AB Marcus Brinkmann, g10 Code GmbH Marc Mutz Copyright: Copyright (C) 2001, 2002, 2003, 2004, 2005, 2008, 2010 g10 Code GmbH Copyright (C) 2004 Albrecht Dreß Copyright (C) 1998, 1999, 2001, 2002, 2003 Free Software Foundation, Inc. Copyright (C) 2002, 2008 Klarälvdalens Datakonsult AB Copyright (C) 1992-2002 Trolltech AS. All rights reserved. Copyright (C) 1999, 2000 Robert Bihlmeyer Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald Copyright (C) 2007 Ingo Klöcker PINENTRY is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. PINENTRY is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. On Debian systems, the complete text of the GNU General Public License version 2 can be found in the file /usr/share/common-licenses/GPL-2. debian/source/0000775000000000000000000000000012270430551010467 5ustar debian/source/format0000664000000000000000000000001412270430511011671 0ustar 3.0 (quilt)