From: Jack Twilley <jmt+usenet@twilley.org>
Subject: Re: gpg.el still not working
Date: Mon, 23 Sep 2002 14:52:03 -0700 [thread overview]
Message-ID: <86bs6ope64.fsf@duchess.twilley.org> (raw)
In-Reply-To: <iluheghatfh.fsf@latte.josefsson.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "Simon" == Simon Josefsson <jas@extundo.com> writes:
Simon> Jack Twilley <jmt+usenet@twilley.org> writes:
>> I'm still getting the following errors when attempting to validate
>> signatures:
>>
>> [[PGP Signed Part:Error.] (number-char-or-marker-p nil)]
>>
>> I don't know why. I'm running current versions of all the related
>> files as far as I know. Could someone please let me know how they
>> have CVS Gnus working with gpg.el ?
Simon> I remember seeing that message too, but can't recall when it
Simon> happened. Do you have a ~/tmp/ directory with the correct
Simon> permissions? Does C-: (setq debug-on-signal t) RET give more
Simon> information?
My temporary directory does have the proper permissions.
I got a more useful traceback with that setting:
Signaling: (wrong-type-argument number-char-or-marker-p nil)
>(nil 0)
(or (stringp res) (> res 0))
(if (or (stringp res) (> res 0)) (with-current-buffer result (insert ...) nil) t)
(let* ((msg-file ...) (cmd ...) (args ...) res) (with-temp-file msg-file (buffer-disable-undo) (apply ... ...)) (setq res (apply ... ... ... cmd nil result nil args)) (if (or ... ...) (with-current-buffer result ... nil) t))
(progn (gpg-with-temp-files-create 1) (let* (... ... ... res) (with-temp-file msg-file ... ...) (setq res ...) (if ... ... t)))
(unwind-protect (progn (gpg-with-temp-files-create 1) (let* ... ... ... ...)) (gpg-with-temp-files-delete))
(let ((gpg-temp-files)) (unwind-protect (progn ... ...) (gpg-with-temp-files-delete)))
(gpg-with-temp-files 1 (let* (... ... ... res) (with-temp-file msg-file ... ...) (setq res ...) (if ... ... t)))
gpg-verify-cleartext(#<buffer " *mm-uu*<2>"> #<buffer "*MML2015 Result*">)
byte-code("..." [mm-security-handle parameter value mml2015-result-buffer handle gpg-verify-cleartext gnus-details buffer-string put-text-property 0] 8)
mml2015-gpg-clear-verify()
mm-uu-pgp-signed-extract-1(nil ("multipart/signed"))
mm-uu-pgp-signed-extract()
mm-uu-dissect()
gnus-display-mime()
gnus-article-prepare-display()
gnus-article-prepare(42482 nil)
gnus-summary-display-article(42482)
gnus-summary-next-page(nil)
call-interactively(gnus-summary-next-page)
The variable named res isn't being set, and it's in a setq involving
passphrases. I'll take a closer look.
Simon> "grep -e pgp -e gpg -e mailcrypt -e mc .emacs" shows the
Simon> following for me (I have both gpg.el and mailcrypt installed,
Simon> and Gnus prefers gpg.el if it finds it, which it does):
Those symbols are only found in my .gnus, not in my .xemacs/init.el:
gnus-use-installed-mailcrypt nil
gnus-use-mailcrypt nil
(require 'gpg)
(require 'bbdb-pgp)
bbdb/pgp-default-action 'sign
bbdb/pgp-ask nil
;(remove-hook 'message-send-hook 'bbdb/pgp-hook-fun)
;(add-hook 'message-send-mail-hook 'bbdb/pgp-hook-fun)
; (mml-secure-message-sign-pgpmime)))))
; (gnus-demon-scan-pgp 180 t)
gnus-treat-strip-pgp 'last
gpg-command-default-alist '((gpg . "gpg")
(gpg-2comp . "pgpgpg"))
gpg-passphrase-timeout 5
gpg-temp-directory "~/.gnupg/tmp"
mml2015-use 'gpg
The bare key-value pairs are part of large setq statements. My
bbdb-pgp stuff takes care of signing, and it appears to work -- feel
free to check the signature on any of my recent posts to make sure.
Jack.
- --
Jack Twilley
jmt at twilley dot org
http colon slash slash www dot twilley dot org slash tilde jmt slash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)
iD8DBQE9j40MGPFSfAB/ezgRAvIPAJ9QxwPfixdQXRZr069T2SPrhVVltwCg7Bch
uGSA2uGl39qKDDiRhkmV2VA=
=W+ns
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2002-09-23 21:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-23 2:18 Jack Twilley
2002-09-23 10:31 ` Simon Josefsson
2002-09-23 12:45 ` Kai Großjohann
2002-09-23 21:52 ` Jack Twilley [this message]
2002-09-24 11:22 ` Simon Josefsson
2002-09-24 14:58 ` Josh Huber
2002-09-24 17:06 ` Jack Twilley
2002-09-24 17:27 ` Josh Huber
2002-09-24 18:54 ` Jack Twilley
2002-09-24 20:17 ` Josh Huber
2002-09-25 0:55 ` Jack Twilley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86bs6ope64.fsf@duchess.twilley.org \
--to=jmt+usenet@twilley.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).