all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: emacs-devel@gnu.org
Cc: Illia Ostapyshyn <illia@yshyn.com>,
	Eric Abrahamsen <eric@ericabrahamsen.net>
Subject: Re: master 8074c08cd55: Use proper smime-keys entry for S/MIME signatures using OpenSSL
Date: Tue, 14 May 2024 18:20:44 +0200	[thread overview]
Message-ID: <87bk58l603.fsf@gmail.com> (raw)
In-Reply-To: <20240514144509.76576C2BC82@vcs2.savannah.gnu.org> (Eric Abrahamsen's message of "Tue, 14 May 2024 10:45:08 -0400 (EDT)")

>>>>> 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.

In reality 'cl-lib' will almost certainly already be loaded by anyone
using gnus, but any warning that can be avoided should be.

Robert
-- 



       reply	other threads:[~2024-05-14 16:20 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   ` Robert Pluim [this message]
2024-05-14 19:52     ` master 8074c08cd55: Use proper smime-keys entry for S/MIME signatures using OpenSSL Eric Abrahamsen
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bk58l603.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=eric@ericabrahamsen.net \
    --cc=illia@yshyn.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.