[pkg-gnupg-maint] Bug#854797: pinentry: Add pinentry-emacs package

Florian Margaine florian at margaine.com
Fri Feb 10 13:26:11 UTC 2017


Source: pinentry
Severity: wishlist
Tags: patch

Dear Maintainer,

Adding the pinentry-emacs package can let emacs users enter their PIN into emacs' minibuffer itself, along with an emacs package. The source is already available, it's just about enabling more options in the configure step. I understand that this has been voluntarily disabled, but do not understand why, given that it does not cause any side-effect, and only helps in providing one more package.

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-------------- next part --------------
commit 39a62e0203b27b871aff82e6d2eeb6d424f2d999
Author: Florian Margaine <florian at platform.sh>
Date:   Fri Feb 10 12:14:07 2017 +0100

    Add the pinentry-emacs package.

diff --git a/debian/control b/debian/control
index 1419c2d..1169b66 100644
--- a/debian/control
+++ b/debian/control
@@ -68,6 +68,29 @@ Description: minimal dumb-terminal PIN or pass-phrase entry for GnuPG
  friendlier text-mode inputs on non-dumb terminals, and other sibling
  packages that provide PIN entry dialogs using an X tool kit.
 
+Package: pinentry-emacs
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Suggests: pinentry-doc
+Provides: pinentry
+Enhances: gnupg-agent
+Description: inside-emacs pass-phrase entry 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 prompt
+ that interacts directly with the controlling terminal.  It has
+ minimal dependencies, meaning that it is useful for users working
+ with dumb terminals or similarly constrained environments.  There are
+ sibling packages that implement PIN entry dialogs that use curses for
+ friendlier text-mode inputs on non-dumb terminals, and other sibling
+ packages that provide PIN entry dialogs using an X tool kit.
+
 Package: pinentry-qt
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}
diff --git a/debian/pinentry-emacs.install b/debian/pinentry-emacs.install
new file mode 100644
index 0000000..9fddf4b
--- /dev/null
+++ b/debian/pinentry-emacs.install
@@ -0,0 +1 @@
+usr/bin/pinentry-emacs
diff --git a/debian/rules b/debian/rules
index 6ce6c87..cbdd3af 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@
 
 QT_SELECT = qt5
 export QT_SELECT
-SHARED_CONFIGS = --disable-rpath --without-libcap --disable-pinentry-emacs --disable-inside-emacs --enable-fallback-curses
+SHARED_CONFIGS = --disable-rpath --without-libcap --enable-pinentry-emacs --enable-inside-emacs --enable-fallback-curses
 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 
 %:


More information about the pkg-gnupg-maint mailing list