[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master 29006a6: Detect if a message can be encrypted a
Re: [Emacs-diffs] master 29006a6: Detect if a message can be encrypted and add an MML tag
Wed, 11 Apr 2018 20:00:27 +0200
>> 1) It adds the MML tags even if the recipients key is disabled.
> I don't know what "the recipients key is disabled" means.
Function mml-secure-check-sub-key avoids disabled keys,
mml-secure-find-usable-keys calls that. You may want to call the
latter instead of epg-list-keys. That’s what I do in jl-encrypt.el
>> 2) More complicated: The UI does not provide a means to
>> temporarily not use encryption [...]
> I agree. We could add a boolean buffer-local variable that the user
> could toggle with something like `M-x
> message-toggle-sign-encrypt-if-all-keys-available`. This would only
> affect the current buffer. What do you think?
In jl-encrypt.el the user can confirm that they really want to send
plaintext although keys are available.