Commit Graph

211 Commits

Author SHA1 Message Date
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
viktor.tarasov 07a0f74ec4 man: in pkcs15-tool man page add 'list-data', 'read-data' actions and update 'list' private objects
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4140 c6295689-39f2-0310-b995-f0e70906c6a9
2010-03-19 09:19:21 +00:00
martin 6f887e5b62 #185: drop opensc-config. If required, pkg-config and libopensc.pc can be used instead.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4070 c6295689-39f2-0310-b995-f0e70906c6a9
2010-02-24 12:20:59 +00:00
martin 9d603a61e8 manpages: Clarify pkcs15-init --erase-card usage. Fix XML structure from [4012]
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4052 c6295689-39f2-0310-b995-f0e70906c6a9
2010-02-21 09:08:13 +00:00
aj 485d455fb9 Debian bug report 505396:
-P is not --store-public-key, but --store-pin.
I simply remove the short form "-P" for now (didn't find a good place
to add it).


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4012 c6295689-39f2-0310-b995-f0e70906c6a9
2010-02-10 07:59:16 +00:00
aj f621238ff5 AFAIK the default format is PEM, not DER.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4011 c6295689-39f2-0310-b995-f0e70906c6a9
2010-02-10 07:44:55 +00:00
martin 533a33521f * Update opensc-tool and opensc-explorer man pages
* Remove not implemented pksign/pkdecrypt commands from opensc-explorer. Use pkcs15-crypt instead.


git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3843 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 14:51:32 +00:00
martin 0eac0fb14c Fix #58: properly document "pkcs15-init -T"
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3841 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 12:25:18 +00:00
martin d3201511c7 r3717:3719 from trunk
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3720 c6295689-39f2-0310-b995-f0e70906c6a9
2009-09-12 11:46:00 +00:00
ludovic.rousseau f640522270 cardos-info is now cardos-tool
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3578 c6295689-39f2-0310-b995-f0e70906c6a9
2008-10-09 08:32:14 +00:00
aj 5c29dcdb94 commit changes: cardos-info is now cardos-tool.
and it knows to format, at least some cards/tokens with cardos.


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3566 c6295689-39f2-0310-b995-f0e70906c6a9
2008-09-18 17:44:54 +00:00
aj 021dfaccba rename files only.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3565 c6295689-39f2-0310-b995-f0e70906c6a9
2008-09-18 17:43:38 +00:00
alonbl 0a809dd5cb Complete rewrite of OpenSC build system.
1.  Build system now supports MinGW (Windows) compilation using msys and cross compilation.
2.  Ability to explicitly disable and enable dependencies of the package.
3.  openct, pcsc and nsplugins features are disabled by default.
4.  Modified pcsc driver to use pcsc dynamically, no compile time dependency is required.
5.  --enable-pcsc-lite configuration option renamed to --enable-pcsc.
6.  Install opensc.conf file (as opensc.conf.new if opensc.conf exists).
7.  Add--enable-doc configuration option, allow installing documentation into target.
8.  Add --disable-man configuration option, allow msys mingw32 users to
    build from svn without extra dependencies.
9.  Add export files to each library in order to export only required symbols.
    Windows native build may use these files instead of scanning objects' symbols.
10. Add opensc-tool --info to display some general information about the build.
11. Create compatibility library to be linked against library instread of recompiling the
    same source files in different places.
12. Add different win32 version resource to each class of outputs.
13. Make xsl-stylesheets location selectable.
14. Some win32 fixups.
15. Some warning fixups.
16. Many other autoconf/automake cleanups.

Alon Bar-Lev

svn diff -r 3315:3399 https://www.opensc-project.org/svn/opensc/branches/alonbl/mingw

