summaryrefslogtreecommitdiff
path: root/usr.bin/sectok/sectok.1
diff options
context:
space:
mode:
authorJim Rees <rees@cvs.openbsd.org>2001-07-26 20:00:17 +0000
committerJim Rees <rees@cvs.openbsd.org>2001-07-26 20:00:17 +0000
commit748c8c2019a1455a8a0993f4b871ea1fac321d72 (patch)
treef0b2c6659e4289ab0f9097d30dc78c10519b047e /usr.bin/sectok/sectok.1
parent4f1c7ae0bf80ce651ae1967085139bb4c04b8148 (diff)
Use registration category 'F' for textual aids (see 7816-5 sec 5.2.4)
Use better defaults for progID and contID work on the man page
Diffstat (limited to 'usr.bin/sectok/sectok.1')
-rw-r--r--usr.bin/sectok/sectok.140
1 files changed, 23 insertions, 17 deletions
diff --git a/usr.bin/sectok/sectok.1 b/usr.bin/sectok/sectok.1
index 427082b7ac1..46c2e08c850 100644
--- a/usr.bin/sectok/sectok.1
+++ b/usr.bin/sectok/sectok.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sectok.1,v 1.3 2001/07/26 11:15:25 jakob Exp $
+.\" $OpenBSD: sectok.1,v 1.4 2001/07/26 20:00:16 rees Exp $
.\"
.\" Copyright (C) 2001, Jakob Schlyter. All rights reserved.
.\"
@@ -52,7 +52,7 @@ Select port.
Run commands from scriptfile.
.Pp
.It Fl s Ar sleeptime
-Set sleep between commands in the script.
+Set sleep (in milliseconds) between commands in the script.
.El
.Sh COMMANDS
.Ss Non-card commands
@@ -60,6 +60,10 @@ Set sleep between commands in the script.
.Bl -tag -width Ds
.It Xo
.Cm help
+.Xc
+List all commands.
+.It Xo
+.Cm help
.Op command
.Xc
Show help for
@@ -112,12 +116,12 @@ Send APDU to smartcard.
.It Xo
.Cm fid
.Op Fl v
-.Ar fid
+.Ar fid/aid
.Xc
-Select file identified by
-.Ar fid .
-.Ar fid
-can be a numeric fid such as 3f00 or a two character name.
+Select file or aid identified by
+.Ar fid/aid .
+.Ar fid/aid
+can be a numeric fid such as 3f00, a two character name, or an aid in hex or ascii.
.It Xo
.Cm isearch
.Xc
@@ -126,15 +130,18 @@ Try all 256 possible instructions and print results.
.Cm class
.Op Ar class
.Xc
+Inquire or set default application class.
.It Xo
.Cm read
.Op Fl x
.Ar filesize
.Xc
+Read selected fid and write to stdout.
.It Xo
.Cm write
.Ar input-filename
.Xc
+Read from input-filename and write to selected fid.
.El
.Ss Cyberflex commands
.Pp
@@ -190,6 +197,11 @@ Print useful info about the card
.Op Fl v
.Op Fl x Ar hex-aut0
.Xc
+"login" (verify AUT0 key)
+.Bl -tag -width Ds
+.It Fl d
+use manufacturer's default AUT0 key
+.El
.It Xo
.Cm jload
.Op Fl p Ar progID
@@ -197,17 +209,11 @@ Print useful info about the card
.Op Fl s Ar cont_size
.Op Fl i Ar inst_size
.Op Fl v
-.Op Fl a Ar filename
-.Xc
-.It Xo
-.Cm jlogin
-.Op Fl d
+.Op Fl a Ar aid
+.Ar filename
.Xc
-"login" (verify AUT0 key)
-.Bl -tag -width Ds
-.It Fl d
-use manufacturer's default AUT0 key
-.El
+Load an applet to the card.
+If the first byte of the aid is '#' it will be converted to 0xfc.
.It Xo
.Cm junload
.Op Fl p Ar progID