qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: "Daniel P. Berrangé" <berrange@redhat.com>
Cc: qemu-devel@nongnu.org, matoro <matoro_mailinglist_qemu@matoro.tk>
Subject: Re: [PATCH 7/7] crypto: allow client/server cert chains
Date: Tue, 15 Jul 2025 19:26:18 +0200	[thread overview]
Message-ID: <d4ff91fa-e015-44a5-931e-ad52d3e93179@linaro.org> (raw)
In-Reply-To: <aHZ9O5N67rfnJ9SB@redhat.com>

On 15/7/25 18:09, Daniel P. Berrangé wrote:
> On Tue, Jul 15, 2025 at 11:46:31AM +0200, Philippe Mathieu-Daudé wrote:
>> On 15/7/25 11:29, Daniel P. Berrangé wrote:
>>> From: matoro <matoro@users.noreply.github.com>
>>
>> Should we use <matoro_mailinglist_qemu@matoro.tk> here?
> 
> I generally don't like to change the git metadata that a user
> submits with unless it is clearly broken, which I don't think
> is the case here.

I find confusing to have a distinct email for author ...

> 
>>
>>>
>>> The existing implementation assumes that client/server certificates are
>>> single individual certificates.  If using publicly-issued certificates,
>>> or internal CAs that use an intermediate issuer, this is unlikely to be
>>> the case, and they will instead be certificate chains.  While this can
>>> be worked around by moving the intermediate certificates to the CA
>>> certificate, which DOES currently support multiple certificates, this
>>> instead allows the issued certificate chains to be used as-is, without
>>> requiring the overhead of shuffling certificates around.
>>>
>>> Corresponding libvirt change is available here:
>>> https://gitlab.com/libvirt/libvirt/-/merge_requests/222
>>>
>>> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
>>> Signed-off-by: matoro <matoro_mailinglist_qemu@matoro.tk>

... and the S-o-b. Anyway this isn't the first case, so I don't
mind at all.

>>> [DB: adapted for code conflicts with multi-CA patch]
>>> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
>>> ---
>>>    crypto/tlscredsx509.c                 | 157 ++++++++++++--------------
>>>    tests/unit/test-crypto-tlscredsx509.c |  77 +++++++++++++
>>>    2 files changed, 147 insertions(+), 87 deletions(-)
>>
> 
> With regards,
> Daniel



      reply	other threads:[~2025-07-15 17:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-15  9:29 [PATCH 0/7] crypto: misc fixes and improvements to cert handling Daniel P. Berrangé
2025-07-15  9:29 ` [PATCH 1/7] crypto: stop requiring "key encipherment" usage in x509 certs Daniel P. Berrangé
2025-07-15  9:29 ` [PATCH 2/7] crypto: switch to newer gnutls API for distinguished name Daniel P. Berrangé
2025-07-15  9:29 ` [PATCH 3/7] crypto: load all certificates in X509 CA file Daniel P. Berrangé
2025-07-15  9:29 ` [PATCH 4/7] crypto: only verify CA certs in chain of trust Daniel P. Berrangé
2025-07-15  9:29 ` [PATCH 5/7] crypto: remove extraneous pointer usage in gnutls certs Daniel P. Berrangé
2025-07-15  9:35   ` Philippe Mathieu-Daudé
2025-07-15  9:29 ` [PATCH 6/7] crypto: fix error reporting in cert chain checks Daniel P. Berrangé
2025-07-15  9:29 ` [PATCH 7/7] crypto: allow client/server cert chains Daniel P. Berrangé
2025-07-15  9:46   ` Philippe Mathieu-Daudé
2025-07-15 16:09     ` Daniel P. Berrangé
2025-07-15 17:26       ` Philippe Mathieu-Daudé [this message]

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=d4ff91fa-e015-44a5-931e-ad52d3e93179@linaro.org \
    --to=philmd@linaro.org \
    --cc=berrange@redhat.com \
    --cc=matoro_mailinglist_qemu@matoro.tk \
    --cc=qemu-devel@nongnu.org \
    /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.
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 NNTP newsgroup(s).