From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: Robert Pluim <rpluim@gmail.com>
Cc: emacs-devel@gnu.org, Illia Ostapyshyn <illia@yshyn.com>
Subject: Re: master 8074c08cd55: Use proper smime-keys entry for S/MIME signatures using OpenSSL
Date: Tue, 14 May 2024 12:52:23 -0700 [thread overview]
Message-ID: <87cypo893c.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87bk58l603.fsf@gmail.com> (Robert Pluim's message of "Tue, 14 May 2024 18:20:44 +0200")
On 05/14/24 18:20 PM, Robert Pluim wrote:
>>>>>> On Tue, 14 May 2024 10:45:08 -0400 (EDT), Eric Abrahamsen <eric@ericabrahamsen.net> said:
>
> Eric> branch: master
> Eric> commit 8074c08cd553ab6ee5ffe61cc2e56fb1e0a4fe34
> Eric> Author: Illia Ostapyshyn <illia@yshyn.com>
> Eric> Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
>
> Eric> -(defun mml-smime-openssl-sign (_cont)
> Eric> - (when (null smime-keys)
> Eric> - (customize-variable 'smime-keys)
> Eric> - (error "No S/MIME keys configured, use customize to add your key"))
> Eric> - (smime-sign-buffer (cdar smime-keys))
> Eric> +(defun mml-smime-openssl-sign (cont)
> Eric> + (smime-sign-buffer
> Eric> + ;; List with key and certificate as its car, and a list of additional
> Eric> + ;; certificates to include in its cadr for smime-sign-region
> Eric> + (list
> Eric> + (cdr (assq 'keyfile cont))
> Eric> + (mapcar #'cdr (cl-remove-if-not (apply-partially #'equal 'chainfile)
> Eric> + cont
> Eric> + :key #'car-safe))))
>
> Minor grumble:
>
> ELC gnus/mml-smime.elc
>
> In end of data:
> gnus/mml-smime.el:138:20: Warning: the function ‘cl-remove-if-not’
> might not be defined at runtime.
That's odd, mml-smime.el has "(eval-when-compile (require 'cl-lib))",
and I didn't see that warning when compiling.
> In reality 'cl-lib' will almost certainly already be loaded by anyone
> using gnus, but any warning that can be avoided should be.
Agreed! I'm confused about this one, though.
next prev parent reply other threads:[~2024-05-14 19:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <171569790836.12584.17403055733578074815@vcs2.savannah.gnu.org>
[not found] ` <20240514144509.76576C2BC82@vcs2.savannah.gnu.org>
2024-05-14 16:20 ` master 8074c08cd55: Use proper smime-keys entry for S/MIME signatures using OpenSSL Robert Pluim
2024-05-14 19:52 ` Eric Abrahamsen [this message]
2024-05-15 9:13 ` Robert Pluim
2024-05-15 9:22 ` Andreas Schwab
2024-05-15 9:26 ` Robert Pluim
2024-05-15 9:47 ` Andreas Schwab
2024-05-16 0:04 ` Eric Abrahamsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87cypo893c.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--cc=emacs-devel@gnu.org \
--cc=illia@yshyn.com \
--cc=rpluim@gmail.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).