From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (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 A574E3D8107; Sat, 17 Oct 2026 18:40:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.158.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792262443; cv=none; b=j3GlB4XkGxryOAu4sm5yykwPHuBJiGnH+MtZEI8mmApajB71t+5vYF+UnSaZbqyj4/uwEb+B+Rhut7gx5iYqcg+0u5bx8wCJrf1BC5Y8fCtiX9ur5iG3PF2bs9cw3chyXjSVuKZcKPSZjcxV9gBgrhpo+HrAbmtXvquwCzq9f7I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792262443; c=relaxed/simple; bh=PLlsc57mC/7vOb/j5nnpdkBnB23xxZEwTVt8IEfS6mY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=BEdC6m+3EKjbNW1jAPT/EvaJ8vTTWI7VPBh4Rwl4gQUFNy06OQZGNTcIs/bDSeMkjDQVcwKfQwDI9Lwgk1651712q4UqzICFPndn0F8AkFIs+w02BQQ2J9te/QGao1qCmKUgiGHhpowWQPTW3iySKN6F087jaism84ukZmWffb8= 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=GofONnEs; arc=none smtp.client-ip=148.163.158.5 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="GofONnEs" Received: from pps.filterd (m0360072.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 69HGEBLo2881466; Sat, 17 Oct 2026 18:40:27 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=FGLd6tcKE5lRjA1B2 HdgZbz2BixILHEDIrar1Xk95iQ=; b=GofONnEsWtHBZf0b3Xj+wAhAx+ar/i/Kk Z89R/U/INVJPwFHVOqbIO27Cf4wI7tSIBKfCrD0lgp7bYOeh6J+bAX2yVNo443ST Vm5AF03fdkpDZa6CbuMg+DFKT02QqbnNRLzRXIswOJuQzsvGrHK6/n9o5RFXa0X8 p/5eAbfrhv5OndJCKwRSWaJ4FcTtlJwdAU+z+vYB5XEWXfkA0jl8S7VSKZxJA3Fu 86SxSK59j/lHxxlSfDmGQ01NYpkL7+iITIU/XHByCZTX84yHV9K6lPsFQjGJjEn/ MpnLejqaK6Pf3uSzOYAyb4/Bdia0l4272E+9V8t4oG+xeGlLc9qRQ== Received: from ppma23.wdc07v.mail.ibm.com (5d.69.3da9.ip4.static.sl-reverse.com [169.61.105.93]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4hc0nvjha2-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Sat, 17 Oct 2026 18:40:27 +0000 (GMT) Received: from pps.filterd (ppma23.wdc07v.mail.ibm.com [127.0.0.1]) by ppma23.wdc07v.mail.ibm.com (8.18.1.11/8.18.1.11) with ESMTP id 69HGK3Pe1319247; Sat, 17 Oct 2026 18:40:26 GMT Received: from smtprelay07.fra02v.mail.ibm.com ([9.218.2.229]) by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 4hawqx1wn9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 17 Oct 2026 18:40:26 +0000 (GMT) Received: from smtpav02.fra02v.mail.ibm.com (smtpav02.fra02v.mail.ibm.com [10.20.54.101]) by smtprelay07.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 69HIeMnU49676570 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 17 Oct 2026 18:40:22 GMT Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 47F4120043; Sat, 17 Oct 2026 18:40:22 +0000 (GMT) Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 17AA820040; Sat, 17 Oct 2026 18:40:14 +0000 (GMT) Received: from li-fc74f8cc-3279-11b2-a85c-ef5828687581.ibm.com (unknown [9.67.66.83]) by smtpav02.fra02v.mail.ibm.com (Postfix) with ESMTP; Sat, 17 Oct 2026 18:40:13 +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 v4 8/9] keys/trusted_keys: enable PKWM wrapping key selection by label Date: Sun, 18 Oct 2026 00:08:52 +0530 Message-ID: <20261017183853.596052-9-ssrish@linux.ibm.com> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261017183853.596052-1-ssrish@linux.ibm.com> References: <20261017183853.596052-1-ssrish@linux.ibm.com> Precedence: bulk X-Mailing-List: linux-integrity@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: AW1haW4tMjYxMDE3MDA3MiBTYWx0ZWRfXzbsvTa4OQbgD 8R+qXqjN1pNL0Yin+Y7/eGM9K2RTvzyS3knc1qKgntglamDyUNuZL5kjCcDwFfbRGDc6pb9tSOH pqvT0VGOSUIOI0I9FYX/e/kSxrCaCMc= X-Proofpoint-ORIG-GUID: QWBpIcnXv6C-LFC-fBaYKWtiC-cjPtGM X-Proofpoint-GUID: 2orZoJmmMyYiMlPRCg47yMvt-82X691T X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMDE3MDA3MiBTYWx0ZWRfX+kBLVQjSchnD D/LmVRQlYHilcX9a/IwrELPQJ07ksjOvq1nk4uBMPm8VtESBGCeK40cxOhpQgZ8Z6YTAgFYIxMV /6PA6GZw21qO+d4EmJkK4AynbCBpqLDU9u+KTeM/xqsSSCZGK9y9AMry28jYl2Fhto2+O5zXElI J+Po6U6wZylf4NbTVRMP3kg2kTXzyUv8TYCcdfP79qiU/dTlu49qXLOMOY3Ur3uEQgPYh8G420j +NuHXHBGGTwI43p8APDfsDjr4cjOGpy1SvQa9vW7WCISlUFPwV/uNlah+0RaOIcCYMuKFuM9c3h SVpDspoyf+TMvK8A7a2G3M6EuR6i95bct93sO4ChfuOGE4EL3be/JcZQiaX1jwroPR51/ChkoIY PbN9smtXF539lz+qIw3dRhZGRIXytrFszlrdsmbJh1aYg/ak3u9G9jX/Lcg1wlFshaoMd0hpF+b cjY6zFjk5AiUuIn2FCA== X-Authority-Analysis: v=2.4 cv=MY35KJ/f c=1 sm=1 tr=0 ts=6ad3c11b cx=c_pps a=3Bg1Hr4SwmMryq2xdFQyZA==:117 a=3Bg1Hr4SwmMryq2xdFQyZA==:17 a=660iZSQnnn4A:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22 a=RzCfie-kr_QcCd8fBx8p:22 a=VnNF1IyMAAAA:8 a=_1a9KapSLEuvdD3BKzMA:9 a=mGxJDu7xY38OflIk:21 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-17_05,2026-10-14_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 adultscore=0 suspectscore=0 malwarescore=0 lowpriorityscore=0 clxscore=1015 impostorscore=0 bulkscore=0 priorityscore=1501 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2610080000 definitions=main-2610170072 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=