GNU bug report logs - #4937
23.1.50; PGP/MIME signature doesn't work

Previous Next

Package: emacs;

Reported by: Torsten Bronger <bronger <at> physik.rwth-aachen.de>

Date: Mon, 16 Nov 2009 10:30:04 UTC

Severity: normal

Done: Andreas Schwab <schwab <at> linux-m68k.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4937 in the body.
You can then email your comments to 4937 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4937; Package emacs. (Mon, 16 Nov 2009 10:30:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Torsten Bronger <bronger <at> physik.rwth-aachen.de>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 16 Nov 2009 10:30:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Torsten Bronger <bronger <at> physik.rwth-aachen.de>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.1.50; PGP/MIME signature doesn't work
Date: Mon, 16 Nov 2009 11:24:20 +0100
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 <at> gnu.org mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug.  If you can, give
a recipe starting from `emacs -Q':

When signing an email in Gnus with C-c RET s p and trying to send it,
Emacs reports "apply: Wrong type argument: stringp, 48" and the email
is not sent.

The same procedure with "C-c RET s o" (plain PGP) works, however.


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'.
For information about debugging Emacs, please read the file
/usr/local/share/emacs/23.1.50/etc/DEBUG.


In GNU Emacs 23.1.50.2 (x86_64-unknown-linux-gnu)
 of 2009-11-14 on wilson
Windowing system distributor `The X.Org Foundation', version 11.0.10604000
configured using `configure  '--prefix=/usr/local/' '--mandir=/usr/local/share/man/' '--infodir=/usr/local/share/info/' '--with-x-toolkit=no' '--with-xpm' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--with-x''

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: de_DE.utf8
  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
  diff-auto-refine-mode: t
  global-auto-revert-mode: t
  savehist-mode: t
  display-time-mode: t
  desktop-save-mode: t
  mouse-wheel-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
<return> 9 Z R <down> <return> B <delete> y e s <return> 
q g <return> <return> B <delete> y e s <return> m M-< 
C-k C-e b r o n g e r @ p h y <tab> <down> t e s t 
<down> <down> <down> <down> t e s t ö C-c <return> 
s p C-c C-c C-x k y e s <return> q 9 <return> q g M-x 
r e p o r t - e m a <tab> b u <tab> <return>

Recent messages:
Generating summary...done
No more unread articles
No more unread newsgroups
Reading active file from localhost via nntp...
Reading active file via nnml...
nnml: Reading incoming mail from file... [2 times]
nnml: Reading incoming mail (no new mail)...done
Reading active file via nnml...done
Checking new news...done
Auto-saving...

Load-path shadows:
None found.

Features:
(mailalias smtpmail pop3 mml1991 bbdb-gui ispell flow-fill gnus-draft
gnus-fun epg gnus-picon gnus-cite smiley ansi-color gnus-agent gnus-srvr
nnvirtual gnus-async gnus-bcklg gnus-score score-mode gnus-ml gmane
multi-isearch gnus-cache nnml nndraft nnmh bbdb-gnus bbdb-snarf bbdb-com
byte-opt auth-source nntp rs-gnus-article-wash gnus-topic gnus-msg
gnus-art mm-uu mml2015 epg-config mm-view smime dig gnus-sum nnoo
gnus-group gnus-undo nnmail mail-source format-spec gnus-start gnus-spec
gnus-int gnus-range gnus-win gnus gnus-ems sort shadow mail-extr
emacsbug help-mode view todo-mode time-stamp notes-index-mode reftex-vcr
reftex-dcr reftex reftex-vars font-latex bytecomp byte-compile latex
tex-style tex parse-time vc-cvs gnuplot-gui gnuplot info-look info
css-mode sgml-mode smerge-mode diff-mode vc-bzr noutline outline
notes-mode notes-aux vc-rcs disp-table python-21 python sym-comp message
sendmail ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies
mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums
mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr
gmm-utils mailheader canlock sha1 hex-util hashcash mail-utils
refdb-output-mode derived refdb-mode easy-mmode server w3m browse-url
doc-view jka-compr image-mode dired w3m-hist w3m-fb w3m-ems wid-edit
w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util rst compile comint
ring rs-windows-1252 edmacro kmacro browse-kill-ring advice help-fns
advice-preload mmm-mode mmm-univ mmm-class mmm-region mmm-auto mmm-vars
mmm-utils mmm-compat cl cl-19 bbdb-autoloads bbdb timezone
notes-variables notes-emacs cal-china lunar solar cal-dst cal-bahai
cal-islam cal-hebrew holidays hol-loaddefs appt diary-lib diary-loaddefs
regexp-opt cal-menu easymenu calendar cal-loaddefs w3-auto autorevert
tex-site savehist time desktop delsel cus-start cus-load tooltip
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer
select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu
font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean japanese hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces
cus-face text-properties overlay md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process x
multi-tty emacs)

-- 
Torsten Bronger, aquisgrana, europa vetus
                   Jabber-ID: torsten.bronger <at> jabber.rwth-aachen.de
                                oder http://bronger-jmp.appspot.com



Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#4937; Package emacs. (Sun, 11 Sep 2011 05:27:02 GMT) Full text and rfc822 format available.

Message #8 received at 4937 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Torsten Bronger <bronger <at> physik.rwth-aachen.de>
Cc: 4937 <at> debbugs.gnu.org
Subject: Re: 23.1.50; PGP/MIME signature doesn't work
Date: Sun, 11 Sep 2011 07:15:21 +0200
Torsten Bronger <bronger <at> physik.rwth-aachen.de> writes:

> When signing an email in Gnus with C-c RET s p and trying to send it,
> Emacs reports "apply: Wrong type argument: stringp, 48" and the email
> is not sent.
>
> The same procedure with "C-c RET s o" (plain PGP) works, however.

Is this still a problem?  If so, could you (setq debug-on-error t) and
post the resulting backtrace?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#4937; Package emacs. (Sun, 11 Sep 2011 10:04:02 GMT) Full text and rfc822 format available.

Message #11 received at 4937 <at> debbugs.gnu.org (full text, mbox):

From: Torsten Bronger <bronger <at> physik.rwth-aachen.de>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 4937 <at> debbugs.gnu.org
Subject: Re: 23.1.50; PGP/MIME signature doesn't work
Date: Sun, 11 Sep 2011 11:58:45 +0200
Hallöchen!

Lars Magne Ingebrigtsen writes:

> Torsten Bronger <bronger <at> physik.rwth-aachen.de> writes:
>
>> When signing an email in Gnus with C-c RET s p and trying to send
>> it, Emacs reports "apply: Wrong type argument: stringp, 48" and
>> the email is not sent.
>>
>> The same procedure with "C-c RET s o" (plain PGP) works, however.
>
> Is this still a problem?  If so, could you (setq debug-on-error t)
> and post the resulting backtrace?

Debugger entered--Lisp error: (wrong-type-argument stringp 48)
  call-process("/usr/bin/gpg" nil (t nil) nil "--with-colons" "--no-greeting" "--batch" "--with-fingerprint" "--with-fingerprint" "--fixed-list-mode" "--list-secret-keys" 48)
  apply(call-process "/usr/bin/gpg" nil (t nil) nil ("--with-colons" "--no-greeting" "--batch" "--with-fingerprint" "--with-fingerprint" "--fixed-list-mode" "--list-secret-keys" 48))
  epg--list-keys-1((epg-context . [OpenPGP nil nil nil nil nil nil (epg-passphrase-callback-function) nil nil nil nil nil nil nil]) 48 t)
  epg-list-keys((epg-context . [OpenPGP nil nil nil nil nil nil (epg-passphrase-callback-function) nil nil nil nil nil nil nil]) 48 t)
  mml2015-epg-find-usable-secret-key((epg-context . [OpenPGP nil nil nil nil nil nil (epg-passphrase-callback-function) nil nil nil nil nil nil nil]) 48 sign)
  #[(signer) "\303	\304#\211\204\305\306\307	\"!\204\310\311	\"\210\n\207" [context signer signer-key mml2015-epg-find-usable-secret-key sign y-or-n-p format "No secret key for %s; skip it? " error "No secret key for %s"] 5](48)
  mapcar(#[(signer) "\303	\304#\211\204\305\306\307	\"!\204\310\311	\"\210\n\207" [context signer signer-key mml2015-epg-find-usable-secret-key sign y-or-n-p format "No secret key for %s; skip it? " error "No secret key for %s"] 5] "0x9F516B77")
  mml2015-epg-sign((part (sign . "pgpmime") (tag-location . 819) (contents . "test\n-- \nTorsten Bronger    Jabber ID: torsten.bronger <at> jabber.rwth-aachen.de\n                                  or http://bronger-jmp.appspot.com\n")))
  mml2015-sign((part (sign . "pgpmime") (tag-location . 819) (contents . "test\n-- \nTorsten Bronger    Jabber ID: torsten.bronger <at> jabber.rwth-aachen.de\n                                  or http://bronger-jmp.appspot.com\n")))
  mml-pgpmime-sign-buffer((part (sign . "pgpmime") (tag-location . 819) (contents . "test\n-- \nTorsten Bronger    Jabber ID: torsten.bronger <at> jabber.rwth-aachen.de\n                                  or http://bronger-jmp.appspot.com\n")))
  mml-generate-mime-1((part (sign . "pgpmime") (tag-location . 819) (contents . "test\n-- \nTorsten Bronger    Jabber ID: torsten.bronger <at> jabber.rwth-aachen.de\n                                  or http://bronger-jmp.appspot.com\n")))
  mml-generate-mime()
  message-encode-message-body()
  message-send-mail(nil)
  message-send-via-mail(nil)
  message-send(nil)
  message-send-and-exit(nil)
  call-interactively(message-send-and-exit nil nil)

Tschö,
Torsten.

-- 
Torsten Bronger    Jabber ID: torsten.bronger <at> jabber.rwth-aachen.de
                                  or http://bronger-jmp.appspot.com




Reply sent to Andreas Schwab <schwab <at> linux-m68k.org>:
You have taken responsibility. (Sun, 11 Sep 2011 11:40:02 GMT) Full text and rfc822 format available.

Notification sent to Torsten Bronger <bronger <at> physik.rwth-aachen.de>:
bug acknowledged by developer. (Sun, 11 Sep 2011 11:40:03 GMT) Full text and rfc822 format available.

Message #16 received at 4937-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Torsten Bronger <bronger <at> physik.rwth-aachen.de>
Cc: Lars Magne Ingebrigtsen <larsi <at> gnus.org>, 4937-done <at> debbugs.gnu.org
Subject: Re: bug#4937: 23.1.50; PGP/MIME signature doesn't work
Date: Sun, 11 Sep 2011 13:35:08 +0200
Torsten Bronger <bronger <at> physik.rwth-aachen.de> writes:

>   mapcar(#[(signer) "\303	\304#\211\204\305\306\307	\"!\204\310\311	\"\210\n\207" [context signer signer-key mml2015-epg-find-usable-secret-key sign y-or-n-p format "No secret key for %s; skip it? " error "No secret key for %s"] 5] "0x9F516B77")

mml2015-signers must be a list.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 10 Oct 2011 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 334 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.