From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luca Capello Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: 23.0.60; EasyPG and OpenPGP smartcard: process epg not running Date: Fri, 07 Mar 2008 02:40:25 +0100 Message-ID: <87od9r5n1y.fsf@gismo.pca.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1204854083 9052 80.91.229.12 (7 Mar 2008 01:41:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Mar 2008 01:41:23 +0000 (UTC) Cc: rfrancoise@debian.org To: emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 07 02:41:49 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JXRak-00071s-CP for ged-emacs-devel@m.gmane.org; Fri, 07 Mar 2008 02:41:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXRaC-0007qj-Pb for ged-emacs-devel@m.gmane.org; Thu, 06 Mar 2008 20:41:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JXRa9-0007qe-KK for emacs-devel@gnu.org; Thu, 06 Mar 2008 20:41:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JXRa8-0007qP-VD for emacs-devel@gnu.org; Thu, 06 Mar 2008 20:41:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXRa8-0007qM-Rg for emacs-devel@gnu.org; Thu, 06 Mar 2008 20:41:08 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JXRa8-0004lL-QE for emacs-devel@gnu.org; Thu, 06 Mar 2008 20:41:08 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JXRa8-0005Sr-52 for emacs-pretest-bug@gnu.org; Thu, 06 Mar 2008 20:41:08 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JXRa5-0004kX-Ea for emacs-pretest-bug@gnu.org; Thu, 06 Mar 2008 20:41:08 -0500 Original-Received: from victor.unige.ch ([129.194.9.224]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JXRa4-0004cH-UE for emacs-pretest-bug@gnu.org; Thu, 06 Mar 2008 20:41:05 -0500 Original-Received: from gismo.pca.it (214-82.62-81.cust.bluewin.ch [81.62.82.214]) by victor.unige.ch (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTPSA id <0JXC00J4S7BJ7D00@victor.unige.ch> for emacs-pretest-bug@gnu.org; Fri, 07 Mar 2008 02:40:32 +0100 (MET) Original-Received: by gismo.pca.it (Postfix, from userid 1000) id 8F86659E9D; Fri, 07 Mar 2008 02:40:30 +0100 (CET) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:91573 gmane.emacs.pretest.bugs:21436 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing lis= t. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Hello, please Cc: me, I'm not subscribed to the list. I cannot use the EasyPG interface with my OpenPGP smartcard [1] and the OmniKey CardMan 6121 USB [2]: the light on the reader blinks, EasyPG asks me for the passphrase and then it gives the error below. It doesn't matter if the passphrase is correct or not and indeed the one included in the debug message is wrong. FWIW, gnus/pgg works without any problem with the same smartcard and reader. Thx, bye, Gismo / Luca Footnotes:=20 [1] http://www.g10code.de/p-card.html [2] http://omnikey.aaitg.com/index.php?id=3Dproducts&tx_okprod_pi1[product]= =3D29 =3D=3D=3D=3D=3D Debugger entered--Lisp error: (error "Process epg not running") process-send-string(# "123456\n") byte-code("=C3=86!:=C2=83=0E=00=C3=86!@=C2=82=11=00=C3=86! =C3=86!:= =C2=85=1E=00=C3=86!A#=C2=89=12=C2=85M=00\n=C3=87P=13=C3=88\n!=C2=88=C3=89= =12\f=C2=83C=00=C3=8A=0B=C3=8B\f=C3=8C\"\"=15=C3=88=0B!=C2=88=C3=89=13=C2= =82G=00=0B=15=C3=89=13=C3=8D=C3=8E!=0D\"=C2=87" [context epg-key-id passphrase passphrase-with-new-line epg-passphrase-c= oding-system encoded-passphrase-with-new-line epg-context-passphrase-callba= ck "\n" epg--clear-string nil epg--encode-coding-string coding-system-chang= e-eol-conversion unix process-send-string epg-context-process] 6) epg--status-GET_HIDDEN((epg-context . [OpenPGP nil nil nil nil nil nil ep= a-passphrase-callback-function (epa-progress-callback-function . "Signing..= .") nil nil # "/tmp/epg-output4587D7V" nil sign]) "passphrase.p= in.ask") epg--process-filter(# "[GNUPG:] NEED_PASSPHRASE_PIN OPENPGP = 1 D276000124010101000100000E5E0000/C7FD4E97DD7F596290E2839167038CB168440D33= \ngpg: gpg-agent is not available in this session\n[GNUPG:] GET_HIDDEN passphra= se.pin.ask\n[GNUPG:] GOT_IT\ngpg: PIN for CHV1 is too short; minimum length= is 6\n[GNUPG:] SC_OP_FAILURE 2\ngpg: signing failed: bad passphrase\n") accept-process-output(# 1) epg-wait-for-completion((epg-context . [OpenPGP nil nil nil nil nil nil e= pa-passphrase-callback-function (epa-progress-callback-function . "Signing.= ..") nil nil # "/tmp/epg-output4587D7V" nil sign])) epg-sign-string((epg-context . [OpenPGP nil nil nil nil nil nil epa-passp= hrase-callback-function (epa-progress-callback-function . "Signing...") nil= nil # "/tmp/epg-output4587D7V" nil sign]) "imap run *nnimap*= pca.it /bin/bash -c gnutls-cli -p 993 pca.it\nielm run *ielm* /dev/pts/4 hexl\n" clear) epa-sign-region(79 186 nil clear) call-interactively(epa-sign-region t nil) execute-extended-command(nil) call-interactively(execute-extended-command nil nil) =3D=3D=3D=3D=3D If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/23.0.60/etc/DEBUG for instructions. In GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu) of 2008-02-28 on elegiac, modified by Debian (emacs-snapshot package, version 1:20080228-1) configured using `configure '--build' 'x86_64-linux-gnu' '--host' 'x86_64-= linux-gnu' '--prefix=3D/usr' '--sharedstatedir=3D/var/lib' '--libexecdir=3D= /usr/lib' '--localstatedir=3D/var' '--infodir=3D/usr/share/info' '--mandir= =3D/usr/share/man' '--with-pop=3Dyes' '--enable-locallisppath=3D/etc/emacs-= snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/sha= re/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site= -lisp:/usr/share/emacs/23.0.60/leim' '--with-x=3Dno' '--without-dbus' '--wi= thout-sound' 'build_alias=3Dx86_64-linux-gnu' 'host_alias=3Dx86_64-linux-gn= u' 'CFLAGS=3D-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=3D5000 -g -O2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-topic-mode: t gnus-undo-mode: t gpm-mouse-mode: t display-battery-mode: t display-time-mode: t show-paren-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: ESC b ESC b ESC b ESC b ESC b ESC b ESC b ESC b ESC=20 b ESC b ESC b ESC b ESC b ESC b ESC b ESC b ESC b ESC=20 b ESC b ESC b ESC b ESC b ESC b ESC b ESC b ESC b ESC=20 b ESC b ESC b ESC b ESC b ESC b ESC b ESC b ESC b ESC=20 b ESC b ESC b ESC b ESC [ 1 ; 3 B ESC [ B ESC [ B C-e=20 C-a ESC [ C ESC [ C RET ESC [ B ESC [ B ESC [ B ESC=20 [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C=20 ESC [ C ESC [ C ESC [ A ESC [ C ESC [ C ESC [ C ESC=20 [ C ESC [ C ESC [ C C-x o ESC [ A ESC [ A ESC [ A ESC=20 [ A ESC [ A ESC [ A C-a C-@ ESC [ B ESC [ B ESC [ B=20 ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC=20 [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC w C-c=20 ESC f g C-x b RET C-x k RET y C-x b RET g C-p C-p C-p=20 C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p=20 C-p RET q ESC [ B ESC [ A ESC x e m a TAB p DEL b u=20 TAB TAB DEL DEL DEL DEL DEL DEL DEL DEL r e p o TAB=20 r t TAB e m TAB b u TAB RET Recent messages: Saving /home/luca/.newsrc.eld... Saving file /home/luca/.newsrc.eld... Wrote /home/luca/.newsrc.eld Saving /home/luca/.newsrc.eld...done Retrieving newsgroup: nnimap+pca.it:INBOX... nnimap: Updating info for nnimap+pca.it:INBOX...done Fetching headers for nnimap+pca.it:INBOX...done Generating summary...done Exiting summary buffer and applying spam rules Making completion list... --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQCVAwUBR9CdDGcDjLFoRA0zAQKR/gP/UFCwenIzkYk5a7+k6GFgimNs+26rZiX0 NpfToaoMvPRD8ziZZ3v3wB9eNP3BU0MM8hMc1E+ox5Bdoga7o5pejdq7zeNU7npn kw9vIaTUK0SgekTbdX0Hlo6erjy+jSXgSNDulhLx7Af36nv7RUe/vZyq4sAcNJ0S +yB0RbVeFdY= =AJMq -----END PGP SIGNATURE----- --=-=-=--