* [sup-talk] Fixing header for encrypted messages (might be an old issue)
@ 2009-09-15 20:21 Christopher Bertels
2009-09-15 22:21 ` Adeodato Simó
0 siblings, 1 reply; 6+ messages in thread
From: Christopher Bertels @ 2009-09-15 20:21 UTC (permalink / raw)
Hi!
I've been having problems with encrypting messages. No idea where this
came from, but somehow the protocol part in encrypted messages had an
extra pair of quotes, e.g.: protocol=""application/pgp-encrypted""
which caused it to not be recognized by some clients (e.g. mutt as far as I know).
Here's a simple fix. I have no idea, why this suddenly came up. Might
be that it had been like this all the time, just no one had a problem
with it? (I highly doubt that though!)
If this is an old issue and I'm just using an old version, feel free
to ignore this. I've tried using the current master or next branch,
but that causes a crash when trying to open encrypted emails. Maybe
someone else is having a similar problem?
Greetings,
Christopher.
--
================================
Christopher Bertels
http://www.adztec-independent.de
GPG Key ID: 0x2345b203
-------------- next part --------------
A non-text attachment was scrubbed...
Name: protocol-fix.patch
Type: application/octet-stream
Size: 509 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20090915/462fe7d5/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20090915/462fe7d5/attachment.bin>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [sup-talk] Fixing header for encrypted messages (might be an old issue)
2009-09-15 20:21 [sup-talk] Fixing header for encrypted messages (might be an old issue) Christopher Bertels
@ 2009-09-15 22:21 ` Adeodato Simó
2009-09-15 22:42 ` Christopher Bertels
0 siblings, 1 reply; 6+ messages in thread
From: Adeodato Simó @ 2009-09-15 22:21 UTC (permalink / raw)
+ Christopher Bertels (Tue, 15 Sep 2009 22:21:59 +0200):
> Hi!
Hello!
> I've been having problems with encrypting messages. No idea where this
> came from, but somehow the protocol part in encrypted messages had an
> extra pair of quotes, e.g.: protocol=""application/pgp-encrypted""
> which caused it to not be recognized by some clients (e.g. mutt as far as I know).
> Here's a simple fix. I have no idea, why this suddenly came up. Might
> be that it had been like this all the time, just no one had a problem
> with it? (I highly doubt that though!)
It's been like that all the time, but AFAIK only Mutt has problem
opening those messages. FWIW, it's a bug in RMail (another one to add to
the pile...):
http://rubyforge.org/tracker/index.php?func=detail&aid=2170&group_id=446&atid=1754
http://rubyforge.org/tracker/index.php?func=detail&aid=2661&group_id=446&atid=1756
I advice against using your patch, since it depends on broken behavior
of RMail to produce correct results, and people may be using fixed
versions of the library. For example, I uploaded fixed packages of RMail
to Debian, and they'll become available in Ubuntu at some point.
Instead, you can find a patch to fix the issue in your system's RMail in
one bugs linked above.
> If this is an old issue and I'm just using an old version, feel free
> to ignore this. I've tried using the current master or next branch,
> but that causes a crash when trying to open encrypted emails. Maybe
> someone else is having a similar problem?
No, I've recently started experiencing this as well, asuming you're
talking about:
--- NoMethodError from thread: load messages for thread-view-mode
undefined method `expandable?' for #<Array:0x7faa50e2d978>
/home/dato/devel/sup/work/lib/sup/modes/thread-view-mode.rb:615:in `regen_text'
/home/dato/devel/sup/work/lib/sup/modes/thread-view-mode.rb:610:in `each'
/home/dato/devel/sup/work/lib/sup/modes/thread-view-mode.rb:610:in `regen_text'
/home/dato/devel/sup/work/lib/sup/thread.rb:68:in `each'
/home/dato/devel/sup/work/lib/sup/thread.rb:170:in `each_with_stuff'
[...]
Cheers,
--
- Are you sure we're good?
- Always.
-- Rory and Lorelai
^ permalink raw reply [flat|nested] 6+ messages in thread
* [sup-talk] Fixing header for encrypted messages (might be an old issue)
2009-09-15 22:21 ` Adeodato Simó
@ 2009-09-15 22:42 ` Christopher Bertels
2009-09-26 14:40 ` William Morgan
0 siblings, 1 reply; 6+ messages in thread
From: Christopher Bertels @ 2009-09-15 22:42 UTC (permalink / raw)
Excerpts from Adeodato Sim?'s message of Mi Sep 16 00:21:19 +0200 2009:
> It's been like that all the time, but AFAIK only Mutt has problem
> opening those messages. FWIW, it's a bug in RMail (another one to add to
> the pile...):
Alright, good to know.
> I advice against using your patch, since it depends on broken behavior
> of RMail to produce correct results, and people may be using fixed
> versions of the library. For example, I uploaded fixed packages of RMail
> to Debian, and they'll become available in Ubuntu at some point.
>
> Instead, you can find a patch to fix the issue in your system's RMail in
> one bugs linked above.
Alright, thanks. I'll just leave it for me like this until I've got a
new version of RMail then.
> > If this is an old issue and I'm just using an old version, feel free
> > to ignore this. I've tried using the current master or next branch,
> > but that causes a crash when trying to open encrypted emails. Maybe
> > someone else is having a similar problem?
>
> No, I've recently started experiencing this as well, asuming you're
> talking about:
>
> --- NoMethodError from thread: load messages for thread-view-mode
> undefined method `expandable?' for #<Array:0x7faa50e2d978>
> /home/dato/devel/sup/work/lib/sup/modes/thread-view-mode.rb:615:in `regen_text'
> /home/dato/devel/sup/work/lib/sup/modes/thread-view-mode.rb:610:in `each'
> /home/dato/devel/sup/work/lib/sup/modes/thread-view-mode.rb:610:in `regen_text'
> /home/dato/devel/sup/work/lib/sup/thread.rb:68:in `each'
> /home/dato/devel/sup/work/lib/sup/thread.rb:170:in `each_with_stuff'
> [...]
Yes, it's the same error I get. Any insights as to what is causing this?
Cheers,
Christopher.
--
================================
Christopher Bertels
http://www.adztec-independent.de
GPG Key ID: 0x2345b203
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20090916/7f6fbfa9/attachment.bin>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [sup-talk] Fixing header for encrypted messages (might be an old issue)
2009-09-15 22:42 ` Christopher Bertels
@ 2009-09-26 14:40 ` William Morgan
2009-09-26 14:49 ` William Morgan
0 siblings, 1 reply; 6+ messages in thread
From: William Morgan @ 2009-09-26 14:40 UTC (permalink / raw)
Reformatted excerpts from Christopher Bertels's message of 2009-09-15:
> Excerpts from Adeodato Sim?'s message of Mi Sep 16 00:21:19 +0200 2009:
> > --- NoMethodError from thread: load messages for thread-view-mode
> > undefined method `expandable?' for #<Array:0x7faa50e2d978>
> > /home/dato/devel/sup/work/lib/sup/modes/thread-view-mode.rb:615:in `regen_text'
> > /home/dato/devel/sup/work/lib/sup/modes/thread-view-mode.rb:610:in `each'
> > /home/dato/devel/sup/work/lib/sup/modes/thread-view-mode.rb:610:in `regen_text'
> > /home/dato/devel/sup/work/lib/sup/thread.rb:68:in `each'
> > /home/dato/devel/sup/work/lib/sup/thread.rb:170:in `each_with_stuff'
> > [...]
>
> Yes, it's the same error I get. Any insights as to what is causing this?
Just to confirm---both of you are seeing this error, with a recent git
master, when opening encrypted messages?
--
William <wmorgan-sup at masanjin.net>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [sup-talk] Fixing header for encrypted messages (might be an old issue)
2009-09-26 14:40 ` William Morgan
@ 2009-09-26 14:49 ` William Morgan
2009-09-27 12:48 ` Adeodato Simó
0 siblings, 1 reply; 6+ messages in thread
From: William Morgan @ 2009-09-26 14:49 UTC (permalink / raw)
Reformatted excerpts from William Morgan's message of 2009-09-26:
> Just to confirm---both of you are seeing this error, with a recent git
> master, when opening encrypted messages?
Ah, looks like Michael Stapelberg's patch will fix this.
--
William <wmorgan-sup at masanjin.net>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [sup-talk] Fixing header for encrypted messages (might be an old issue)
2009-09-26 14:49 ` William Morgan
@ 2009-09-27 12:48 ` Adeodato Simó
0 siblings, 0 replies; 6+ messages in thread
From: Adeodato Simó @ 2009-09-27 12:48 UTC (permalink / raw)
+ William Morgan (Sat, 26 Sep 2009 07:49:41 -0700):
> Reformatted excerpts from William Morgan's message of 2009-09-26:
> > Just to confirm---both of you are seeing this error, with a recent git
> > master, when opening encrypted messages?
> Ah, looks like Michael Stapelberg's patch will fix this.
I can confirm it works again on master (and next), thanks!
--
- Are you sure we're good?
- Always.
-- Rory and Lorelai
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-09-27 12:48 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-15 20:21 [sup-talk] Fixing header for encrypted messages (might be an old issue) Christopher Bertels
2009-09-15 22:21 ` Adeodato Simó
2009-09-15 22:42 ` Christopher Bertels
2009-09-26 14:40 ` William Morgan
2009-09-26 14:49 ` William Morgan
2009-09-27 12:48 ` Adeodato Simó
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox