From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 20E75272E7C for ; Fri, 23 Jan 2026 17:43:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769190207; cv=none; b=XNt0opCuFPLGu4cT1/oS8dA/BRUgvIid7h+P8VmknD0Ne2M8BJLx3gQCt6jkbluL1dDrRU9jrLcB5l9T/agoWxs84L0wEp8kfg2o0BF9P15DxM8WVKbMZqENx++hGE7rF1EU6+CxVaczFe5wRuxen2Mbk4YYJRGbv3LHyBb0gow= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769190207; c=relaxed/simple; bh=kT+Pn3gyhaoNqIWv1mtrMDHTRArFu/zsHuhePGBpLPs=; h=From:To:cc:Subject:MIME-Version:Content-Type:Date:Message-ID; b=ESireCCe/65dSdNQhFm0Q0COSV/IfZMUrcZYikC8w7728Axkg7PEh5SCveipBrgOh0gCLf0WibCI2iIRfuwlU83+xMMGcVx9gueMKO6nPwdGvjkOFZT6KYtPczKfpFwll/a+rzNxWTr/tOAzVZUcLih1txKaYaRmskHvEzCIh3g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=IqXt9e3b; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="IqXt9e3b" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1769190205; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HXWgAtc6UurHJ7v7o10vNJH+C+IF5KjA0KAPDFaMV1I=; b=IqXt9e3bYOrWLDPyG5svIfEA8RZimM4+wjOo32hYxO0EhBh68m4cS+CB+tedkoMQeCFEfY FDRv21EVZfnxj0+2V2NkT9ueP68PsU6FEycgOE/CKRMb3G2K3sPGAm1XKFbtzoxJQcgJ4U 97mHkYxodRapmR7nKpKGIsgLj46aii0= Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-66-wrds9M3_M2qiXpued7TKRg-1; Fri, 23 Jan 2026 12:43:23 -0500 X-MC-Unique: wrds9M3_M2qiXpued7TKRg-1 X-Mimecast-MFC-AGG-ID: wrds9M3_M2qiXpued7TKRg_1769190202 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 9D1E41800378; Fri, 23 Jan 2026 17:43:21 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.42.28.2]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 95809180099B; Fri, 23 Jan 2026 17:43:18 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells To: Mimi Zohar cc: dhowells@redhat.com, Simo Sorce , Roberto Sassu , Dmitry Kasatkin , Eric Snowberg , Eric Biggers , linux-integrity@vger.kernel.org, linux-crypto@vger.kernel.org, keyrings@vger.kernel.org, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org Subject: IMA and PQC Precedence: bulk X-Mailing-List: linux-modules@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1783974.1769190197.1@warthog.procyon.org.uk> Content-Transfer-Encoding: quoted-printable Date: Fri, 23 Jan 2026 17:43:17 +0000 Message-ID: <1783975.1769190197@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 Hi Mimi, I've posted patches which I hope will accepted to implement ML-DSA module signing: https://lore.kernel.org/linux-crypto/1753972.1769166821@warthog.procyon.o= rg.uk/T/#t but for the moment, it will give an error to pkcs7_get_digest() if there's= no digest available (which there won't be with ML-DSA). This means that ther= e isn't a hash for IMA to get at for TPM measurement. Now, I probably have to make a SHA256 hash anyway for UEFI blacklisting purposes, so that could be used. Alternatively, we can require the use of authenticatedAttributes/signedAttrs and give you the hash of that - but th= en you're a bit at the mercy of whatever hashes were used. Further, we need to think how we're going to do PQC support in IMA - particularly as the signatures are so much bigger and verification slower. Would ML-DSA-44 be acceptable? Should we grab some internal state out of ML-DSA to use in lieu of a hash? David