okir
d2b5c08857
- fixed unblock command when puk given in hex notation
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1003 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-14 07:44:27 +00:00
okir
a9a766fafb
- more fixes from Andreas
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1002 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-11 15:29:29 +00:00
sth
91deef3734
Added cardos-info.exe
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1001 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-11 15:26:05 +00:00
okir
04b52edbb8
- added
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@995 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-11 13:55:22 +00:00
okir
56e2e70e07
- new tool cardos-info from Andreas
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@994 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-11 11:48:57 +00:00
okir
0eecac13bb
- support for lifecycle cardctl; cardos lifecycle support
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@993 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-11 11:47:41 +00:00
okir
87a0cc51a1
- build fixes from Andreas
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@991 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-11 11:46:02 +00:00
okir
1e1eec0d8a
- getopt cleanup from aj
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@988 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-11 11:28:09 +00:00
okir
0ea0ce2ac9
- opensc-tool -f: don't crash on large or record structured files
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@972 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-03 09:52:41 +00:00
okir
00d2d7ce4c
- minor printf fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@971 c6295689-39f2-0310-b995-f0e70906c6a9
2003-04-03 09:51:46 +00:00
okir
909b917694
- opensc-tool -f should handle files > 2K gracefully
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@967 c6295689-39f2-0310-b995-f0e70906c6a9
2003-03-28 13:28:44 +00:00
okir
556c216c4b
- make sure all APDU fields are zero when processing -s option
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@954 c6295689-39f2-0310-b995-f0e70906c6a9
2003-03-25 11:19:49 +00:00
okir
e13720e391
- renamed connect() to open_reader_and_card()
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@933 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-28 11:07:37 +00:00
sth
66f7de9378
removed unnecessary debugging
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@923 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-20 23:20:08 +00:00
sth
a7a5701e0c
added support for max pin length
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@922 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-20 23:19:01 +00:00
sth
5265456cab
some cleared messages
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@911 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-17 11:09:24 +00:00
okir
23d686576e
- fixed minor compile warning
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@904 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-10 14:08:54 +00:00
sth
0e691fb13e
added support for pin pad readers + change pin
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@898 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-05 13:55:22 +00:00
okir
f71e2b0c5e
- Added test for WaitForSlotEvent
...
- fixed a bunch of compiler warnings
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@896 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-03 12:23:05 +00:00
sth
0b84c49f9a
now also caching if file->size differs from what sc_read_binary() returns
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@892 c6295689-39f2-0310-b995-f0e70906c6a9
2003-02-01 20:26:12 +00:00
sth
e8e738aac4
added signature test for all keys
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@891 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-31 15:32:27 +00:00
sth
d8871d9a46
some fixes + added cert viewing for -O option
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@884 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-27 13:33:28 +00:00
okir
b9c3ec2ec4
- fixed two minor issues in p11 test code
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@879 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-21 15:29:17 +00:00
okir
1a994ef760
- a few minor changes from Stef
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@874 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-20 10:02:07 +00:00
okir
5b1eb43b93
- add some support for card removal in pkcs11
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@867 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-19 17:47:07 +00:00
okir
a7551e1822
- Patches from Stef implementing PKCS11 RNG related functions
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@866 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-16 20:10:28 +00:00
okir
98e9561b5c
- added command "random"
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@865 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-15 13:20:22 +00:00
aet
b1eff66867
C++ warning fixes (assuan excluded)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@863 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-14 19:55:45 +00:00
okir
7be0774cf2
- learn_card: the cache directory is now created by libopensc
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@852 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-09 09:14:15 +00:00
okir
4a14b41dca
- reordered options for help message
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@851 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-09 09:09:25 +00:00
okir
e60c9d705e
- fix the help message for --very-long-options
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@850 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-09 09:09:01 +00:00
okir
e13804aa32
- fixed message in --learn-card
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@848 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-09 08:45:27 +00:00
aet
d13155a9e3
Add pkcs11-tool
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@846 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-06 23:47:04 +00:00
aet
037dbdfa13
Fix compiler warnings
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@845 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-06 23:46:24 +00:00
okir
67608feffb
- Win32 fixes in case openssl is not present (Stef)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@842 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-06 19:52:11 +00:00
aet
4384423879
Add missing case 'w' to handle_option
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@837 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-06 12:06:50 +00:00
okir
608debfc15
- Tools did not work unless -w switch was given
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@836 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-06 11:03:17 +00:00
okir
ad7fb4ee05
- fixed help messages broken by previous patch
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@829 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-03 17:07:56 +00:00
okir
2699670762
- instead of calling sc_connect_card, use new function connect_card from util.c
...
This function will take care of the fine print and optionally wait for
card insertion too.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@828 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-03 17:07:42 +00:00
okir
d1064f4417
- instead of calling sc_connect_card, use new function connect_card from util.c
...
This function will take care of the fine print and optionally wait for
card insertion too.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@827 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-03 16:58:32 +00:00
okir
65ead88908
- New function connect_card() - this does all the work of connecting
...
to the card, optionally waiting for card insertion using sc_wait_for_event
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@826 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-03 16:57:46 +00:00
okir
e01554814b
- Patch from Stef: add support for --pin and --test
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@823 c6295689-39f2-0310-b995-f0e70906c6a9
2003-01-03 14:33:17 +00:00
okir
079821b8c4
- Added --hash/-h to hash data (Stef Hoeben)
...
- Added function to translate CKR_* error codes to strings.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@808 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-22 23:16:47 +00:00
aet
1ddde4e899
- Add access, mkdir and getpass wrappers into winconfig.h
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@806 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-22 14:43:13 +00:00
okir
882c5b9ed3
- implemented unblock command
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@800 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-19 19:42:51 +00:00
okir
6d324715da
- add missing help message for --module
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@797 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-19 10:49:28 +00:00
okir
9a472d4e65
- fixed rsa-ripemd160 signatures
...
- Added new option --module
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@794 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-19 09:24:58 +00:00
okir
337674d65a
- Added helpful comment about --use-default-transport-keys
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@789 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-18 11:34:35 +00:00
okir
b86d2e994b
- First shot at pkcs15 data objects from Danny De Cock
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@788 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-18 10:17:01 +00:00
okir
0c16b3d887
- Added shorthand rsa-ripemd160
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@782 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-17 20:15:56 +00:00
okir
29dd06ba9f
- more win32 fixes from Stef
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@779 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-17 16:00:40 +00:00
okir
ffd4773e20
- New application: pkcs11-tool
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@776 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-17 11:50:11 +00:00
okir
d997440546
- more Makefile.mak fixes from Stef
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@772 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-12 10:08:23 +00:00
okir
23158d7a96
- win32 patch from Stef Hoeben
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@769 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-10 17:47:19 +00:00
okir
dc06b5f702
- When exporting the public key, fall back to the certificate object if
...
there's no public key with the given ID.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@765 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-10 14:22:26 +00:00
okir
96ba7bf4d3
- pass the --label argument as the token label when creating the pkcs15 app
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@753 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-04 14:56:50 +00:00
okir
946824dfe5
- implement get_key callback
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@744 c6295689-39f2-0310-b995-f0e70906c6a9
2002-12-04 11:56:51 +00:00
okir
8a01ceb81c
- fixed typo
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@728 c6295689-39f2-0310-b995-f0e70906c6a9
2002-11-28 16:38:26 +00:00
okir
b00579d40d
- Fix from Joe Phillips: fix help message
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@726 c6295689-39f2-0310-b995-f0e70906c6a9
2002-11-28 15:44:32 +00:00
okir
09faf83bd0
- Fix from Joe Phillips: option mismatch in --help message
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@725 c6295689-39f2-0310-b995-f0e70906c6a9
2002-11-28 15:43:54 +00:00
okir
718aa6e361
- Fix from Stef Hoeben for win32
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@724 c6295689-39f2-0310-b995-f0e70906c6a9
2002-11-28 15:38:55 +00:00
okir
34ba5b223c
- --card-driver was mapped to -D, but should have been -c.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@722 c6295689-39f2-0310-b995-f0e70906c6a9
2002-11-25 09:03:48 +00:00
okir
7d3c61349e
- fixed segfault in mkdir/create
...
- minor cosmetic change in do_verify
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@700 c6295689-39f2-0310-b995-f0e70906c6a9
2002-11-07 14:48:03 +00:00
aet
1d2c9e4c48
Cleanups for initial win32 port, untested.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@696 c6295689-39f2-0310-b995-f0e70906c6a9
2002-10-19 14:04:52 +00:00
okir
172d86b31a
- fixed typos in help output
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@695 c6295689-39f2-0310-b995-f0e70906c6a9
2002-10-02 10:55:52 +00:00
okir
3ffcfcf110
- added --reader, --key-usage command line args
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@694 c6295689-39f2-0310-b995-f0e70906c6a9
2002-10-02 10:50:53 +00:00
okir
3eab911651
- during card initialization, allow to enter SO PIN interactively
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@691 c6295689-39f2-0310-b995-f0e70906c6a9
2002-09-30 20:24:16 +00:00
okir
8db1dcf49b
- when entering new PINs on stdin, make the user re-type the PIN to avoid typos
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@690 c6295689-39f2-0310-b995-f0e70906c6a9
2002-09-30 20:03:10 +00:00
okir
fa04f5e4ad
- Accessed file->type after freeing file (S. Henson)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@677 c6295689-39f2-0310-b995-f0e70906c6a9
2002-08-20 08:39:11 +00:00
okir
86a97c7e84
- allow output of signature to stdout
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@660 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-17 11:17:46 +00:00
fabled
7635468ed9
- Initial support for win32
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@654 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-14 12:52:56 +00:00
okir
041b46f52c
- corrected info output for Linear variable TLV EFs
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@646 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-11 18:17:16 +00:00
okir
4f7b81ffc2
- added switch to force software key generation
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@645 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-11 18:16:50 +00:00
okir
c967dd808e
- do not try to check PIN if key isn't pin-protected at all
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@638 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-07 20:21:11 +00:00
okir
cdeff04e58
- fix a few error messages
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@634 c6295689-39f2-0310-b995-f0e70906c6a9
2002-06-05 17:51:44 +00:00
jey
7c94d7d8d3
- Several patches to fix behaviour on 64-bit architectures (by
...
Jochen Friedrich)
- Fixed one bug in sc_copy_asn1_entry(), one in
sc_pkcs15init_add_object() and one in pkcs15-crypt
(patches also by Jochen)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@609 c6295689-39f2-0310-b995-f0e70906c6a9
2002-05-26 12:31:23 +00:00
aet
25cf9756ed
Minor GCC warning fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@606 c6295689-39f2-0310-b995-f0e70906c6a9
2002-05-20 09:19:41 +00:00
okir
7f6453d715
- sc_pkcs15_decipher now takes a flags argument, so we know when to
...
strip off any pkcs#1 padding.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@585 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-23 08:17:06 +00:00
okir
74b7e39263
- allow setting the cert_info authority flag
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@583 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-22 18:37:57 +00:00
aet
3dccd63989
- C++ support. Compiles with gcc/g++ for Linux, otherwise
...
completely untested.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@574 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-19 14:23:31 +00:00
jey
546f920fc1
- PKCS #15 objects and DFs are now stored with linked lists
...
in struct sc_pkcs15_card; this way we can have 'floating'
objects that don't belong in any DF, for e.g. generating
public key objects from certificates
- Removed some unused function prototypes
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@572 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-19 09:22:44 +00:00
aet
aac9e6fdec
Minor warning fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@569 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-18 11:59:32 +00:00
okir
f6c8cb4847
- DSA signature support
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@568 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-18 11:00:08 +00:00
okir
176e825130
- fix for storing DSA public keys
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@562 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-18 09:12:54 +00:00
okir
2a3e6e273d
- starting to support extractable keys
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@557 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 20:47:18 +00:00
okir
5fb2db70fe
- --read-public-key will work for non-rsa keys too
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@543 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-17 12:20:31 +00:00
okir
596220e821
- pkcs15-init does not require openssl anymore
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@523 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-15 13:42:10 +00:00
okir
881de42ca0
- changed to reflext pkcs15init_store_foobar update
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@517 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-11 15:14:40 +00:00
jey
60fc3811eb
- Added support for user-defined serial numbers in
...
pkcs15-init and PIN flags in profiles
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@485 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-07 13:15:31 +00:00
okir
26d2f25b76
- include/opensc fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@476 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 18:49:03 +00:00
okir
23ff14fb06
- added erase command
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@471 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 15:04:35 +00:00
aet
076a26bbac
Rework the header structure
...
Currently fails to compile, unless you symlink
all the necessary headers to src/include/opensc
by yourself.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@459 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 13:48:00 +00:00
aet
d81d10ba90
Upgrade sources to use new headers, part #1
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@458 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 10:44:51 +00:00
okir
10e95ba4b6
- don't include profile.h anymore
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@455 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 10:06:10 +00:00
jey
1446fc11e1
- Made clearer the error message resulting from an incorrect PIN code entry
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@447 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-04 20:37:27 +00:00
okir
5d687de06f
- fixed exit code
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@429 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-03 11:56:59 +00:00
aet
edfb4dd7f0
Minor compiler warning fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@424 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 20:58:18 +00:00
okir
776fa9030c
- support for SO pin during app initialization
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@423 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 14:46:32 +00:00
okir
c90dfd18e9
- moved most of the pkcs15init stuff to libpkcs15init
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@417 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 13:29:30 +00:00
okir
c1f2403d61
- rewrote pkcs15-init; much of the init stuff moved to separate library
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@416 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 13:28:31 +00:00
aet
5a824f3fab
Add maintainer-clean patch by Andreas Jellinghaus <aj@dungeon.inka.de>
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@411 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-02 09:38:06 +00:00
aet
ec6f8961b0
Don't hardcode initial debugging level and error/debug_file
...
pointers to the code, get the values from opensc.conf instead.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@386 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 21:56:13 +00:00
jey
f21926af00
- Started to add configuration file support to
...
libopensc
- Added typedefs for some basic structs (e.g.
struct sc_card --> sc_card_t)
- Added a second argument to sc_establish_context()
to identify the calling application
- Renamed sc_destroy_context() to sc_release_context()
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@378 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 14:12:38 +00:00
aet
e9ee0ff146
- Fix compiler warnings for Solaris
...
- Use of PAM_MODULE_UNKNOWN broke pam_opensc for Sun based
PAM implementations, fixed.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@376 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-24 12:14:19 +00:00
aet
77c94c2793
'make dist' fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@372 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-22 13:56:44 +00:00
okir
e630a05dd5
- make it compile with readline versions that declare readline(char *);
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@343 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-18 13:24:06 +00:00
jey
c5e53429cd
*** empty log message ***
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@333 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 10:40:35 +00:00
okir
3838af2bd7
- now uses sc_pkcs15_free_pubkey
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@331 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 10:05:20 +00:00
okir
c6a9091f67
- fixed PEM public key header
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@325 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-15 09:01:11 +00:00
okir
879690f6f4
- add option --md5
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@324 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-14 17:02:08 +00:00
okir
a42a47ea33
- list and extract public keys
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@323 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-14 16:57:20 +00:00
aet
04e929da00
Fix minor compiler warnings
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@320 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-13 23:11:25 +00:00
okir
55dd227587
- fixed certificate download
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@317 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-13 20:23:18 +00:00
jey
8efe36617c
*** empty log message ***
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@306 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-13 10:48:07 +00:00
okir
83686af746
- added pkcs12 support
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@302 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-12 16:27:21 +00:00
okir
b635539aa8
- Make the default size for DF files 128 bytes (FIXME: we need to be
...
able to set this on a per card basis in $cardname.profile
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@301 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-12 16:27:04 +00:00
okir
c287088275
- Make sure profiles get installed in $(pkgdatadir), and propagate this
...
directory name to profile.c (icky automake stuff)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@297 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-12 13:41:58 +00:00
jey
23e956cf9b
- Fixed PKCS #15 structure generation on Cryptoflex cards
...
and implemented a default profile
- Cryptoflex now reports its supported PK algorithms
correctly
- Various pkcs15-init fixes
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@295 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-12 13:00:57 +00:00
okir
2c7a0ac27b
- Implemented download of public keys and X509 certificates
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@294 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-12 10:08:18 +00:00
okir
f7ce196a66
- now creating EF(DIR)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@293 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-11 14:13:11 +00:00
okir
b5bc6d74fd
- When storing a private key, always store the public portion as well
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@290 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-11 11:52:04 +00:00
okir
4fb78b7bdc
- forgot to add DFs to the profile's file list
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@288 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-11 10:18:59 +00:00
okir
3dd0c64f6a
- Implemented Parent/FileID stuff according to Juha's proposal
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@287 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-11 09:14:10 +00:00
aet
2a4afb8319
Include stdlib.h where needed
...
Warning fixes for various OS's
mcheck.h is not portable, so remove it
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@285 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-09 17:54:16 +00:00
aet
f0d4252ea0
Standardize the first header comment a bit
...
between various profiles
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@284 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-09 17:27:04 +00:00
aet
427801c755
Add flex.profile to EXTRA_DIST
...
Rename miocos-rw.profile to miocos.profile
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@283 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-09 17:21:10 +00:00
jey
7d2171c1d2
- Improved support for MioCOS cards
...
- Removed PKCS #15 creation from cryptoflex-tool
- Added PIN pad character option to profile.c
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@282 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-09 15:11:46 +00:00
aet
6264f03148
'make dist' fixes
...
Minor cleanups
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@279 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-08 16:06:10 +00:00
jey
3416461c4b
- Added X.509 algorithm id decoding and encoding to asn1.c
...
- Implemented a generic ATR matching helper function
- Made signing much smarter (should even work now)
- Added info about supported crypto algorithms to struct sc_card
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@276 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-08 05:59:57 +00:00
okir
7477cb3c01
- fixed attributes etc of PuKDF entry
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@275 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-07 13:06:54 +00:00
okir
6827556f5d
- fixed error code handling
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@270 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-07 12:26:17 +00:00
okir
23678d0695
- fixed memory corruption problem
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@269 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-07 12:25:54 +00:00
okir
2fda14ebf5
- Rewrote large parts of pkcs15-init for greater flexibility, and with
...
an eye towards separating some of the stuff into a library that can
be used by pkcs11.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@267 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-06 17:49:47 +00:00
okir
ffe5629e89
- started to work on PuKDF stuff
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@258 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-04 10:33:35 +00:00
okir
25f15f0ba1
- Added support for Juha's latest API changes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@257 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-04 09:33:46 +00:00
okir
12e6874f03
- Fixes for Juha's rewrite of sc_pkcs15_object and friends
...
- changes some names
- allow profile to set private key access flags
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@256 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-04 09:32:56 +00:00
okir
cbd72756ad
- Added default access_flags for private key objects
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@255 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-04 09:31:53 +00:00
jey
6b07ff64f6
- Reworked PKCS #15 structure a bit (MANY THINGS
...
WILL BREAK)
- Added support for public key DFs (not tested yet)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@251 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-03 00:32:28 +00:00
okir
e256d97f65
- if required, read pin from stdin (fixed key download)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@250 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-02 14:03:41 +00:00
jey
4ac49d6e88
- intermediary checkin
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@249 c6295689-39f2-0310-b995-f0e70906c6a9
2002-03-01 11:52:55 +00:00
okir
f0cba186a9
- we may have readline.h but may still not be able to link the lib
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@245 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-26 21:11:11 +00:00
jey
4fa7283ae2
- added some missing files
...
- renamed card-setec.c to card-setcos.c
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@243 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-26 11:27:49 +00:00
jey
04dfc47d92
- added a driver for MioCOS cards by Miotec
...
- implemented EF(DIR) updating
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@242 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-26 11:23:25 +00:00
okir
ede029e1d7
- cleanup and misc minor fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@239 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-25 18:50:29 +00:00
aet
97a7957e35
Minor fixes to libreadline checking
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@236 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-25 18:43:16 +00:00
aet
4aa18a9ff9
Added support for checking libreadline and use it
...
for opensc-explorer if one is found.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@235 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-25 16:30:38 +00:00
aet
9879318a6a
Add missing help text for --passphrase
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@232 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-25 13:51:11 +00:00
aet
9c594003ee
Add pkcs15-init
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@228 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-25 11:50:32 +00:00
aet
8d222efb57
HAVE_SSL cleanups
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@227 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-25 11:13:50 +00:00
aet
24c6f4176e
winscard.h / CFLAGS_PCSC cleanups
...
Merge OpenSSL configure changes with SCIDI
Build process changes for future CT-API support
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@225 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-25 11:05:25 +00:00
jey
3fa1b27736
- implemented reader abstraction layer; now it's easier to
...
add support for e.g. CT-API
- renamed ops_data field to drv_data in struct sc_card
- copied coding style document from Linux kernel
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@221 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-24 19:32:14 +00:00
aet
1f4e5c4b6d
Minor changes to get rid of compiler warnings for various OS's
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@220 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-24 16:50:29 +00:00
jey
2adde8d501
- implemented RSA and DSA key downloading to GPK cards
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@219 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-23 13:38:01 +00:00
jey
f605dc631c
- a small fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@218 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-22 20:46:43 +00:00
jey
b5736099a2
- added some missing files from last commits, whoops
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@217 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-22 07:18:43 +00:00
jey
e78dc96440
- added ATR for RSA SecurID 3100
...
- exported pkcs15_encode_* functions
- minor modification to sc_file_add_acl_entry()
- boosted up opensc-explorer
- added error(), warn() and fatal()
- implemented a generic PKCS #15 structure generation tool
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@215 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-21 18:53:23 +00:00
jey
61fc1f9327
- all instances struct sc_file should now be
...
dynamically allocated with sc_file_new() and released
with sc_file_free()
- improved ACL's
- moved struct sc_card_error to opensc.h
- moved EF(DIR) parsing and encoding to dir.c
(encoding is not working yet)
- removed hst-test.c and filetest.c
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@213 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-20 09:56:47 +00:00
jey
709727d469
- added partial support for TCOS 2.0 cards
...
- default card driver now tries to do a GET RESPONSE
instead of SELECT FILE to detect the correct
CLA byte
- moved security attribute parsing from iso7816.c to card-setec.c
- added some more sanity checking to sc_check_apdu
- added 'debug' command line option to opensc-explorer
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@210 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-11 15:55:34 +00:00
jey
b4063302bf
- added partial support for GPK 4000
...
- made line parsing in opensc-explorer saner
- moved change_reference_data and reset_retry_counter to
iso7816.c, where they belong
- added partial libreadline support to opensc-explorer
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@206 c6295689-39f2-0310-b995-f0e70906c6a9
2002-02-10 18:04:03 +00:00
jey
17332ea10e
- last minute changes before the new release
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@194 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-24 18:37:12 +00:00
jey
c1cac5f311
- bumped up version number in preparation of the new release
...
- unified PKCS #15 DF decoding
- added PKCS #15 file caching
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@191 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-24 16:02:54 +00:00
aet
c8313fb07c
Fix compiler warnings, for digital cc this time
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@187 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-22 16:26:19 +00:00
jey
623e5ad1b4
- changed PIN1 path in PKCS #15 structure
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@184 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-21 15:37:01 +00:00
jey
a016a59259
- added PKCS #15 structure generation to cryptoflex-tool
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@182 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-21 12:49:00 +00:00
aet
6d533a1c3d
Compiler warning fixups for various compilers
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@180 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-21 10:56:30 +00:00
aet
45a37df2f6
Add *.u and cryptoflex-tool to .cvsignore
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@179 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-21 10:56:03 +00:00
jey
f1582007f6
- improved file selection on Cryptoflex cards
...
- fixed an incompatability in PKCS #11 module
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@178 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-21 09:05:22 +00:00
jey
d9792242cc
- fixed a bug with file permissions in flex_create_file()
...
- added RSA signature generation with Cryptoflex cards
- improved security environment handling
- implemented cryptoflex-tool
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@177 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-20 21:20:09 +00:00
jey
e7c65bf669
- PKCS #15 generation is now in a semi-working state
...
- started coding crypto support for Cryptoflexes
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@175 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-17 23:47:03 +00:00
aet
7fbc97efb5
Remove gcc-specific options
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@173 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-17 12:04:43 +00:00
jey
e95f8aee84
- small bugfix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@171 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-17 11:50:49 +00:00
jey
ffdc3c9a58
- fixed a goof in last commit
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@168 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-17 00:25:10 +00:00
jey
20adb4b39c
- continued to improve PKCS #15 generation
...
- fixed a few problems in sc_set_security_env
- started to implement Better (tm) object handling for
PKCS #15 objects
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@167 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-16 23:59:18 +00:00
aet
fec2138523
Fix compiler warnings
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@161 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-15 18:54:53 +00:00
jey
452b9d4193
- pretty much finished the DER encoder
...
- added delete and create file support for 'flex cards
- PKCS #15 DF's are now stored more flexibly; this makes
adding new types of DF's (such as PuKDF's) easier
- added 'get' and 'put' commands to opensc-explorer
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@160 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-13 23:56:13 +00:00
jey
5c993e1136
- added PIN verification, file creation and file deletion to
...
opensc-explorer
- documented the core API a bit using doxygen
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@158 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-10 23:02:48 +00:00
aet
b75b88a8b8
Fix compiler warnings
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@157 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-10 13:49:54 +00:00
jey
9dc7054919
- added preliminary ASN.1 encoding support
...
- modified ASN.1 decoding to make it easier to
port decoder structures to the encoder
- fixed a recently introduced bug in card driver handling
- opensc-explorer will now allow only DF's to be cd'd into
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@156 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-10 12:33:56 +00:00
aet
e71e4492f3
Add opensc-explorer
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@153 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-09 13:50:46 +00:00
jey
269df3a6da
- created opensc-explorer tool
...
- increased support for CryptoFlex cards
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@152 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-09 01:03:10 +00:00
aet
6778d0b929
Add missing executables to .cvsignore
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@151 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-08 20:03:57 +00:00
jey
7ff4c4544c
- added preliminary CryptoFlex 16k support
...
- added short names to card drivers
- moved various ISO 7816-9 functions to their correct places
- added write binary support
- renamed opensc-crypt to pkcs15-crypt
- split a part opensc-tool to pkcs15-tool
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@150 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-08 13:56:50 +00:00
jey
9197babe53
- renamed sc_asn1_parse to sc_asn1_decode
...
- added capabilities and flags fields to struct sc_card
- added a mutex to sc_context for future use
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@148 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-07 18:23:34 +00:00
aet
b9da215428
Add CFLAGS_PCSC, CFLAGS_OPENSC and LIBOPENSC, use them
...
instead of hardcoding paths into ../libopensc.la,
-I../libopensc, etc.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@139 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-06 19:40:12 +00:00
aet
891c3dbf88
AIX cc fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@131 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-03 07:33:28 +00:00
aet
9bd6c8f9bb
Add getopt/getopt_long sources from GNU C Library.
...
Use them only if platform lacks support for getopt_long,
like most commercial operating systems do.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@129 c6295689-39f2-0310-b995-f0e70906c6a9
2002-01-02 22:15:31 +00:00
aet
8368c13f52
sc- -> opensc-
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@121 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-30 21:30:39 +00:00
aet
607271df53
Merges with SCIDI to help integrating build process with it
...
Remove some gcc specific flags from Makefile.am
Rename some header defines
size_t vs. int fixups
opensc.h: Define inline as null for other compilers than gcc, for now
Port pam_pkcs15 to compile for Solaris and HP-UX, untested
Fix compiler warnings
OpenSC now compiles cleanly for Tru64, AIX and HP-UX.
The only problem is the tools using getopt_long() (GNU extension),
to be fixed later..
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@120 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-30 21:17:34 +00:00
jey
f09933657a
- added missing files
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@113 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-29 12:03:18 +00:00
jey
ad2e34cb6c
- added preliminary support for EMV cards
...
- changed a few function prototypes
- implemented access control lists to files
- added sc_read_record() function
- updated the NEWS file
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@111 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-29 02:07:32 +00:00
jey
db0740d1ca
- fixed some compile warnings
...
- updated TODO
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@108 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-28 14:19:41 +00:00
jey
695ad01b28
- added preliminary EMV support
...
- made a few bug fixes relating to select_file operation
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@107 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-27 17:25:10 +00:00
jey
2b99f2df14
- added default driver for unidentified cards
...
- added select_file operation in Multiflex driver
- added 'list-drivers' command to opensc-tool
- moved stuff from opensc.h to sc-internal.h
- improved locking behaviour
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@106 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-25 20:45:48 +00:00
aet
3775b18c81
Autotools update. Add bunch of stuff to configure.in to
...
make building of libopensc more portable to various
operating systems.
Requires autoconf 2.52 and automake 1.5.
Add all necessary files except Makefile.in, so you still
need to run ./bootstrap though. There's not much point
adding config.guess and friends without them, maybe later.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@94 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-22 22:27:20 +00:00
aet
baeae16754
Add opensc-ssh, pam_pkcs15-test, bas64, hst-test, lottery, p15dump,
...
pintest, prngtest, opensc-crypt and opensc-tool binary to .cvsignore.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@92 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-22 22:20:28 +00:00
aet
4fdbb11a32
Add .cvsignore skeleton
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@91 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-22 22:11:43 +00:00
jey
36965ca6eb
- updated to work with latest library version
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@90 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-22 20:52:57 +00:00
jey
503cbd4782
- added base64 conversion tool
...
- updated to work with latest version of OpenSC library
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@84 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-20 12:16:05 +00:00
jey
166b369ffe
- meddled with command abbreviations
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@76 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-15 01:27:51 +00:00
jey
bd9396d87f
- updated tools to support latest version of the library
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@70 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-14 16:37:45 +00:00
jey
9fccf2c646
- added "learn-card" command to opensc-tool
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@68 c6295689-39f2-0310-b995-f0e70906c6a9
2001-12-11 14:53:22 +00:00
jey
61ca346203
- added PIN changing support
...
- started to work on nsplugin
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@60 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-30 11:57:21 +00:00
jey
939146ffed
- changed project name to OpenSC
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@52 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-24 13:32:52 +00:00
jey
674cbb1979
- added sc-crypt program
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@51 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-22 15:40:51 +00:00
jey
e0d6e06115
- small fix in sc-tool.c
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@49 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-21 22:40:27 +00:00
jey
ea594e3e50
- added very partial SSH support
...
- rearranged some functions
- added several new functions
- fixed handling of SW's
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@47 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-20 22:21:58 +00:00
jey
e5cf39b2eb
- small bug fixed
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@46 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-18 20:36:15 +00:00
jey
f2f3a30792
- added sc-tool
...
- removed certtest.c
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@45 c6295689-39f2-0310-b995-f0e70906c6a9
2001-11-18 01:52:32 +00:00