From: michael@cadilhac.name (Michaël Cadilhac)
To: ding@gnus.org
Subject: On `pgg-text-mode'.
Date: Mon, 05 Mar 2007 16:53:50 +0100 [thread overview]
Message-ID: <873b4jptyp.fsf@lrde.org> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 429 bytes --]
For the last few weeks, I had problems with gpg signing, and thought
it was due to a temporary bug as everybody will face it.
Well, it still happens, so here is my lament :)
My messages weren't anymore classified as well signed in Gnus, so
after some investigations, it seems that the adding of `\r' at the end
of lines when verifying key broke something, and I had to add the
following to sign the message in the right way :
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: mml.patch --]
[-- Type: text/x-patch, Size: 1319 bytes --]
Index: mml2015.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/mml2015.el,v
retrieving revision 7.1
diff -B -w -c -r7.1 mml2015.el
*** mml2015.el 4 Jan 2004 21:51:02 -0000 7.1
--- mml2015.el 5 Mar 2007 15:51:36 -0000
***************
*** 805,811 ****
(let ((pgg-errors-buffer mml2015-result-buffer)
(boundary (mml-compute-boundary cont))
(pgg-default-user-id (or (message-options-get 'mml-sender)
! pgg-default-user-id)))
(unless (pgg-sign-region (point-min) (point-max))
(pop-to-buffer mml2015-result-buffer)
(error "Sign error"))
--- 805,812 ----
(let ((pgg-errors-buffer mml2015-result-buffer)
(boundary (mml-compute-boundary cont))
(pgg-default-user-id (or (message-options-get 'mml-sender)
! pgg-default-user-id))
! (pgg-text-mode t))
(unless (pgg-sign-region (point-min) (point-max))
(pop-to-buffer mml2015-result-buffer)
(error "Sign error"))
***************
*** 825,830 ****
--- 826,832 ----
(defun mml2015-pgg-encrypt (cont &optional sign)
(let ((pgg-errors-buffer mml2015-result-buffer)
+ (pgg-text-mode t)
(boundary (mml-compute-boundary cont)))
(unless (pgg-encrypt-region (point-min) (point-max)
(split-string
[-- Attachment #1.3: Type: text/plain, Size: 409 bytes --]
So, I don't really know if its TRT to do, but it now works for me.
TIA!
--
| Michaël `Micha' Cadilhac | Je veut dire que la loi francaise |
| Epita/LRDE Promo 2007 | est overwritable par le |
| http://michael.cadilhac.name | reglement interieur il me semble. |
`--JID: michael.cadilhac@gmail.com--' -- ElBarto - --'
[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]
next reply other threads:[~2007-03-05 15:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-05 15:53 Michaël Cadilhac [this message]
2007-03-06 0:00 ` Daiki Ueno
2007-03-06 23:00 ` Michaël Cadilhac
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=873b4jptyp.fsf@lrde.org \
--to=michael@cadilhac.name \
--cc=ding@gnus.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).