Crate sshd_openpgp_auth

Source

Structs§

AddCommand
AddDnsProofCommand
ExportCommand
ExtendCommand
InitCommand
KeyRevocationTypeIter
An iterator over the variants of KeyRevocationType
ListCommand
MergeCommand
RevokeCommand
WkdTypeIter
An iterator over the variants of WkdType

Enums§

Commands
DnsCommand
Error
KeyRevocationType
Enum of understood key revocation types
ProofCommand
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