[PATCH 1/3] binman: Flesh out the p11-kit bintool docstring
Simon Glass
sjg at chromium.org
Wed Apr 22 01:11:16 CEST 2026
The Sphinx-generated bintools.rst currently produces an empty section
for this bintool, since its class docstring is only a single line and
so the body under the heading is blank.
Extend the docstring with a short description of what p11-kit does and
how binman uses it, so the generated documentation has useful content.
Suggested-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
Signed-off-by: Simon Glass <sjg at chromium.org>
---
tools/binman/btool/p11_kit.py | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/tools/binman/btool/p11_kit.py b/tools/binman/btool/p11_kit.py
index 9d8d5d848b4..bb9e7304c54 100644
--- a/tools/binman/btool/p11_kit.py
+++ b/tools/binman/btool/p11_kit.py
@@ -7,7 +7,15 @@ from binman import bintool
class Bintoolp11_kit(bintool.Bintool):
- """p11-kit -- support tool for pkcs#11 libraries"""
+ """p11-kit -- support tool for pkcs#11 libraries
+
+ This bintool supports running `p11-kit` to discover and configure the
+ PKCS#11 modules installed on the system. Binman uses it to look up the
+ module path for a given token provider (for example SoftHSMv2) when signing
+ FIT images or capsules with a PKCS#11 key.
+
+ See https://p11-glue.github.io/p11-glue/p11-kit.html for more details.
+ """
def __init__(self, name):
super().__init__('p11-kit',
'Pkcs11 library modules tool',
--
2.43.0
More information about the U-Boot
mailing list