Project

General

Profile

pki --keyid » History » Version 8

Andreas Steffen, 14.03.2020 07:27
Removed ipsec

1 8 Andreas Steffen
h1. pki --keyid
2 1 Andreas Steffen
3 1 Andreas Steffen
h2. Synopsis
4 1 Andreas Steffen
5 1 Andreas Steffen
<pre>
6 6 Tobias Brunner
pki --keyid [--in file|--keyid hex] [--type priv|rsa|ecdsa|bliss|pub|pkcs10|x509]
7 7 Tobias Brunner
            [--id all|spk|spki] [--format pretty|hex|base64|bin]
8 1 Andreas Steffen
9 1 Andreas Steffen
           --help     (-h)  show usage information
10 1 Andreas Steffen
           --in       (-i)  input file, default: stdin
11 5 Tobias Brunner
           --keyid    (-x)  smartcard or TPM private key object handle
12 4 Tobias Brunner
           --type     (-t)  type of key, default: priv
13 7 Tobias Brunner
           --id       (-I)  type of identifier, default: all
14 7 Tobias Brunner
           --format   (-f)  output format, default: pretty
15 1 Andreas Steffen
           --debug    (-v)  set debug level, default: 1
16 1 Andreas Steffen
           --options  (-+)  read command line options from file
17 1 Andreas Steffen
</pre>
18 1 Andreas Steffen
19 1 Andreas Steffen
h2. Description
20 1 Andreas Steffen
21 7 Tobias Brunner
Calculate and display public key identifiers. Currently these are _spk_ ("subjkey" - SHA-1 hash of subjectPublicKey) and _spki_ ("keyid" - SHA-1 hash of subjectPublicKeyInfo).
22 7 Tobias Brunner
23 7 Tobias Brunner
Since version:5.8.0 @--id@ and @--format@ allow specifying what output the tool produces.