[openssh-commits] [openssh] 02/07: upstream: rename recently-added "valid-before" key restriction to

git+noreply at mindrot.org git+noreply at mindrot.org
Wed Mar 14 18:56:05 AEDT 2018


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit abc0fa38c9bc136871f28e452c3465c3051fc785
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Wed Mar 14 05:35:40 2018 +0000

    upstream: rename recently-added "valid-before" key restriction to
    
    "expiry-time" as the former is confusing wrt similar terminology in X.509;
    pointed out by jsing@
    
    OpenBSD-Commit-ID: 376939466a1f562f3950a22314bc6505733aaae6
---
 auth-options.c | 4 ++--
 sshd.8         | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/auth-options.c b/auth-options.c
index 38211fa2..b528c197 100644
--- a/auth-options.c
+++ b/auth-options.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth-options.c,v 1.77 2018/03/12 00:52:01 djm Exp $ */
+/* $OpenBSD: auth-options.c,v 1.78 2018/03/14 05:35:40 djm Exp $ */
 /*
  * Copyright (c) 2018 Damien Miller <djm at mindrot.org>
  *
@@ -367,7 +367,7 @@ sshauthopt_parse(const char *opts, const char **errstrp)
 			    &errstr);
 			if (ret->required_from_host_keys == NULL)
 				goto fail;
-		} else if (opt_match(&opts, "valid-before")) {
+		} else if (opt_match(&opts, "expiry-time")) {
 			if ((opt = opt_dequote(&opts, &errstr)) == NULL)
 				goto fail;
 			if (parse_absolute_time(opt, &valid_before) != 0 ||
diff --git a/sshd.8 b/sshd.8
index f973cc38..6f5ad0f8 100644
--- a/sshd.8
+++ b/sshd.8
@@ -33,8 +33,8 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $OpenBSD: sshd.8,v 1.297 2018/03/12 00:52:01 djm Exp $
-.Dd $Mdocdate: March 12 2018 $
+.\" $OpenBSD: sshd.8,v 1.298 2018/03/14 05:35:40 djm Exp $
+.Dd $Mdocdate: March 14 2018 $
 .Dt SSHD 8
 .Os
 .Sh NAME
@@ -602,7 +602,7 @@ Enables execution of
 previously disabled by the
 .Cm restrict
 option.
-.It Cm valid-before="timespec"
+.It Cm expiry-time="timespec"
 Specifies a time after which the key will not be accepted.
 The time may be specified as a YYYYMMDD date or a YYYYMMDDHHMM[SS] time
 in the system time-zone.

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list