.ie \n(.g .ds Aq \(aq .el .ds Aq ' .TH sshd-openpgp-auth-extend 1 "sshd-openpgp-auth-extend " .SH NAME sshd\-openpgp\-auth\-extend \- Extend the expiration period of an OpenPGP certificate .SH SYNOPSIS \fBsshd\-openpgp\-auth extend\fR [\fB\-e\fR|\fB\-\-expiry\fR] [\fB\-f\fR|\fB\-\-fingerprint\fR] [\fB\-o\fR|\fB\-\-openpgp\-dir\fR] [\fB\-s\fR|\fB\-\-stdout\fR] [\fB\-T\fR|\fB\-\-threshold\fR] [\fB\-t\fR|\fB\-\-time\fR] [\fB\-h\fR|\fB\-\-help\fR] .SH DESCRIPTION Extend the expiration period of an OpenPGP certificate .PP By default this command extends the expiration period of an OpenPGP certificate by 365 days from now, if the certificate would expire within the next 250 days. If more than one OpenPGP certificate is found in the target directory, an OpenPGP fingerprint must be specified. Optionally, the reference time, expiration period and threshold may be provided. Additionally, the certificate may be written to stdout instead of a file. .SH OPTIONS .TP \fB\-e\fR, \fB\-\-expiry\fR=\fIEXPIRY\fR The expiry period in days from reference time (defaults to 365) .RS May also be specified with the \fBSOA_EXPIRY\fR environment variable. .RE .TP \fB\-f\fR, \fB\-\-fingerprint\fR=\fIFINGERPRINT\fR An OpenPGP fingerprint to identify a specific certificate .RS May also be specified with the \fBSOA_FINGERPRINT\fR environment variable. .RE .TP \fB\-o\fR, \fB\-\-openpgp\-dir\fR=\fIDIR\fR A custom directory in which to look for OpenPGP certificates (defaults to "/var/lib/sshd\-openpgp\-auth/") .RS May also be specified with the \fBSOA_OPENPGP_DIR\fR environment variable. .RE .TP \fB\-s\fR, \fB\-\-stdout\fR Output the OpenPGP certificate to stdout instead of a file .TP \fB\-T\fR, \fB\-\-threshold\fR=\fITHRESHOLD\fR A custom threshold in days from reference time, after which expiry period is extended (defaults to 250) .RS May also be specified with the \fBSOA_THRESHOLD\fR environment variable. .RE .TP \fB\-t\fR, \fB\-\-time\fR=\fITIME\fR A custom reference time formatted as an RFC3339 string (defaults to now) .RS May also be specified with the \fBSOA_TIME\fR environment variable. .RE .TP \fB\-h\fR, \fB\-\-help\fR Print help (see a summary with \*(Aq\-h\*(Aq)