All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Theodore Ts'o" <tytso@mit.edu>
To: Vegard Nossum <vegard.nossum@oracle.com>
Cc: Eric Biggers <ebiggers@kernel.org>, Jon Kohler <jon@nutanix.com>,
	Herbert Xu <herbert@gondor.apana.org.au>,
	"David S. Miller" <davem@davemloft.net>,
	"linux-crypto@vger.kernel.org" <linux-crypto@vger.kernel.org>,
	Stephan Mueller <smueller@chronox.de>,
	Marcus Meissner <meissner@suse.de>,
	Jarod Wilson <jarod@redhat.com>,
	Neil Horman <nhorman@tuxdriver.com>,
	John Haxby <john.haxby@oracle.com>
Subject: Re: 6.17 Regression: loading trusted.ko with fips=1 fails due to crypto/testmgr.c: desupport SHA-1 for FIPS 140
Date: Sun, 5 Oct 2025 18:10:11 -0400	[thread overview]
Message-ID: <20251005221011.GF386127@mit.edu> (raw)
In-Reply-To: <a2496958-1423-43b6-b23d-e4b745af034a@oracle.com>

On Sun, Oct 05, 2025 at 09:29:21AM +0200, Vegard Nossum wrote:
> This sounds like a good idea to me, although I suspect it would be more
> useful as static CONFIG_* options than boot-time options.

I suspect that distributions would have problems with static CONFIG_*
options, because it means they have to chose which FIPS options to
work (and which kerenlk features to neuter, and hence, which customers
to p*ss off).

What's not clear to me is whether some of the interpretions that if
*any* SHA1 implementations are shipped with the product, then ix-nay
on getting FIPS certification.  If that is true, then perhaps static
CONFIG_* options would be needed.  I don't see that in the FIPS
specifications; only in click-baity headlines --- but I might have
missed something, since I don't have to deal with FIPS certification,
for which I am infinitely grateful.  :-)

(And if it is true, then the boot-line fips=1 would be useless for the
purposes of getting that magic piece of fips certification paper, and
people don't seem to beieve that's the case, or it wouldn't exist.)


The other thing to note that for better or worse, FIPS compliance
might be rquired for use cases other than selling into the US
Government market.  For example, PCI requires FIPS compliance when
encrypting credit card data.  But PCI might not care about whether you
are using SHA-1 for dm_crypt, so long as you're not storing critical
card data or other PII on it.  So that might be a situation where
subsystem-specific enablement of FIPS mode might make sense.

Cheers,

						- Ted

  reply	other threads:[~2025-10-05 22:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-21 12:55 [PATCH] crypto/testmgr.c: desupport SHA-1 for FIPS 140 Vegard Nossum
2025-06-13  9:35 ` Herbert Xu
2025-10-04  3:00 ` 6.17 Regression: loading trusted.ko with fips=1 fails due to " Jon Kohler
2025-10-04  6:43   ` Vegard Nossum
2025-10-04 14:58     ` Jon Kohler
2025-10-04 23:24       ` Eric Biggers
2025-10-05  3:16         ` Theodore Ts'o
2025-10-05  7:29           ` Vegard Nossum
2025-10-05 22:10             ` Theodore Ts'o [this message]
2025-10-06 10:44         ` Vegard Nossum
2025-10-06 15:48           ` Eric Biggers

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=20251005221011.GF386127@mit.edu \
    --to=tytso@mit.edu \
    --cc=davem@davemloft.net \
    --cc=ebiggers@kernel.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=jarod@redhat.com \
    --cc=john.haxby@oracle.com \
    --cc=jon@nutanix.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=meissner@suse.de \
    --cc=nhorman@tuxdriver.com \
    --cc=smueller@chronox.de \
    --cc=vegard.nossum@oracle.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.
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.