_M   .
D    configure.in
_M   src
_M   src/openssh
M    src/openssh/Makefile.am
_M   src/tools
M    src/tools/rutoken-tool.c
M    src/tools/opensc-tool.c
M    src/tools/cardos-info.c
M    src/tools/pkcs15-crypt.c
M    src/tools/pkcs15-init.c
M    src/tools/piv-tool.c
M    src/tools/netkey-tool.c
M    src/tools/eidenv.c
M    src/tools/cryptoflex-tool.c
M    src/tools/util.c
M    src/tools/pkcs11-tool.c
M    src/tools/pkcs15-tool.c
M    src/tools/util.h
M    src/tools/opensc-explorer.c
M    src/tools/Makefile.am
_M   src/pkcs11
M    src/pkcs11/pkcs11-global.c
M    src/pkcs11/framework-pkcs15.c
M    src/pkcs11/mechanism.c
M    src/pkcs11/pkcs11-display.c
M    src/pkcs11/pkcs11-object.c
A    src/pkcs11/opensc-pkcs11.exports
M    src/pkcs11/sc-pkcs11.h
M    src/pkcs11/pkcs11-spy.c
M    src/pkcs11/openssl.c
M    src/pkcs11/Makefile.am
A    src/pkcs11/pkcs11-spy.exports
_M   src/tests
_M   src/tests/regression
M    src/tests/regression/Makefile.am
M    src/tests/sc-test.c
M    src/tests/pintest.c
M    src/tests/Makefile.am
_M   src/include
_M   src/include/opensc
M    src/include/opensc/Makefile.am
A    src/include/opensc/svnignore
M    src/include/Makefile.am
_M   src/signer
_M   src/signer/npinclude
M    src/signer/npinclude/Makefile.am
M    src/signer/Makefile.am
A    src/signer/signer.exports
_M   src/common
A    src/common/compat_dummy.c
D    src/common/getopt.txt
D    src/common/strlcpy.c
D    src/common/LICENSE
A    src/common/compat_getopt.txt
A    src/common/compat_strlcpy.c
A    src/common/LICENSE.compat_getopt
A    src/common/compat_getopt.c
D    src/common/strlcpy.h
D    src/common/ChangeLog
D    src/common/getpass.c
D    src/common/my_getopt.c
A    src/common/compat_strlcpy.h
A    src/common/compat_getpass.c
A    src/common/compat_getopt.h
A    src/common/ChangeLog.compat_getopt
D    src/common/README.strlcpy
D    src/common/my_getopt.h
A    src/common/compat_getpass.h
A    src/common/README.compat_strlcpy
D    src/common/strlcpy.3
A    src/common/README.compat_getopt
D    src/common/getopt.3
D    src/common/README.my_getopt
A    src/common/compat_strlcpy.3
A    src/common/compat_getopt.3
M    src/common/Makefile.am
M    src/Makefile.am
_M   src/pkcs15init
M    src/pkcs15init/pkcs15-oberthur.c
M    src/pkcs15init/profile.c
M    src/pkcs15init/pkcs15-lib.c
M    src/pkcs15init/pkcs15-rutoken.c
A    src/pkcs15init/pkcs15init.exports
M    src/pkcs15init/pkcs15-gpk.c
M    src/pkcs15init/Makefile.am
_M   src/scconf
M    src/scconf/Makefile.am
M    src/scconf/parse.c
A    src/scconf/scconf.exports
_M   src/libopensc
M    src/libopensc/card-rutoken.c
M    src/libopensc/compression.c
M    src/libopensc/sc.c
M    src/libopensc/card-piv.c
M    src/libopensc/pkcs15-openpgp.c
M    src/libopensc/pkcs15-postecert.c
M    src/libopensc/pkcs15-tcos.c
M    src/libopensc/opensc-config.in
M    src/libopensc/reader-pcsc.c
A    src/libopensc/internal-winscard.h
M    src/libopensc/ctx.c
A    src/libopensc/libopensc.exports
M    src/libopensc/pkcs15-piv.c
M    src/libopensc/pkcs15-infocamere.c
M    src/libopensc/internal.h
M    src/libopensc/pkcs15-actalis.c
M    src/libopensc/pkcs15-starcert.c
M    src/libopensc/card-oberthur.c
M    src/libopensc/pkcs15-atrust-acos.c
M    src/libopensc/p15card-helper.c
D    src/libopensc/part10.h
M    src/libopensc/ui.c
M    src/libopensc/card-gpk.c
M    src/libopensc/pkcs15-wrap.c
M    src/libopensc/pkcs15-gemsafeGPK.c
M    src/libopensc/log.c
M    src/libopensc/pkcs15-esteid.c
M    src/libopensc/pkcs15-prkey-rutoken.c
M    src/libopensc/log.h
M    src/libopensc/Makefile.am
M    src/libopensc/reader-openct.c
_M   aclocal
M    aclocal/Makefile.am
_M   win32
M    win32/Makefile.am
A    win32/versioninfo.rc.in
A    win32/ltrc.inc
A    configure.ac
_M   doc
_M   doc/tools
M    doc/tools/pkcs15-profile.xml
D    doc/changelog.sh
D    doc/export-wiki.xsl
_M   doc/api
_M   doc/api/file
M    doc/api/man.xsl
_M   doc/api/asn1
_M   doc/api/apps
_M   doc/api/init
_M   doc/api/types
_M   doc/api/card
M    doc/api/html.xsl
_M   doc/api/misc
_M   doc/api/util
M    doc/Makefile.am
D    doc/export-wiki.sh
AM   doc/nonpersistent
A    doc/nonpersistent/export-wiki.xsl
A    doc/nonpersistent/Makefile.am
A    doc/nonpersistent/export-wiki.sh
A    doc/nonpersistent/svn2cl.xsl
D    doc/generate-man.sh
D    doc/svn2cl.xsl
M    Makefile.am
A    svnignore
_M   etc
M    etc/opensc.conf.in
M    etc/Makefile.am
D    man
_M   solaris
M    solaris/Makefile



