Frank Morgner
44694a0cf3
pkcs15-tool: implemented --clear-cache ( #873 )
2016-10-07 14:19:03 +02:00
Frank Morgner
8efca4d6db
pkcs15: don't require-L for file caching
...
File caching is done transparently when the user sets the config option.
2016-07-24 17:19:18 +02:00
Michael Ansel
da4446a822
Relax XML parsing regexes for bash_completion
...
Unnecessarily strict regex was failing for some unknown reason on OS X. Easier to just relax the regex than understand what's wrong (and then relax the regex).
Fixes #782
2016-06-09 14:34:31 -07:00
Frank Morgner
a1fbf46731
Merge pull request #714 from dengert/fix-Makefile.am
...
Compile from a separate build directory
2016-06-04 02:02:02 +02:00
Jakub Jelen
bdc840a520
Manual page for gids-tool
...
Related to https://github.com/OpenSC/OpenSC/pull/651
2016-05-16 11:00:40 +02:00
Jakub Jelen
972a93ab47
pkcs11-tool.1.xml: Add documentation for missing options in pkcs11-tool
2016-04-17 12:56:18 +02:00
Viktor Tarasov
4b51d70969
tools: print OpenSC package version
2016-03-28 20:41:19 +02:00
Doug Engert
82a841162a
Compile from a separate build directory
...
doc/toots/Makefile.am is missing a $(srcdir)
Changes to be committed:
modified: doc/tools/Makefile.am
2016-03-19 19:06:56 -05:00
Viktor Tarasov
36b945aa22
tools: print package revision
2016-03-04 14:16:06 +01:00
Chris Elledge
c56378b8ba
pkcs15-crypt: Document defaults of stdin/stdout.
2016-01-21 11:30:26 -05:00
Peter Marschall
6498721076
piv: fix typos in usage & man page
2015-10-15 12:51:19 +02:00
Nicolas Schneider
e9b1b2e9e8
update pkcs15 documentation to describe --raw option
2015-09-04 13:09:54 +02:00
Frank Morgner
5e352ea477
Merge pull request #504 from frankmorgner/find_tags
...
Find tags with GET DATA
2015-08-04 10:32:23 +02:00
Frank Morgner
97e41cb76a
added completion-template to distribution
...
fixes #505
2015-07-30 15:23:14 +02:00
Frank Morgner
24d91acf69
opensc-explorer: added command find_tags
2015-07-30 11:29:14 +02:00
Viktor Tarasov
f0189e8378
pkcs11-tool: option to 'decrypt some data'
2015-04-30 15:57:44 +02:00
Frank Morgner
de5c224201
silence some shell commands in Makefile
2015-04-23 00:12:37 +02:00
Viktor Tarasov
17eb40e5f9
doc: add 'signature-format' option for pkcs15-crypt
2015-04-15 09:47:15 +02:00
Dirk-Willem van Gulik
88ec461bc5
tool: RFC4716 compliant key output
...
Add a comment field to the ssh key output if a label is set on the key. Add RFC4716 compliant key output for the new breed of modern (mobile) SSH clients.
VTA: use short form of log call in iso7816
2015-03-31 19:09:25 +02:00
Lau bakman
1becc45c10
Updated dnie-tool.1.xml for consistency
...
Experienced a problem with dnie-tool where I would receive a warning with the content of /etc/bash_completion.d/dnie-tool.
The cause of the error was a missing case label which in turn was caused by the formatting of the dnie-tool.1.xml.
Options were formatted like <term><option--xarg, -x</option></term> which were not handled by the sed regular expression in the makefiles.
Modified the dnie-tool.1.xml file to be consistent with the other doc files and to generate the dnie-tool file correctly.
2015-03-11 18:22:56 +01:00
Frank Morgner
aa45685e0b
fixed documentation of dnie-tool
2014-11-04 22:23:01 +01:00
Frank Morgner
4459e146c4
use util_get_pin in tools
2014-11-04 22:07:07 +01:00
Sumedha Widyadharma
e63f40c2d3
tools: Add util_get_pin helper function
...
Using this helper PINs can be passed via the command line, stdin and an
environment variable.
For now only used in the openpgp tool.
closes #289
2014-11-04 21:54:41 +01:00
Hans-Christoph Steiner
d72324ddf5
generate bash completion scripts from XML doc files
...
This generates the scripts that lets bash do completion per specific tool.
It gets the options from the documentation XML files that are also the
source for the man pages and HTML.
2014-10-01 20:53:30 -04:00
Andreas Schwier
d1ba6164ad
sc-hsm: Added support for token label to be set via C_InitToken or sc-hsm-tool
2014-01-08 16:07:13 +01:00
Ludovic Rousseau
5979e2fed8
Add documentation for --list-token-slots, -T
2013-10-20 13:32:45 +02:00
Ludovic Rousseau
02727a1406
Merge pull request #168 from germanblanco/opendnie
...
Adding support for DNIe.
2013-08-27 01:52:55 -07:00
German Blanco
63ce563d76
Adding support for DNIe.
2013-06-13 17:31:56 +02:00
Martin Paljak
112092f7dd
Fix eidenv manual page: -n is actually -p
2013-05-08 15:22:33 +03:00
Frank Thater
20824e2124
sc-hsm-tool: Added threshold scheme parameters to manpage
2013-02-07 15:07:42 +01:00
Viktor Tarasov
4c1c39f3e4
opensc-tool: add 'call-SM-handler' command
...
'open' and 'close' handlers of the card's SM driver can be called
2013-01-06 13:13:08 +01:00
Andreas Schwier
ffb20e5916
sc-hsm: Added sc-hsm-tool with DKEK support and key wrap / unwrap
2012-11-11 12:53:03 +01:00
Viktor Tarasov
41861e42b0
no 'pace' in common part
...
'PACE' is extremely card specific protocol and has not to be ostensibly
present in the common part of OpenSC:
* currently in OpenSC there is no card driver that supports or uses this protocol;
* amazing content of the common 'sc_perform_pace' -- beside the verbose logs
the only substantial action is to call the card/reader specific handler.
According to the current sources and the pull request 83
this 'common' procedure is called by the card driver or
card specific tool/operation.
* currently the 'PACE' can be thouroghly tested only by one person (Frank Morgner),
and only using the OpenSSL patched with the PACE specific patch.
So, at least a dedicated configuration option could be introduced when comiting PACE to the common part.
* common 'sc_perfom_pace' has the same role as the 'initialize-SM' handler of the existing SM framework
and can be implemented as card specific SM, as the others cards do.
This confirmed by Frank Morgner, the author of PACE commits and nPA card driver, himself.
(https://github.com/OpenSC/OpenSC/pull/83 )
2012-08-30 18:51:42 +02:00
Peter Marschall
feb2b96127
opensc-explorer: allow filename-pattern as argument to 'ls'
...
Make ls more flexible and more similar to the UNIX ls.
2012-08-19 21:31:32 +02:00
Viktor Tarasov
2f3ace06ec
doc: #329 : explicit usage of --id for a new keys is deprecated
...
'Id' option in the pkcs15-init commands to import/generate a new key
is deprecated. Better s to let the MW to derive an identifier from
the key material.
2012-08-19 20:30:00 +02:00
Peter Marschall
ea8a64d95a
opensc-explorer: allow entering the PIN interactively
...
In VERIFY, allow the user to enter the PIN unteractively if it was not given
on the command line, and if the card reader does not support PIN input.
If it was not given on the command line and the card reader supports PIN input,
then the bahaviour is unchanged: enter PIN via card reader.
2012-08-11 20:48:58 +02:00
Nguyễn Hồng Quân
69e30ead89
openpgp-tool: Key generation support.
...
openpgp-tool: PIN verfication support.
openpgp-tool: Add notification in case of error.
openpgp-tool: Add manual for key generation and PIN verification.
2012-07-29 12:48:45 +02:00
Peter Marschall
4b9ca80434
tools docu: correct typo, improve style
2012-07-07 19:00:35 +02:00
Peter Marschall
8583197b6b
opensc-explorer docs: various improvements
...
* document the UNBLOCK function
* format the examples better, and explain what they do
* extend the documentation for CD
2012-07-07 19:00:26 +02:00
Peter Marschall
0b0aae8bc8
openpgp-tool: remove unnecessary commas in man page
2012-06-16 15:35:04 +02:00
Peter Marschall
56affa612f
pkcs15-tool: help text clean-up
...
"to be binded to " -> "to bind to"
2012-06-08 20:32:33 +02:00
Peter Marschall
387da4c793
opensc-explorer: document 'echo' command
2012-06-08 20:17:35 +02:00
Viktor Tarasov
d7022d3300
ias-ecc: add tool with IAS/ECC specific query operations
2012-06-01 16:58:39 +02:00
Peter Marschall
61ca69c251
OpenPGP: documentation for openpgp-tool
2012-05-30 09:39:12 +02:00
Peter Marschall
c58e94810b
opensc-explorer: update documentation
2012-05-30 09:39:12 +02:00
Peter Marschall
2efc9b76df
opensc-explorer: document new command line parameter SCRIPT
2012-05-30 09:39:11 +02:00
Frank Morgner
750d2e9121
cherry-picked from Frank Morgner OpenSC.git and rebased
...
opensc-explorer: documented `find`
opensc-explorer: documented `pace`
2012-05-16 15:45:08 +02:00
Peter Marschall
3b6c985cca
westcos-tool.1.xml: sort options alphabetically
2011-08-21 13:47:48 +02:00
Peter Marschall
56a1ab6769
pkcs15-tool.1.xml: sort options alphabetically
2011-08-21 13:47:48 +02:00
Peter Marschall
6b989aef57
pkcs15-init.1.xml: sort options alphabetically, slight rewording
2011-08-21 13:47:48 +02:00
Peter Marschall
6a6898a2ea
pkcs11-tool.1.xml: sort options alphabetically
2011-08-21 13:47:48 +02:00
Peter Marschall
bd85c8f472
opensc-tool.1.xml: sort options alphabetically
2011-08-21 13:47:48 +02:00
Peter Marschall
1df0340f57
netkey-tool.1.xml: sort options & commands alphabetically
2011-08-21 13:47:48 +02:00
Peter Marschall
55699b9d66
eidenv.1.xml: sort options alphabetically
2011-08-21 13:47:48 +02:00
Peter Marschall
6227e079cf
cryptoflex-tool.1.xml: sort options alphabetically
2011-08-21 13:47:48 +02:00
Peter Marschall
ea18c4a0d0
cardos-tool.1.xml: sort options alphabetically
2011-08-21 13:47:48 +02:00
Peter Marschall
ca0343de42
westcos-tool.1.xml: slight rewording
2011-08-21 13:47:48 +02:00
Peter Marschall
9f09113ab7
opensc-explorer.1.xml: sort options & commands alphabetically
2011-08-21 13:47:48 +02:00
Peter Marschall
d6a9cda78b
pkcs15-crypt.1.xml: sort options alphabetically
2011-08-21 13:47:48 +02:00
Peter Marschall
77d051ffc5
piv-tool.1.xml: more harmonization, slight re-wording
2011-08-21 13:47:48 +02:00
Peter Marschall
1bff1c1cc0
opensc-explorer.1.xml: fix typos, more harmonization
2011-08-21 13:47:48 +02:00
Peter Marschall
353067d7db
tools.xml: use 2 reference sections: tools & file formats
...
Split the contents into two reference sections:
on for tools and one for file formats.
2011-08-21 13:47:48 +02:00
Peter Marschall
a9c320f8f8
doc/tools/*.xml: more consistent formatting
...
uUse specific tags:
<command> for commands
<option> for options
<replaceable> for values that need to be replaced with real values
2011-08-21 13:47:48 +02:00
Peter Marschall
d3b865ee40
doc/tools/Makefile.am: substitute @pkgdatadir@
2011-08-21 13:47:48 +02:00
Peter Marschall
dbc5f75969
doc/tools/Makefile.am: new Makefile template for autotools
...
Created doc/tools/Makefile.am in order to generate a Makefile in doc/tools/.
Use pattern rules in doc/tools/Makefile.am; clean up doc/Makefile.am.
2011-08-21 13:47:41 +02:00
Peter Marschall
aa5974bf58
doc/tools/*.xml: include manpage sections in file names
...
Rename source XML files so that their names contain the manpage sections.
2011-08-20 16:54:35 +02:00
Peter Marschall
46389f543f
doc/tools/*.xml: add <refmiscinfo> class attributes
...
Use <refmiscinfo> with the class attributei values "productname","manual" and
"source".
This avoids some warnings when generating the manual pages.
2011-08-20 16:45:12 +02:00
Peter Marschall
4a3e9771e2
doc/tools/*.xml: use <citerefentry> in "See also" sections
...
Instead of using plain text, use machine-parsable <citerefentry> sections
to refer to other odcuments.
2011-08-20 15:07:59 +02:00
Peter Marschall
b628f14c13
doc/tools/*.xml: harmonize & complete <refmeta> sections
2011-08-20 15:07:59 +02:00
Peter Marschall
d25b30b702
doc/tools/*.xml: use <refsynopsisdiv> sections
...
Use <refsynopsisdiv> sections with <cmdsynopsis> tags for the synopsis
instead of plain <refsectX> sections. Create one where it was massing.
2011-08-20 15:07:59 +02:00
Peter Marschall
bb9ffa1bd3
piv-tool.xml: fix typo
2011-08-20 15:07:43 +02:00
Peter Marschall
d824eb62bc
pkcs15-profile.xml: remove empty SYNOPSIS section
2011-07-15 18:27:39 +02:00
vtarasov
f53b952176
doc: pkcs11-tool: precise description of the options to select a slot
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5544 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-02 19:29:15 +00:00
martin
215c133ba0
libopensc: remove more traces of software token/non-native private key related code.
...
pkcs15-wrap.c can be removed. Clarified/changed the meaning of "insecure" flag to pkcs15-init tool,
which will be needed to explicitly enforce the creation of a key which does not require a PIN.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5510 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-28 22:14:07 +00:00
vtarasov
1b7a320f45
doc: pkcs11-tool: precise the usage of 'write-object' argument
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5423 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-04 16:28:34 +00:00
martin
3637d60242
manpages: unify the look and feel of "See also" sections, removing references to missing manual pages.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5410 c6295689-39f2-0310-b995-f0e70906c6a9
2011-04-29 12:15:54 +00:00
vtarasov
e93dd598c2
doc: describe the 'verify-pin' option in pkcs15-tool documentation ...
...
Thanks to Juan Antonio.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5407 c6295689-39f2-0310-b995-f0e70906c6a9
2011-04-27 15:01:38 +00:00
martin
f8665b4405
manpages: add a rudimentary manual page for eidenv command. Fixes #339
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5371 c6295689-39f2-0310-b995-f0e70906c6a9
2011-04-19 11:19:47 +00:00
vtarasov
b85e1a798f
piv-tool: new action to print the key slots properties
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5324 c6295689-39f2-0310-b995-f0e70906c6a9
2011-04-11 12:02:47 +00:00
vtarasov
eb7bc552b1
piv: no 'usepin' authentication mode in PIV tools
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5323 c6295689-39f2-0310-b995-f0e70906c6a9
2011-04-11 11:55:00 +00:00
martin
d26d23ccfc
man pages: fix piv-tool XML syntax
...
tools/piv-tool.xml:28: parser error : Opening and ending tag mismatch: refsect1 line 21 and para
</para>
^
Thanks to Juan Antonio for noticing: http://www.opensc-project.org/pipermail/opensc-devel/2011-March/016227.html
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5276 c6295689-39f2-0310-b995-f0e70906c6a9
2011-03-30 10:36:17 +00:00
dengert
d77f1576ad
Add piv-tool.xml to list of man pages to be built
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5275 c6295689-39f2-0310-b995-f0e70906c6a9
2011-03-29 18:11:45 +00:00
dengert
6701d063c3
Add a piv-tool.xml for man page. See #338
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5274 c6295689-39f2-0310-b995-f0e70906c6a9
2011-03-29 18:08:22 +00:00
martin
4dde0476b1
Fix some of the spelling errors in westcos-tool man page and utility, triggered by lintian
...
I: opensc: spelling-error-in-manpage usr/share/man/man1/westcos-tool.1.gz authentification authentication
I: opensc: spelling-error-in-binary ./usr/bin/westcos-tool attemps attempts
Make text in westcos-tool manpage more readable, harmonize PIN/PUK capitalization.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5242 c6295689-39f2-0310-b995-f0e70906c6a9
2011-03-20 13:17:29 +00:00
martin
719bc293a1
Fix a typo reported by lintian
...
I: opensc: spelling-error-in-manpage usr/share/man/man1/netkey-tool.1.gz diplay display
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5240 c6295689-39f2-0310-b995-f0e70906c6a9
2011-03-20 12:19:06 +00:00
vtarasov
2f0b83eecd
pkcs15-tool: new action 'list-applications'
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5052 c6295689-39f2-0310-b995-f0e70906c6a9
2011-01-06 16:21:15 +00:00
vtarasov
b9e25370ab
tools: use 'aid' as the name of option to specify the on-card PKCS#15 application
...
; update documentation;
; debug messages;
; cleanup the authentic card profile.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5050 c6295689-39f2-0310-b995-f0e70906c6a9
2011-01-06 14:39:19 +00:00
martin
294a8bca3d
pkcs11-tool: pkcs11-tool --verbose does not affect OpenSC debugging. Document a workaround
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4748 c6295689-39f2-0310-b995-f0e70906c6a9
2010-09-21 16:11:36 +00:00
martin
72d961beb2
Fix #216 : initial go with multiple reader subsystem removal.
...
* One sc_context has only a single reader driver.
* remove dynamic reader driver loading capabilities
* remove opensc-tool -R command
* change the internal API, we don't need to pass around a "driver data" pointer as it can be found directly from the context.
* check in ./configure for only a single enabled reader driver
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4709 c6295689-39f2-0310-b995-f0e70906c6a9
2010-09-11 13:00:47 +00:00
martin
b99d420a9e
manpages: #102 : --change-pin also works for a PUK code.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4674 c6295689-39f2-0310-b995-f0e70906c6a9
2010-09-02 18:21:14 +00:00
martin
fc4dff1d12
Debian #451155 : Document pkcs15-init --update-certificate/-U in man page.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4660 c6295689-39f2-0310-b995-f0e70906c6a9
2010-08-31 01:24:53 +00:00
martin
9a63e03e9a
pkcs11/pkcs15-init: remove automagic software key generation. Remove software based secret key handling from PKCS#11.
...
Support for importing cleartext keys is left untouched, but all transparent key generation by either opensc-pkcs11.so or pkcs15-init is removed, to make the operation with cleartext keys visible to the user and his explicit wish.
OpenSC is a PKCS#11 library for accessing keys protected by a smart card. Key material in software is not protected by smart cards and can leave a false sense of security to the user.
http://www.opensc-project.org/pipermail/opensc-devel/2010-April/013877.html
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4646 c6295689-39f2-0310-b995-f0e70906c6a9
2010-08-23 14:47:07 +00:00
ep
6474853217
Support reading record files by SFI
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4641 c6295689-39f2-0310-b995-f0e70906c6a9
2010-08-21 20:12:59 +00:00
ep
4e726bd09b
Fix and document opensc-explorer's new -m, --mf option
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4637 c6295689-39f2-0310-b995-f0e70906c6a9
2010-08-20 22:51:39 +00:00
martin
578bbd2104
man: use --auth-id instead of bogus --pin-id in pkcs15-tool man page. [Ludolf Holzheid]
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4594 c6295689-39f2-0310-b995-f0e70906c6a9
2010-07-26 11:17:53 +00:00
flc
ed26525e93
update westcos-tools documentation with new options
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4337 c6295689-39f2-0310-b995-f0e70906c6a9
2010-05-11 14:35:38 +00:00
viktor.tarasov
a38e931b31
doc: little fix of opensc-explorer.xml
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4256 c6295689-39f2-0310-b995-f0e70906c6a9
2010-04-19 08:31:25 +00:00
viktor.tarasov
7813ba7130
doc: update 'opensc-explorer' documentation
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4246 c6295689-39f2-0310-b995-f0e70906c6a9
2010-04-17 19:03:53 +00:00
martin
847f162698
docs: the correct name is cardos-tool
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4231 c6295689-39f2-0310-b995-f0e70906c6a9
2010-04-13 11:29:42 +00:00
viktor.tarasov
ed8e498bb8
doc: in pkcs15-init.xml add usage case for '--verify-pin' option
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4141 c6295689-39f2-0310-b995-f0e70906c6a9
2010-03-19 09:41:10 +00:00