unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 23.0.60; EasyPG and OpenPGP smartcard: process epg not running
@ 2008-03-07  1:40 Luca Capello
  2008-03-07  3:03 ` Daiki Ueno
  0 siblings, 1 reply; 5+ messages in thread
From: Luca Capello @ 2008-03-07  1:40 UTC (permalink / raw)
  To: emacs-pretest-bug; +Cc: rfrancoise

[-- Attachment #1: Type: text/plain, Size: 6078 bytes --]


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 list.

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: 
[1] http://www.g10code.de/p-card.html
[2] http://omnikey.aaitg.com/index.php?id=products&tx_okprod_pi1[product]=29

=====
Debugger entered--Lisp error: (error "Process epg not running")
  process-send-string(#<process epg> "123456\n")
  byte-code("Æ\b!:ƒ\x0e\0Æ\b!@‚\x11\0Æ\b!\b	Æ\b!:…\x1e\0Æ\b!A#‰\x12…M\0\nÇP\x13È\n!ˆÉ\x12\fƒC\0Ê\vË\fÌ\"\"\x15È\v!ˆÉ\x13‚G\0\v\x15É\x13ÍÎ\b!\r\"‡"
   [context epg-key-id passphrase passphrase-with-new-line epg-passphrase-coding-system encoded-passphrase-with-new-line epg-context-passphrase-callback
   "\n" epg--clear-string nil epg--encode-coding-string coding-system-change-eol-conversion unix process-send-string epg-context-process] 6)
  epg--status-GET_HIDDEN((epg-context . [OpenPGP nil nil nil nil nil nil epa-passphrase-callback-function (epa-progress-callback-function . "Signing...")
   nil nil #<process epg> "/tmp/epg-output4587D7V" nil sign]) "passphrase.pin.ask")
  epg--process-filter(#<process epg> "[GNUPG:] NEED_PASSPHRASE_PIN OPENPGP 1 D276000124010101000100000E5E0000/C7FD4E97DD7F596290E2839167038CB168440D33\ngpg:
   gpg-agent is not available in this session\n[GNUPG:] GET_HIDDEN passphrase.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(#<process epg> 1)
  epg-wait-for-completion((epg-context . [OpenPGP nil nil nil nil nil nil epa-passphrase-callback-function (epa-progress-callback-function . "Signing...")
    nil nil #<process epg> "/tmp/epg-output4587D7V" nil sign]))
  epg-sign-string((epg-context . [OpenPGP nil nil nil nil nil nil epa-passphrase-callback-function (epa-progress-callback-function . "Signing...") nil nil
   #<process epg> "/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)
=====

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=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/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=no' '--without-dbus' '--without-sound' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -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 
b ESC b ESC b ESC b ESC b ESC b ESC b ESC b ESC b ESC 
b ESC b ESC b ESC b ESC b ESC b ESC b ESC b ESC b ESC 
b ESC b ESC b ESC b ESC b ESC b ESC b ESC b ESC b ESC 
b ESC b ESC b ESC b ESC [ 1 ; 3 B ESC [ B ESC [ B C-e 
C-a ESC [ C ESC [ C RET ESC [ B ESC [ B ESC [ B ESC 
[ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C 
ESC [ C ESC [ C ESC [ A ESC [ C ESC [ C ESC [ C ESC 
[ C ESC [ C ESC [ C C-x o ESC [ A ESC [ A ESC [ A ESC 
[ A ESC [ A ESC [ A C-a C-@ ESC [ B ESC [ B ESC [ B 
ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC 
[ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC w C-c 
ESC f g C-x b RET C-x k RET y C-x b RET g 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 C-p C-p C-p 
C-p RET q ESC [ B ESC [ A ESC x e m a TAB p DEL b u 
TAB TAB DEL DEL DEL DEL DEL DEL DEL DEL r e p o TAB 
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...

[-- Attachment #2: Type: application/pgp-signature, Size: 306 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-03-11  6:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-07  1:40 23.0.60; EasyPG and OpenPGP smartcard: process epg not running Luca Capello
2008-03-07  3:03 ` Daiki Ueno
2008-03-07 10:07   ` Luca Capello
2008-03-10  9:12     ` Daiki Ueno
2008-03-11  6:36       ` Luca Capello

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).