From: Simon Josefsson Date: Mon, 10 Aug 2009 08:28:16 +0000 (+0000) Subject: Add man page for ykpersonalize. X-Git-Tag: yubikey-personalisation_1.3.5-1~4^2~113 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b21f5b9187879b04d4a2dd07e5659db975acb039;p=yubikey-personalization.old Add man page for ykpersonalize. Patch from Tollef Fog Heen . --- diff --git a/Makefile.am b/Makefile.am index dcf2b09..ed21343 100644 --- a/Makefile.am +++ b/Makefile.am @@ -54,6 +54,8 @@ bin_PROGRAMS = ykpersonalize ykpersonalize_SOURCES = ykpersonalize.c ykpersonalize_LDADD = ./libykpers.la ./ykcore/libykcore.la +man1_MANS = ykpersonalize.1 + # Self tests. AM_LDFLAGS = -no-install diff --git a/NEWS b/NEWS index cb864f1..5da46db 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,9 @@ Yubikey-personalize NEWS -- History of user-visible changes. -*- outline -*- ** Improve error handling for libusb-1.0 backend. Thanks to Tollef Fog Heen. +** Added man page for ykpersonalize. +Thanks to Tollef Fog Heen. + * Version 0.93 (released 2009-08-07) ** Support for libusb-1.0 through --with-backend=libusb-1.0. diff --git a/ykpersonalize.1 b/ykpersonalize.1 new file mode 100644 index 0000000..09957ea --- /dev/null +++ b/ykpersonalize.1 @@ -0,0 +1,124 @@ +.\" Copyright (C) 2009 Tollef Fog Heen +.\" 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 FOR +.\" A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +.\" OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +.\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 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. +.\" +.\" The following commands are required for all man pages. +.de URL +\\$2 \(laURL: \\$1 \(ra\\$3 +.. +.if \n[.g] .mso www.tmac +.TH ykpersonalize "1" "August 2009" "yubikey-personalization" +.SH NAME +ykpersonalize - personalize Yubikey OTP tokens +.SH SYNOPSIS +.B ykpersonalize +[\fI-sfile\fR] [\fI-ifile\fR] [\fI-axxx\fR] [\fI-ooption\fR] [\fI-v\fR] [\fI-h\fR] +.\".SH DESCRIPTION +.\" Add any additional description here +.SH OPTIONS +.PP +Set the AES key, user ID and other settings in a Yubikey. +.TP +\fB\-s\fIfile\fR +save configuration to file instead of key. +(if file is -, send to stdout) +.TP +\fB\-i\fIfile\fR +read configuration from file. +(if file is -, read from stdin) +.TP +\fB\-a\fIxxx\fR +A 32 char hex value (not modhex) of a fixed AES key to use. +.TP +\fB\-o\fIoption\fR +change configuration option. Possible option arguments are +.RS +.TP +\fBsalt\fR=\fIssssssss\fR +Salt to be used for key generation. +If none is given, a unique random one will be generated. +.TP +\fBfixed\fR=\fIfffffffffff\fR +The public modhex identity of key, 0-16 characters long. +.TP +\fBhexfixed\fR=\fIfffffff\fR +Fixed part, but encoded in hex, 0-16 characters long. +.TP +\fBuid\fR=\fIuuuuuu\fR +The uid part of the generated ticket. +Must be 12 characters long. +.TP +[\-]\fBtab-first\fR +Set/clear the TAB_FIRST ticket flag. +.TP +[\-]\fBappend-tab1\fR +Set/clear the APPEND_TAB1 ticket flag. +.TP +[\-]\fBappend-tab2\fR +Set/clear the APPEND_TAB2 ticket flag. +.TP +[\-]\fBappend-delay1\fR +Set/clear the APPEND_DELAY1 ticket flag. +.TP +[\-]\fBappend-delay2\fR +Set/clear the APPEND_DELAY2 ticket flag. +.TP +[\-]\fBappend-cr\fR +Set/clear the APPEND_CR ticket flag. +.TP +[\-]\fBsend-ref\fR +Set/clear the SEND_REF configuration flag. +.TP +[\-]\fBticket-first\fR +Set/clear the TICKET_FIRST configuration flag, only available with Yubikey I +.TP +[\-]\fBpacing-10ms\fR +Set/clear the PACING_10MS configuration flag. +.TP +[\-]\fBpacing-20ms\fR +Set/clear the PACING_20MS configuration flag. +.TP +[\-]\fBallow-hidtrig\fR +Set/clear the ALLOW_HIDTRIG configuration flag, only available with Yubikey I +.TP +[\-]\fBstatic-ticket\fR +Set/clear the STATIC_TICKET configuration flag. +.RE +.TP +\fB-v\fR +Be more verbose +.TP +\fB-h\fR +Help +.SH BUGS +Report ykpersonalize bugs in +.URL "http://code.google.com/p/yubikey-personalization/issues/list" "the issue tracker" +.SH "SEE ALSO" +The +.URL "http://code.google.com/p/yubikey-personalization/" "ykpersonalize home page" +.br +Yubikeys can be obtained from +.URL "http://www.yubico.com/products/yubikey/" "Yubico" "."