From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (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 7ED5B3DDDDE; Sun, 18 Oct 2026 17:10:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.156.1 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792343448; cv=none; b=Otunp5MGFMp3+3ZnBFSSiyhqlLK+yiCH63J0AP0F2+oVdZLGPqIEMFigKGNMrUx0GRT342KmQU8pUSlXimBTzFF4ctlUX6LeafFliAKdGwVxF6Fj4BkuSALpK4bwGkMCBEH40bP8Ja6DC3bzryNORaYJP/GKIYLV+i1Ktj2hAtI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792343448; c=relaxed/simple; bh=IczeKj09vJ2QtGelJvKRp27QdB760I/MWOLgeMntrq0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=s7N/NO+V5doTt9BJB05EpT9FOekc+bb23Uju//vD+RFD7qMXpfMzide6Qirs4+tzbyaJuk1QlfHsoO8JymaaM/sj4RjYaLPmdkhqmjz9aopp75PipKXx0YysfrIfwqKmJoieZnVPIUlqbVjkr4GwxDKSg8T+kENiQOktISFRK7E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=qJi7zZ4L; arc=none smtp.client-ip=148.163.156.1 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="qJi7zZ4L" Received: from pps.filterd (m0356517.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 69IFFYqk1296187; Sun, 18 Oct 2026 17:10:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=pp1; bh=m02Yr+9N1QpAgfZYW q5+IlhDDBi0u15BcC72v3r8GnM=; b=qJi7zZ4LWYpGA/Qj6s3oDWbB6fqgkxmLR kTcaR4i0wXM+FLhkfXpyDZ8VXW3L0OYs4/umeSOfWK5qUaYVlRr+eQgBPVtM/Mly nIPSQxvVM98SLK+b1ARphcFhQ2vYUqjcrabOVtLk1WivFAnRKF3uzp+I8vjwewEG TkmK0CrVaU06SHvTyATVTRVWtXdwSYdkR4CcsyHlQuIuizvffc4lGhIu9zGjntHz Qu/qYNdY9Chij+vFzp6l/F19vp5ZJXiVMRTkzEJGH4PHcb4EaGYcJoxQJ2ypEJOi jIIg9YjlNxikVmurzUEKoNjovCD8hujo8ShKochBPwKQC2jDEmA6g== Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4hc0r7ep4m-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Sun, 18 Oct 2026 17:10:30 +0000 (GMT) Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.18.1.11/8.18.1.11) with ESMTP id 69IFK3P82729546; Sun, 18 Oct 2026 17:10:29 GMT Received: from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 4hckbq2c8q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 18 Oct 2026 17:10:29 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com [10.20.54.106]) by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 69IHAPms47317282 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 18 Oct 2026 17:10:25 GMT Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 899CC20040; Sun, 18 Oct 2026 17:10:25 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1D16220043; Sun, 18 Oct 2026 17:10:15 +0000 (GMT) Received: from li-fc74f8cc-3279-11b2-a85c-ef5828687581.ibm.com (unknown [9.67.125.165]) by smtpav07.fra02v.mail.ibm.com (Postfix) with ESMTP; Sun, 18 Oct 2026 17:10:14 +0000 (GMT) From: Srish Srinivasan To: linux-integrity@vger.kernel.org, keyrings@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Cc: maddy@linux.ibm.com, ritesh.list@gmail.com, sshegde@linux.ibm.com, mpe@ellerman.id.au, npiggin@gmail.com, christophe.leroy@csgroup.eu, James.Bottomley@HansenPartnership.com, jarkko@kernel.org, zohar@linux.ibm.com, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, nayna@linux.ibm.com, rnsastry@linux.ibm.com, ssrish@linux.ibm.com Subject: [PATCH v5 8/9] keys/trusted_keys: enable PKWM wrapping key selection by label Date: Sun, 18 Oct 2026 22:38:43 +0530 Message-ID: <20261018170844.491252-9-ssrish@linux.ibm.com> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261018170844.491252-1-ssrish@linux.ibm.com> References: <20261018170844.491252-1-ssrish@linux.ibm.com> Precedence: bulk X-Mailing-List: linux-security-module@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-Reinject: loops=2 maxloops=12 X-Proofpoint-Spam-Info: AW1haW4tMjYxMDE4MDA2NiBTYWx0ZWRfXzVpSwmC7L+25 SHzJd1SBoTbUqeCqV2wUdTOjAlRb/gdpYhLhPe7a9pKhsvTftDOKLU0aB/imPJBrRxsUFvYqOAc F1LLrX5IbUpUgGLggrGiQNpV8m5Pw+s= X-Authority-Analysis: v=2.4 cv=PrUG/AM3 c=1 sm=1 tr=0 ts=6ad4fd86 cx=c_pps a=bLidbwmWQ0KltjZqbj+ezA==:117 a=bLidbwmWQ0KltjZqbj+ezA==:17 a=660iZSQnnn4A:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22 a=U7nrCbtTmkRpXpFmAIza:22 a=VnNF1IyMAAAA:8 a=_1a9KapSLEuvdD3BKzMA:9 a=mGxJDu7xY38OflIk:21 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMDE4MDA2NiBTYWx0ZWRfX9o6KBjGpMNZk GF/iba0hlFy7qC9n7Kk7Omqt4pC7JslABqoJlxI/6M/ieIoAP9EuELoECYTU5mg6jWiXCsL/QSb 1yKfX8iNSUI/xYgA6LDtguqcN1A4AajUNH4cvUVF+3LRuC1fGASUJRwKd36AQj40D5hsv6i8FJm QHrPHgswDUzxb6CcQtoT0PJXsUFhU6qsAMyXWi/rLh4MaDXue66GYBP0LylPnIixmMrbCPTR8FV Ps9EVsl6Zsg1iBJH/Esz0Vi5abIz6hK0sWB4ATokDuQ0UNQHKfIYgSm3CvexcsKr4C5CA2KfS9k xl3E4gUh9S/RTCIYk1VNjvXK/2ttDIvF7A4qZyDBUowFH8/dbgjHZH+KnKKkPhrnJkk5Te9ExQn mRRgpKRqqFGonTkTsKEqmO+EsoGa7Q4vTLtuzAL9ZczH+LDKn+leaGBTPBl0AK4iLFDAd9qGtTe K0tykc6XoUrkknSBBPw== X-Proofpoint-GUID: N-bWdt5tYioACQvQRsGn1LJK2i9j5U4_ X-Proofpoint-ORIG-GUID: 1Fcb60SqRqNsvGXbm3nYkCRvC6EOGDDl X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-10-18_03,2026-10-14_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 bulkscore=0 impostorscore=0 phishscore=0 clxscore=1015 priorityscore=1501 malwarescore=0 suspectscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2610080000 definitions=main-2610180066 The PKWM trusted source currently uses the default wrapping key for all seal and unseal operations. However, PKWM supports multiple wrapping keys, enabling better isolation between trusted keys. Allow users to provide an active wrapping key of their choice created through sysfs when sealing trusted keys through a new wrapping_key=