summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2012-01-18 16:25:56 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2012-01-18 16:25:56 +0000
commit17ab5c68a2a040c52d947edf5e1de3c59d0b105f (patch)
treed753fd9fa2714c2ad980291f45dc47e97b4d4634
parent645b6b36bd2300c871a3494121643596b8fd2483 (diff)
tweak previous;
-rw-r--r--libexec/login_yubikey/login_yubikey.827
1 files changed, 13 insertions, 14 deletions
diff --git a/libexec/login_yubikey/login_yubikey.8 b/libexec/login_yubikey/login_yubikey.8
index d2fbcbe41fb..14f378df5a9 100644
--- a/libexec/login_yubikey/login_yubikey.8
+++ b/libexec/login_yubikey/login_yubikey.8
@@ -1,20 +1,20 @@
-.\" $OpenBSD: login_yubikey.8,v 1.1 2012/01/18 15:49:46 dhill Exp $
-.\" $Id: login_yubikey.8,v 1.1 2012/01/18 15:49:46 dhill Exp $
+.\" $OpenBSD: login_yubikey.8,v 1.2 2012/01/18 16:25:55 jmc Exp $
+.\" $Id: login_yubikey.8,v 1.2 2012/01/18 16:25:55 jmc Exp $
.\"
.\" Copyright (c) 2010 Daniel Hartmeier <daniel@benzedrine.cx>
.\" All rights reserved.
-.\"
+.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
-.\"
+.\"
.\" - Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" - Redistributions in binary form must reproduce the above
.\" copyright notice, this list of conditions and the following
.\" disclaimer in the documentation and/or other materials provided
.\" with the distribution.
-.\"
+.\"
.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
.\" "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
@@ -27,7 +27,7 @@
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
-.\"
+.\"
.Dd $Mdocdate: January 18 2012 $
.Dt LOGIN_YUBIKEY 8
.Os
@@ -73,7 +73,7 @@ argument is accepted for consistency with the other login scripts but
is not used.
.Pp
.Nm
-will read the user's uid (12 hex digits) from the file
+will read the user's UID (12 hex digits) from the file
.Em user.uid ,
the user's key (32 hex digits) from
.Em user.key ,
@@ -85,7 +85,7 @@ directory.
.Pp
If
.Ar user
-does not have a uid or key, the login is rejected.
+does not have a UID or key, the login is rejected.
If
.Ar user
does not have a last-use counter, a value of zero is used and
@@ -97,11 +97,11 @@ After the decryption, the checksum embedded in the one-time password
is verified.
If the checksum is not valid, the login is rejected.
.Pp
-If the checksum is valid, the uid embedded in the one-time password
-is compared against the user's uid.
-If the uid does not match, the login is rejected.
+If the checksum is valid, the UID embedded in the one-time password
+is compared against the user's UID.
+If the UID does not match, the login is rejected.
.Pp
-If the uid matches, the use counter embedded in the one-time password
+If the UID matches, the use counter embedded in the one-time password
is compared to the last-use counter.
If the counter is less than or equal to the last-use counter, the
login is rejected.
@@ -109,11 +109,10 @@ This indicates a replay attack.
.Pp
If the counter is larger than the last-use counter, the counter
is stored as the new last-use counter, and the login is accepted.
-.Pp
.Sh FILES
.Bl -tag -width /var/db/yubikey
.It Pa /var/db/yubikey
-directory containing user entries for Yubikey
+Directory containing user entries for Yubikey.
.El
.Sh SEE ALSO
.Xr login 1 ,