summaryrefslogtreecommitdiff
path: root/ssh-keygen.1
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2020-01-23 23:31:52 +0000
committerDamien Miller <djm@mindrot.org>2020-01-25 11:27:29 +1100
commit72a8bea2d748c8bd7f076a8b39a52082c79ae95f (patch)
tree14bea4a63d81af371d75708384811f5829a38267 /ssh-keygen.1
parent0585b5697201f5d8b32e6f1b0fee7e188268d30d (diff)
upstream: ssh-keygen -Y find-principals fixes based on feedback
from Markus: use "principals" instead of principal, as allowed_signers lines may list multiple. When the signing key is a certificate, emit only principals that match the certificate principal list. NB. the command -Y name changes: "find-principal" => "find-principals" ok markus@ OpenBSD-Commit-ID: ab575946ff9a55624cd4e811bfd338bf3b1d0faf
Diffstat (limited to 'ssh-keygen.1')
-rw-r--r--ssh-keygen.111
1 files changed, 6 insertions, 5 deletions
diff --git a/ssh-keygen.1 b/ssh-keygen.1
index 5d33902f7..b4a873920 100644
--- a/ssh-keygen.1
+++ b/ssh-keygen.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ssh-keygen.1,v 1.195 2020/01/23 07:16:38 jmc Exp $ 1.\" $OpenBSD: ssh-keygen.1,v 1.196 2020/01/23 23:31:52 djm Exp $
2.\" 2.\"
3.\" Author: Tatu Ylonen <ylo@cs.hut.fi> 3.\" Author: Tatu Ylonen <ylo@cs.hut.fi>
4.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -138,7 +138,7 @@
138.Fl f Ar krl_file 138.Fl f Ar krl_file
139.Ar 139.Ar
140.Nm ssh-keygen 140.Nm ssh-keygen
141.Fl Y Cm find-principal 141.Fl Y Cm find-principals
142.Fl s Ar signature_file 142.Fl s Ar signature_file
143.Fl f Ar allowed_signers_file 143.Fl f Ar allowed_signers_file
144.Nm ssh-keygen 144.Nm ssh-keygen
@@ -618,8 +618,8 @@ The maximum is 3.
618Specifies a path to a library that will be used when creating 618Specifies a path to a library that will be used when creating
619FIDO authenticator-hosted keys, overriding the default of using 619FIDO authenticator-hosted keys, overriding the default of using
620the internal USB HID support. 620the internal USB HID support.
621.It Fl Y Cm find-principal 621.It Fl Y Cm find-principals
622Find the principal associated with the public key of a signature, 622Find the principal(s) associated with the public key of a signature,
623provided using the 623provided using the
624.Fl s 624.Fl s
625flag in an authorized signers file provided using the 625flag in an authorized signers file provided using the
@@ -628,7 +628,8 @@ flag.
628The format of the allowed signers file is documented in the 628The format of the allowed signers file is documented in the
629.Sx ALLOWED SIGNERS 629.Sx ALLOWED SIGNERS
630section below. 630section below.
631If a matching principal is found, it is returned on standard output. 631If one or more matching principals are found, they are returned on
632standard output.
632.It Fl Y Cm check-novalidate 633.It Fl Y Cm check-novalidate
633Checks that a signature generated using 634Checks that a signature generated using
634.Nm 635.Nm