git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3405 c6295689-39f2-0310-b995-f0e70906c6a9
2008-03-06 16:06:59 +00:00
martin 1a32d02926 Fixes #17
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3051 c6295689-39f2-0310-b995-f0e70906c6a9
2006-11-09 16:05:55 +00:00
martin e1cba3e8e2 Remove invalid documentation, addresses #95
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3044 c6295689-39f2-0310-b995-f0e70906c6a9
2006-10-30 11:54:38 +00:00
nils b8e96bb53b update doc
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3037 c6295689-39f2-0310-b995-f0e70906c6a9
2006-10-02 10:39:55 +00:00
ludovic.rousseau b4f8b149ee use <option></option> for command arguments
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3015 c6295689-39f2-0310-b995-f0e70906c6a9
2006-09-14 12:56:06 +00:00
ludovic.rousseau f4742772a7 using --pin with set --login
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3014 c6295689-39f2-0310-b995-f0e70906c6a9
2006-09-14 12:46:45 +00:00
ludovic.rousseau 35d3d51d47 explicit that --module is to load a "PKCS#11 module (or library)" not
just a module


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3013 c6295689-39f2-0310-b995-f0e70906c6a9
2006-09-14 09:17:16 +00:00
aj 34098ec173 small fix - \& was left from cut&paste from a man page.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2870 c6295689-39f2-0310-b995-f0e70906c6a9
2006-03-06 07:58:10 +00:00
aj 5e617f93d7 document --unblock-pin / -u option.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2869 c6295689-39f2-0310-b995-f0e70906c6a9
2006-03-05 19:43:38 +00:00
aj bae9b56869 fix typo.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2643 c6295689-39f2-0310-b995-f0e70906c6a9
2005-10-10 08:07:14 +00:00
bert fe64862a1e Added Peter Koch's netkey-tool manpage
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2612 c6295689-39f2-0310-b995-f0e70906c6a9
2005-09-21 18:55:13 +00:00
aj df30dd0cee rename *.xml.in to *.xml.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2581 c6295689-39f2-0310-b995-f0e70906c6a9
2005-09-12 17:32:20 +00:00
aj 74dbb38850 remove one unneeded sublevel.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2578 c6295689-39f2-0310-b995-f0e70906c6a9
2005-09-12 17:07:40 +00:00