summaryrefslogtreecommitdiffstats
path: root/man/systemd-measure.xml
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-11-07 14:44:44 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-11-07 20:33:08 +0100
commitc4bc0fd6de48d8d66bf648d5a5186db7ef333dc4 (patch)
tree5d12ddae8eca6a159e16e76420dabc1da35f390a /man/systemd-measure.xml
parenttree-wide: Introduce --certificate-source= option (diff)
downloadsystemd-c4bc0fd6de48d8d66bf648d5a5186db7ef333dc4.tar.xz
systemd-c4bc0fd6de48d8d66bf648d5a5186db7ef333dc4.zip
measure: Add pcrpkey verb
This verb writes a public key to stdout extracted from either a public key path, from a certificate (path or provider) or from a private key (path, engine, provider). We'll use this in ukify to get rid of the use of the python cryptography module to convert a private key or certificate to a public key.
Diffstat (limited to 'man/systemd-measure.xml')
-rw-r--r--man/systemd-measure.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/man/systemd-measure.xml b/man/systemd-measure.xml
index c7e5a5e9e2..5ca373f181 100644
--- a/man/systemd-measure.xml
+++ b/man/systemd-measure.xml
@@ -104,6 +104,16 @@
<xi:include href="version-info.xml" xpointer="v252"/></listitem>
</varlistentry>
+
+ <varlistentry>
+ <term><command>pcrpkey</command></term>
+
+ <listitem><para>This commands prints the public key either given with <option>--public-key=</option>,
+ or extracted from the certificate given with <option>--certificate=</option> or the private key given
+ with <option>--private-key=</option>.</para>
+
+ <xi:include href="version-info.xml" xpointer="v257"/></listitem>
+ </varlistentry>
</variablelist>
</refsect1>