From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60102 Path: news.gmane.org!not-for-mail From: asjo@koldfront.dk (Adam =?iso-8859-1?Q?Sj=F8gren?=) Newsgroups: gmane.emacs.gnus.general Subject: Error when entering private key password Date: Tue, 05 Apr 2005 21:46:56 +0200 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87y8bxknv3.fsf@koldfront.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1112731564 29967 80.91.229.2 (5 Apr 2005 20:06:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Apr 2005 20:06:04 +0000 (UTC) Original-X-From: ding-owner+M8628@lists.math.uh.edu Tue Apr 05 22:06:03 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by ciao.gmane.org with esmtp (Exim 4.43) id 1DIuIT-00037E-FE for ding-account@gmane.org; Tue, 05 Apr 2005 22:05:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1DIuFX-0005tY-00; Tue, 05 Apr 2005 15:02:11 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DIu3O-0005rq-00 for ding@lists.math.uh.edu; Tue, 05 Apr 2005 14:49:38 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DIu3F-0000lg-Qm for ding@lists.math.uh.edu; Tue, 05 Apr 2005 14:49:29 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1DIu3E-0003Jo-00 for ; Tue, 05 Apr 2005 21:49:28 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DIu07-0008OS-Nk for ding@gnus.org; Tue, 05 Apr 2005 21:46:15 +0200 Original-Received: from 0x50a5b872.bynxx12.adsl-dhcp.tele.dk ([80.165.184.114]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Apr 2005 21:46:15 +0200 Original-Received: from asjo by 0x50a5b872.bynxx12.adsl-dhcp.tele.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Apr 2005 21:46:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 89 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 0x50a5b872.bynxx12.adsl-dhcp.tele.dk X-Face: &DfBw60^ZxI8hd?J%t&_8wW?SLF%BBx<2XQ+sXYpX!?{=0C?9D{Nc`;Eq<0d=-L User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4.17 (linux) Cancel-Lock: sha1:WJv7jnRJXDnZdr4/fqDs4ePJKaw= X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60102 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60102 I just received a GPG-encrypted email. I don't receive many of those, but I have set up Gnus to handle them, and previously it did. But after I entered the password for my private key, I got an error: Wrong type argument: natnump, (16979 30253 194257) The strack trace (see below) looks like it is something to do with storing the password, so I tried commenting out this line from my .gnus: (setq gpg-passphrase-timeout 36000) ; Ten hours and that made the problem go away (no error, email decrypted). I'm using no gnus, updated from cvs a couple of minutes ago, on XEmacs (XEmacs 21.4 (patch 17) "Jumbo Shrimp" [Lucid] (i386-debian-linux, Mule) of Tue Feb 8 2005 on penell). Here is the strack trace: == = # bind (standard-output stack-trace-on-signal debug-on-signal stack-trace-on-error debug-on-error) signal(wrong-type-argument (natnump (16979 30253 194257))) # bind (value itimer) gpg-timer-set-time((nil 0 nil ignore nil nil nil (0 0 0)) (16979 30253 194257)) (if (equal gpg-passphrase-timeout 0) nil (if (null gpg-passphrase-timer) (setq gpg-passphrase-timer ...)) (gpg-timer-set-time gpg-passphrase-timer (timer-relative-time ... gpg-passphrase-timeout)) (gpg-timer-set-function gpg-passphrase-timer (quote gpg-passphrase-forget)) (unless (and ... ...) (gpg-timer-activate gpg-passphrase-timer)) (setq gpg-passphrase passphrase)) (unless (equal gpg-passphrase-timeout 0) (if (null gpg-passphrase-timer) (setq gpg-passphrase-timer ...)) (gpg-timer-set-time gpg-passphrase-timer (timer-relative-time ... gpg-passphrase-timeout)) (gpg-timer-set-function gpg-passphrase-timer (quote gpg-passphrase-forget)) (unless (and ... ...) (gpg-timer-activate gpg-passphrase-timer)) (setq gpg-passphrase passphrase)) # bind (passphrase) gpg-passphrase-store("MYSECRET") # bind (pp) (let ((pp ...)) (gpg-passphrase-store pp)) (if gpg-passphrase (gpg-passphrase-store gpg-passphrase) (let (...) (gpg-passphrase-store pp))) gpg-passphrase-read() (if passphrase passphrase (gpg-passphrase-read)) (gpg-call-process (gpg-exec-path gpg-command-decrypt) (gpg-build-arg-list (cdr gpg-command-decrypt) nil) ciphertext plaintext result (if passphrase passphrase (gpg-passphrase-read))) # bind (passphrase result plaintext ciphertext) gpg-decrypt(#"> # # nil) # (unwind-protect ...) # (unwind-protect ...) # bind (temp-buffer cipher plain result) mml2015-gpg-decrypt-1() # bind (result) mml2015-gpg-clear-decrypt() # (unwind-protect ...) # bind (buf ctl handles) mm-uu-pgp-encrypted-extract-1(nil ("multipart/encrypted")) # (unwind-protect ...) # bind (mm-security-handle) mm-uu-pgp-encrypted-extract() # (unwind-protect ...) # bind (case-fold-search mm-uu-text-plain-type text-start start-point end-point file-name result entry func mime-type noheader) mm-uu-dissect() # bind (handles inhibit-read-only handle name type b e display) # (unwind-protect ...) # bind (ssw52106) # (unwind-protect ...) # bind (ihandles) gnus-display-mime() # bind (gnus-article-buffer buffer-read-only inhibit-read-only) gnus-article-prepare-display() # (unwind-protect ...) # bind (result group gnus-tmp-internal-hook summary-buffer gnus-article) # (unwind-protect ...) # bind (header all-headers article) gnus-article-prepare(849 nil) # bind (all-header article) gnus-summary-display-article(849) # bind (article article-window endp stop circular lines) gnus-summary-next-page(nil) # bind (command-debug-status) call-interactively(gnus-summary-next-page) # (condition-case ... . error) # (catch top-level ...) == = Any ideas? Best regards, Adam -- "Even if you don't have all the things you want, be Adam Sjøgren grateful for the things you don't have that you asjo@koldfront.dk don't want."