Structs§
- AddCommand
- AddDns
Proof Command - Export
Command - Extend
Command - Init
Command - KeyRevocation
Type Iter - An iterator over the variants of KeyRevocationType
- List
Command - Merge
Command - Revoke
Command - WkdType
Iter - An iterator over the variants of WkdType
Enums§
- Commands
- DnsCommand
- Error
- KeyRevocation
Type - Enum of understood key revocation types
- Proof
Command - WkdType
- Enum to construct valid Web Key Directory (WKD) types from string
Constants§
- CERT_
LOCATION - The default location for certificates on the system
- EXPIRY_
PERIOD - The default expiration period (counted from reference time) up until which a certificate’s expiration time is extended
- EXPIRY_
THRESHOLD - The default threshold (counted from reference time) above which a certificate should be extended
- REVOCATION_
REASON - The default reason for revocation
- SECONDS_
IN_ A_ DAY - The seconds in a day
- SSH_
HOST_ KEY_ LOCATION - The default location for SSH host keys on the system
- WKD_
OUTPUT_ DIR - The default WKD export location
- WKD_
TYPE - The default WKD export type
Functions§
- add_
dns_ proof - Add DNS proof to the certificate.
- attach_
subkeys_ to_ cert - Attach a vector of OpenPGP subkeys to an OpenPGP certificate
- create_
openpgp_ subkey_ from_ ssh_ public_ key - Create an OpenPGP subkey from an SSH public key
- create_
openpgp_ subkey_ from_ ssh_ public_ key_ file - Create an OpenPGP subkey from an SSH public key file
- create_
trust_ anchor - Create an OpenPGP certificate, which serves as trust anchor
- export_
certs_ to_ wkd - Export certificates to a Web Key Directory (WKD)
- extend_
expiry_ of_ cert - Extend the expiry of an OpenPGP primary key in a certificate if a threshold is met
- get_
public_ ssh_ host_ keys - Get available public SSH host keys from the SSH config directory
- get_
single_ cert_ from_ dir - Get a single Cert from a directory
- merge_
public_ cert - Merge a certificate into a Transferable Secret Key and return the updated TSK
- parse_
known_ hosts - Create a list of SSH public keys by parsing a known_hosts string
- read_
all_ certs - Read all certificates in a directory
- revoke_
subkey_ of_ cert - Revoke an OpenPGP subkey of an OpenPGP certificate
- show_
tsks_ in_ dir - Read all valid Transferable Secret Keys (TSKs) in a directory and show information about them
- write_
tsk - Write Transferable Secret Key (TSK) to a location
- write_
tsk_ to_ stdout - Write Transferable Secret Key (TSK) to stdout