[PATCH v4 00/11] Implement and use database "features"

2014-08-30 Thread David Bremner
Austin Clements  writes:

> This is v4 of id:1406859003-11561-1-git-send-email-amdragon at mit.edu.
> In addition to rebasing to current master, this makes several tidying
> changes: it gives the features enum a name for better
> self-documentation and type-safety; improves the robustness of
> _parse_features to NULL pointers; requests upgrades if the database
> version is old, even if it supports all current features; improves
> various comments; and fixes some style errors.
>

pushed this version of the series to master

d
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 647 bytes
Desc: not available
URL: 
<http://notmuchmail.org/pipermail/notmuch/attachments/20140830/b2f2f189/attachment.pgp>


[Vagrant Cascadian] Bug#759646: notmuch-emacs: switching mode= to invalid value sends unencrypted mail

2014-08-30 Thread Jani Nikula
On Thu, 28 Aug 2014, Vagrant Cascadian  wrote:
> When sending mail from notmuch-emacs interface, I usually use pgpmine
> signatures, but sometimes I want to send a signed encrypted message, so
> I manually edit the mode=sign to mode=signencrypt ... but if I make a
> typo, i.e. mode=signinvalidencrypt, notmuch happily and without warning
> sends the mail unencrypted.
> 
> i.e. #secure method=pgpmime mode=signinvalidencrypt will end up
> sending an encrypted message (with the <>, of course).
> 
> It seems like it should error out if the mode= is set to an invalid or
> unknown value, rather than sending mail in the clear.
> 
> I've got this set up in ~/.emacs, not sure what all else might be coming
> into play:
> 
>  '(message-setup-hook (quote (mml-secure-message-sign)))
>  '(notmuch-crypto-process-mime t)

I'm inclined to think this is a bug in message-mode. But we should
probably try to see what we could do to mitigate this.

As a workaround of sorts, I'd suggest not messing with the #secure tag
manually. Instead, you can use mml-secure-message-sign and
mml-secure-message-sign-encrypt to change the mode.

BR,
Jani.


Re: [Vagrant Cascadian] Bug#759646: notmuch-emacs: switching mode= to invalid value sends unencrypted mail

2014-08-30 Thread Jani Nikula
On Thu, 28 Aug 2014, Vagrant Cascadian vagr...@debian.org wrote:
 When sending mail from notmuch-emacs interface, I usually use pgpmine
 signatures, but sometimes I want to send a signed encrypted message, so
 I manually edit the mode=sign to mode=signencrypt ... but if I make a
 typo, i.e. mode=signinvalidencrypt, notmuch happily and without warning
 sends the mail unencrypted.
 
 i.e. #secure method=pgpmime mode=signinvalidencrypt will end up
 sending an encrypted message (with the , of course).
 
 It seems like it should error out if the mode= is set to an invalid or
 unknown value, rather than sending mail in the clear.
 
 I've got this set up in ~/.emacs, not sure what all else might be coming
 into play:
 
  '(message-setup-hook (quote (mml-secure-message-sign)))
  '(notmuch-crypto-process-mime t)

I'm inclined to think this is a bug in message-mode. But we should
probably try to see what we could do to mitigate this.

As a workaround of sorts, I'd suggest not messing with the #secure tag
manually. Instead, you can use mml-secure-message-sign and
mml-secure-message-sign-encrypt to change the mode.

BR,
Jani.
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: [PATCH v4 00/11] Implement and use database features

2014-08-30 Thread David Bremner
Austin Clements amdra...@mit.edu writes:

 This is v4 of id:1406859003-11561-1-git-send-email-amdra...@mit.edu.
 In addition to rebasing to current master, this makes several tidying
 changes: it gives the features enum a name for better
 self-documentation and type-safety; improves the robustness of
 _parse_features to NULL pointers; requests upgrades if the database
 version is old, even if it supports all current features; improves
 various comments; and fixes some style errors.


pushed this version of the series to master

d


pgpwnIlJdeASb.pgp
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch