Commit Graph

305 Commits

Author SHA1 Message Date
Nuno Goncalves 68f8f0bfa7 pkcs15-init,pkcs15-tool: reword --no-prompt to --use-pinpad (close #944) (#957)
* pkcs15-init,pkcs15-tool: reword --no-prompt to --use-pinpad (close #944)

Wording was confusing for a novice user. Old option is mantained as an alias,
but will print to stderr a deprecation warning.

Deprecation related code is all marked with deprecated word to easy future removal.

Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>

* pkcs15-init,pkcs15-tool: document --use-pinpad

Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2017-02-03 17:01:52 +01:00
Nuno Goncalves a25a2484f1 pkcs15-tool: add compact output format
Closes https://github.com/OpenSC/OpenSC/pull/900
2016-11-17 09:46:51 +01:00
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 0c7d1bdb65 doc/Makefile.am: get rid of "api.work" kludge 2011-08-20 16:54:05 +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
Martin Paljak d4e90c171a Changes to build scripts requires for Git transition 2011-06-15 10:58:37 +03: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 08c111affe Update documentation about about wiki and package content.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4810 c6295689-39f2-0310-b995-f0e70906c6a9
2010-10-15 14:29:42 +00:00
alonbl 8a1903345e Simplify build system, remove the generated distributed files.
Thread is at [1].

Build with docs or man now requires xsltproc.

http://www.mail-archive.com/opensc-devel@lists.opensc-project.org/msg06750.html



git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4791 c6295689-39f2-0310-b995-f0e70906c6a9
2010-10-05 20:34:58 +00:00
alonbl 6ebd49397e Don't dump wiki content into distribution package.
As requested by Martin[1].

Before releasing a new formal version, run:
$ make Generate-ChangeLog

It generates the ChangeLog out of svn and autoreconf again for package inclusion.

[1] http://www.opensc-project.org/pipermail/opensc-devel/2010-September/015014.html



git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4776 c6295689-39f2-0310-b995-f0e70906c6a9
2010-09-26 21:30:44 +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
martin 14d82f9e4c Documentation: there is no external API, remove the manpage generation.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4407 c6295689-39f2-0310-b995-f0e70906c6a9
2010-06-09 13:39:28 +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 b8e921b2d2 manpages: don't install sc_* API documentation.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4054 c6295689-39f2-0310-b995-f0e70906c6a9
2010-02-21 09:13:00 +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
alonbl f0e03ec4f6 Fix --disable-man install from svn checkout, by Ludovic Rousseau
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3686 c6295689-39f2-0310-b995-f0e70906c6a9
2009-04-23 18:02:38 +00:00
alonbl 33a13139c5 Fix --disable-man install from svn checkout, by Ludovic Rousseau
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3685 c6295689-39f2-0310-b995-f0e70906c6a9
2009-04-23 18:00:42 +00:00
alonbl 1809d50799 Fix doc build issues
1. VPATH issue.
2. Parallel build issue, suggested by Ludovic Rousseau.


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3609 c6295689-39f2-0310-b995-f0e70906c6a9
2009-01-01 20:55:50 +00:00
ludovic.rousseau e2b329e7c9 make the * targets depend on only one dependency to avoid problems on
concurrent make (-j)


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3580 c6295689-39f2-0310-b995-f0e70906c6a9
2008-10-09 09:02:42 +00:00
ludovic.rousseau ac8bb831c4 remove html.out and man.out before filling them to avoid problems
when/if they already contain a html.tmp or man.tmp file (on the 3rd
execution of make)


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3579 c6295689-39f2-0310-b995-f0e70906c6a9
2008-10-09 08:35:32 +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
aj 19a6ecddbf the "-" for make must be in the first line of a multi column command,
not somewhere in the middle. this code makes shell look for "-rm" command
which does not exist. fixing.

"-" is not required in these cases, as "rm -f" always returns 0.


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3564 c6295689-39f2-0310-b995-f0e70906c6a9
2008-09-11 11:39:47 +00:00
alonbl c89d27f755 Don't removed generated external files during distclean
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3562 c6295689-39f2-0310-b995-f0e70906c6a9
2008-09-08 14:04:49 +00:00
aj 1b1ae308e0 update export script.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3550 c6295689-39f2-0310-b995-f0e70906c6a9
2008-07-31 12:43:44 +00:00
alonbl 865f6e9c70 More fixups to maintainer-clean
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3471 c6295689-39f2-0310-b995-f0e70906c6a9
2008-04-11 12:52:46 +00:00
alonbl 9dff29af2d Typeo
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3467 c6295689-39f2-0310-b995-f0e70906c6a9
2008-04-08 17:56:27 +00:00
alonbl 376139d1f1 Fix future issue with distcheck
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3461 c6295689-39f2-0310-b995-f0e70906c6a9
2008-04-04 19:21:59 +00:00
alonbl c9b19135fc More separate srcdir fixups, make distcheck work
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3451 c6295689-39f2-0310-b995-f0e70906c6a9
2008-04-01 19:58:30 +00:00
alonbl 87db3c96c2 More separate srcdir fixups
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3450 c6295689-39f2-0310-b995-f0e70906c6a9
2008-04-01 19:04:33 +00:00
alonbl 503b028acb More separate srcdir fixups
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3448 c6295689-39f2-0310-b995-f0e70906c6a9
2008-04-01 16:55:23 +00:00
ludovic.rousseau 13878512f5 do not use api/*/*.xml but explicitely expand the first * to avoid
catching api/xsl-stylesheets/catalog.xml


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3447 c6295689-39f2-0310-b995-f0e70906c6a9
2008-04-01 13:04:48 +00:00
ludovic.rousseau 69dd0baf30 use $(srcdir) for dist_noinst_DATA
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3446 c6295689-39f2-0310-b995-f0e70906c6a9
2008-04-01 13:01:43 +00:00
ludovic.rousseau 7e30721378 use $(srcdir) when needed to be able to build in separate build
directories using: cd foobar ; ../configure srcdir=..

Thanks to Douglas E. Engert for the patch
http://www.opensc-project.org/pipermail/opensc-devel/2008-March/010959.html


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3445 c6295689-39f2-0310-b995-f0e70906c6a9
2008-04-01 12:43:26 +00:00
aj 2761549c11 use new MKDIR_P macro, but depend on automake >= 1.10.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3417 c6295689-39f2-0310-b995-f0e70906c6a9
2008-03-10 16:38:01 +00:00
aj b0ad68658e automake&co define mkdir_p, not MKDIR_P.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3415 c6295689-39f2-0310-b995-f0e70906c6a9
2008-03-10 06:45:23 +00:00
alonbl 8ac87f1b1e Remove useless comments
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3414 c6295689-39f2-0310-b995-f0e70906c6a9
2008-03-09 21:24:24 +00:00
alonbl 72449f0635 Make export-wiki.sh static across projects
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3412 c6295689-39f2-0310-b995-f0e70906c6a9
2008-03-09 15:34:28 +00:00
alonbl 679a4c04de export-wiki.xsl now works with new trac
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3411 c6295689-39f2-0310-b995-f0e70906c6a9
2008-03-09 15:13:11 +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
aj 09be225b83 cleanup *.tmp as well.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3269 c6295689-39f2-0310-b995-f0e70906c6a9
2007-09-10 07:09:28 +00:00
aj 80c70550c8 document latest changes and update wiki export script.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3212 c6295689-39f2-0310-b995-f0e70906c6a9
2007-07-10 13:03:06 +00:00
aj 2012f64ba2 add image files to release tar.gz
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3205 c6295689-39f2-0310-b995-f0e70906c6a9
2007-07-04 09:19:25 +00:00
aj b5df816684 fix wiki html export.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3166 c6295689-39f2-0310-b995-f0e70906c6a9
2007-05-04 07:13:04 +00:00
ludovic.rousseau e7c0443d85 remove <link linkend="foo">Foo</link> that can't be solved and generates
Error: no ID for constraint linkend: foo


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3133 c6295689-39f2-0310-b995-f0e70906c6a9
2007-03-15 07:59:01 +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