[openssh-commits] [openssh] 02/02: upstream: no-touch-required certificate option should be an extension, not a critical option.

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Feb 28 12:29:14 AEDT 2020


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

djm pushed a commit to branch V_8_2
in repository openssh.

commit e1dc1931cda704e544b80e438a1fd36f986aef2a
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Fri Feb 28 01:07:28 2020 +0000

    upstream: no-touch-required certificate option should be an
    extension, not a critical option.
    
    OpenBSD-Commit-ID: 626b22c5feb7be8a645e4b9a9bef89893b88600d
---
 ssh-keygen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ssh-keygen.c b/ssh-keygen.c
index 0d6ed1ff..bf325cd6 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -1678,7 +1678,7 @@ prepare_options_buf(struct sshbuf *c, int which)
 	if ((which & OPTIONS_EXTENSIONS) != 0 &&
 	    (certflags_flags & CERTOPT_USER_RC) != 0)
 		add_flag_option(c, "permit-user-rc");
-	if ((which & OPTIONS_CRITICAL) != 0 &&
+	if ((which & OPTIONS_EXTENSIONS) != 0 &&
 	    (certflags_flags & CERTOPT_NO_REQUIRE_USER_PRESENCE) != 0)
 		add_flag_option(c, "no-touch-required");
 	if ((which & OPTIONS_CRITICAL) != 0 &&

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


More information about the openssh-commits mailing list