|
Lines 511-518
Print the full public key to standard output after signature verification.
Link Here
|
| 511 |
.It Cm verify-time Ns = Ns Ar timestamp |
511 |
.It Cm verify-time Ns = Ns Ar timestamp |
| 512 |
Specifies a time to use when validating signatures instead of the current |
512 |
Specifies a time to use when validating signatures instead of the current |
| 513 |
time. |
513 |
time. |
| 514 |
The time may be specified as a date in YYYYMMDD format or a time |
514 |
The time may be specified as a date or time in the YYYYMMDD[Z] or |
| 515 |
in YYYYMMDDHHMM[SS] format. |
515 |
in YYYYMMDDHHMM[SS][Z] formats. |
|
|
516 |
Dates and times will be interpreted in the current system time zone unless |
| 517 |
suffixed with a Z character, which causes them to be interpreted in the |
| 518 |
UTC time zone. |
| 516 |
.El |
519 |
.El |
| 517 |
.Pp |
520 |
.Pp |
| 518 |
The |
521 |
The |
|
Lines 603-633
A validity interval may consist of a single time, indicating that the
Link Here
|
| 603 |
certificate is valid beginning now and expiring at that time, or may consist |
606 |
certificate is valid beginning now and expiring at that time, or may consist |
| 604 |
of two times separated by a colon to indicate an explicit time interval. |
607 |
of two times separated by a colon to indicate an explicit time interval. |
| 605 |
.Pp |
608 |
.Pp |
| 606 |
The start time may be specified as the string |
609 |
The start time may be specified as: |
|
|
610 |
.Bl -bullet -compact |
| 611 |
.It |
| 612 |
The string |
| 607 |
.Dq always |
613 |
.Dq always |
| 608 |
to indicate the certificate has no specified start time, |
614 |
to indicate the certificate has no specified start time. |
| 609 |
a date in YYYYMMDD format, a time in YYYYMMDDHHMM[SS] format, |
615 |
.It |
| 610 |
a relative time (to the current time) consisting of a minus sign followed by |
616 |
A date or time in the system time zone formatted as YYYYMMDD or |
| 611 |
an interval in the format described in the |
617 |
YYYYMMDDHHMM[SS]. |
|
|
618 |
.It |
| 619 |
A date or time in the UTC time zone as YYYYMMDDZ or YYYYMMDDHHMM[SS]Z. |
| 620 |
.It |
| 621 |
A relative time before the current system time consisting of a minus sign |
| 622 |
followed by an interval in the format described in the |
| 612 |
TIME FORMATS section of |
623 |
TIME FORMATS section of |
| 613 |
.Xr sshd_config 5 . |
624 |
.Xr sshd_config 5 . |
|
|
625 |
.It |
| 626 |
A raw seconds since epoch (Jan 1 1970 00:00:00 UTC) as a hexadecimal |
| 627 |
number beginning with |
| 628 |
.Dq 0x . |
| 629 |
.El |
| 614 |
.Pp |
630 |
.Pp |
| 615 |
The end time may be specified as a YYYYMMDD date, a YYYYMMDDHHMM[SS] time, |
631 |
The end time may be specified similarly to the start time: |
| 616 |
a relative time starting with a plus character or the string |
632 |
.Bl -bullet -compact |
|
|
633 |
.It |
| 634 |
The string |
| 617 |
.Dq forever |
635 |
.Dq forever |
| 618 |
to indicate that the certificate has no expiry date. |
636 |
to indicate the certificate has no specified end time. |
|
|
637 |
.It |
| 638 |
A date or time in the system time zone formatted as YYYYMMDD or |
| 639 |
YYYYMMDDHHMM[SS]. |
| 640 |
.It |
| 641 |
A date or time in the UTC time zone as YYYYMMDDZ or YYYYMMDDHHMM[SS]Z. |
| 642 |
.It |
| 643 |
A relative time after the current system time consisting of a plus sign |
| 644 |
followed by an interval in the format described in the |
| 645 |
TIME FORMATS section of |
| 646 |
.Xr sshd_config 5 . |
| 647 |
.It |
| 648 |
A raw seconds since epoch (Jan 1 1970 00:00:00 UTC) as a hexadecimal |
| 649 |
number beginning with |
| 650 |
.Dq 0x . |
| 651 |
.El |
| 619 |
.Pp |
652 |
.Pp |
| 620 |
For example: |
653 |
For example: |
| 621 |
.Dq +52w1d |
654 |
.Bl -tag -width Ds |
| 622 |
(valid from now to 52 weeks and one day from now), |
655 |
.It +52w1d |
| 623 |
.Dq -4w:+4w |
656 |
Valid from now to 52 weeks and one day from now. |
| 624 |
(valid from four weeks ago to four weeks from now), |
657 |
.It -4w:+4w |
| 625 |
.Dq 20100101123000:20110101123000 |
658 |
Valid from four weeks ago to four weeks from now. |
| 626 |
(valid from 12:30 PM, January 1st, 2010 to 12:30 PM, January 1st, 2011), |
659 |
.It 20100101123000:20110101123000 |
| 627 |
.Dq -1d:20110101 |
660 |
Valid from 12:30 PM, January 1st, 2010 to 12:30 PM, January 1st, 2011. |
| 628 |
(valid from yesterday to midnight, January 1st, 2011), |
661 |
.It 20100101123000Z:20110101123000Z |
| 629 |
.Dq -1m:forever |
662 |
Similar, but interpreted in the UTC time zone rather than the system time zone. |
| 630 |
(valid from one minute ago and never expiring). |
663 |
.It -1d:20110101 |
|
|
664 |
Valid from yesterday to midnight, January 1st, 2011. |
| 665 |
.It 0x1:0x2000000000 |
| 666 |
Valid from roughly early 1970 to May 2033. |
| 667 |
.It -1m:forever |
| 668 |
Valid from one minute ago and never expiring. |
| 669 |
.El |
| 631 |
.It Fl v |
670 |
.It Fl v |
| 632 |
Verbose mode. |
671 |
Verbose mode. |
| 633 |
Causes |
672 |
Causes |
|
Lines 1206-1212
signature object and presented on the verification command-line must
Link Here
|
| 1206 |
match the specified list before the key will be considered acceptable. |
1245 |
match the specified list before the key will be considered acceptable. |
| 1207 |
.It Cm valid-after Ns = Ns "timestamp" |
1246 |
.It Cm valid-after Ns = Ns "timestamp" |
| 1208 |
Indicates that the key is valid for use at or after the specified timestamp, |
1247 |
Indicates that the key is valid for use at or after the specified timestamp, |
| 1209 |
which may be a date in YYYYMMDD format or a time in YYYYMMDDHHMM[SS] format. |
1248 |
which may be a date or time in the YYYYMMDD[Z] or YYYYMMDDHHMM[SS][Z] formats. |
|
|
1249 |
Dates and times will be interpreted in the current system time zone unless |
| 1250 |
suffixed with a Z character, which causes them to be interpreted in the UTC |
| 1251 |
time zone. |
| 1210 |
.It Cm valid-before Ns = Ns "timestamp" |
1252 |
.It Cm valid-before Ns = Ns "timestamp" |
| 1211 |
Indicates that the key is valid for use at or before the specified timestamp. |
1253 |
Indicates that the key is valid for use at or before the specified timestamp. |
| 1212 |
.El |
1254 |
.El |