Hannu Honkanen
fe2312dd19
myeid: fixed a bug in setting card->name
...
Fixed a bug in setting card->name in myeid_init and myeid_get_info:
The buffer containing the card name fell out of scope.
2016-03-31 13:33:28 +02:00
Viktor Tarasov
7f732d49b6
pkcs15: log parsed TokenInfo.serial
2016-03-31 13:24:17 +02:00
Viktor Tarasov
4b51d70969
tools: print OpenSC package version
2016-03-28 20:41:19 +02:00
Viktor Tarasov
696e4119a5
pkcs15-crypt: allow decipher for key with 'unwrap' usage
2016-03-28 19:59:28 +02:00
Doug Engert
81e91c70f3
Handle C and C++ "inline" and "restrict" keywords for various compilers
...
simclist.h is changed to either accept a predefined inline and/or
predefined restrict macro or tests for known compilers and sets
simclist_inline and simclist_restrict with the approprate keyword
for the compiler being used or defines them as blank.
The logic used is based on code in OpenSSL-1.1 e_os2.h
For example, "configure" could define inline and/or restrict.
But OpenSC is built on other platforms without a config.h and thus
changes to simclist.h are still needed.
simclist.c is changed by replacing inline with simclist_inline
and restrict with simclist_restrict.
The one and only use of inline in card-dnie.c is removed as there
is no need to have the function inline. This avoids any inline issues.
If inline is needed in other OpenSC code or in card-dnie.c,
simclist_inline could be used.
(Another option is to just remove all inline and restrict keywords
from OpenSC code.)
Changes to be committed:
modified: src/common/simclist.c
modified: src/common/simclist.h
modified: src/libopensc/card-dnie.c
2016-03-22 15:51:36 +01:00
Viktor Tarasov
2c763c49a2
appveyor: use GitHub auth-token from Ludovic Rousseau
2016-03-21 19:05:04 +01:00
Viktor Tarasov
bd1e7aa032
appveyor: only VSVER=12 configuration is left
2016-03-21 18:39:20 +01:00
Viktor Tarasov
4260401a5d
appveyor: update secure GitHub token
2016-03-21 09:33:41 +01:00
Viktor Tarasov
94e43b023d
appveyor: deploy section for relesase tags
2016-03-21 07:55:02 +01:00
Viktor Tarasov
6f667e0510
pkcs15: fix warning Wsign-compare
2016-03-21 07:55:02 +01: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
8b9ce2cf4a
coverity: INTEGER_OVERFLOW
2016-03-17 11:30:40 +01:00
Viktor Tarasov
463018207f
travis: build release branch
2016-03-16 16:25:02 +01:00
Viktor Tarasov
b233274151
branch to work on release 0.16.0
...
tag RC1
2016-03-16 15:10:59 +01:00
Viktor Tarasov
bd84e18f45
coverity-scan: supplement to #710
2016-03-15 19:10:52 +01:00
Viktor Tarasov
1329597e33
pkcs15: use file cache for path with AID
...
also try to resolve TOCTOU coverity-scan issue
Fix #709
2016-03-15 18:11:03 +01:00
Viktor Tarasov
220d80fcec
pkcs15: fix length of 'last-update' read
2016-03-15 17:42:09 +01:00
Viktor Tarasov
260b7711b9
coverity-scan: OVERRUN in ctbs.c
...
Fix #710
2016-03-15 17:40:15 +01:00
Frank Morgner
29a4f53162
added ISSUE_TEMPLATE
2016-03-11 21:06:43 +01:00
Viktor Tarasov
9a22f146f8
pkcs15: fix argument for 'read-tag' call
2016-03-10 11:39:59 +01:00
Viktor Tarasov
205acbd573
coverify-scan: muscle: use return value
2016-03-10 11:23:39 +01:00
viktorTarasov
a5550f980b
Merge pull request #706 from frankmorgner/npa-generic
...
generic changes from #611
2016-03-10 11:04:12 +01:00
Viktor Tarasov
1fb741338a
pkcs11: remove hot-plug-anb-play
...
updated version of PR #687
Discussion and motivation in PR #687 and PR #704
Fix #687
Fix #704
2016-03-10 10:43:18 +01:00
Andreas Schwier
3b330c6e98
Add minidriver options documentation
2016-03-10 10:37:18 +01:00
Andreas Schwier
29ccc2960d
sc-hsm: Enable minidriver read/write support
2016-03-10 10:37:11 +01:00
Viktor Tarasov
0838520b62
rtecp: fix delete private key
...
when deleting private key, delete also it's internal public part
Fix #671
Fix #705
2016-03-10 10:33:42 +01:00
Viktor Tarasov
f98c8cd37c
asn1: tagnum size has not exceed 3 bytes
...
3 bytes is the size of SC_ASN1_TAG_MASK used when composing
the asn1 templates with 'struct sc_asn1_entry'.
With this limitation maximal supported ASN.1 tag number is 2^^14-1 .
Fixed 'dead-code' coverity-scan issue.
Close #707
2016-03-10 10:13:27 +01:00
Viktor Tarasov
196e476330
coverity: check returned value
2016-03-07 18:30:56 +01:00
Frank Morgner
f1d19d09ab
AppVeyor: activate VS2015
2016-03-07 10:39:42 +01:00
Frank Morgner
ed504cb22f
OpenSC.msi: fixed compilation with VS2015
...
WiX 3.10 uses `__vsnprintf` which is deprecated since VS2015
2016-03-07 10:39:42 +01:00
Frank Morgner
221165d763
AppVeyor: include pdb files for Debug build
2016-03-07 10:39:42 +01:00
Frank Morgner
5403899444
use SCardGetAttrib to initialize reader's metadata
2016-03-07 10:39:42 +01:00
Frank Morgner
415f15e3e2
use autoconf metadata for PKCS#11 library
2016-03-07 10:39:42 +01:00
Frank Morgner
d41eaaea24
use ticks for strings
2016-03-07 10:39:42 +01:00
Frank Morgner
2e92ba8b70
use a conditional lib prefix for dll/so
2016-03-07 10:39:42 +01:00
Frank Morgner
c3527f4a5b
fixed dylib extensions
2016-03-07 10:39:42 +01:00
Frank Morgner
ef40021417
use sc_debug_hex for hexdump
2016-03-07 10:39:42 +01:00
Viktor Tarasov
2173450664
log: print file-id in 'create-file'
2016-03-06 19:28:59 +01:00
Frank Morgner
9985144d45
Merge pull request #702 from viktorTarasov/fix/issue700/invalid-parameter
...
pkcs11-tool: fix invalid parameter for 'find-mechanism'
2016-03-05 21:37:31 +01:00
Frank Morgner
34a69aeac8
Merge pull request #701 from CardContact/fix698
...
sc-hsm: Remove path for newly generated key pairs
2016-03-04 17:23:00 +01:00
Hannu Honkanen
91aad373be
Added a new ATR that will be used in some new MyEID cards
...
Closes https://github.com/OpenSC/OpenSC/pull/696
2016-03-04 17:20:37 +01:00
Hannu Honkanen
cf04d01676
Removed define MYEID_ECC_SUPPORT as unnecessary.
...
ECC support is determined by checking MyEID applet version.
2016-03-04 17:20:29 +01:00
Hannu Honkanen
2de41f4a6d
Added support for 521 bit ECC keys
...
Includes ECC related bux fixes.
2016-03-04 17:20:20 +01:00
Frank Morgner
1c0ab2a2d2
Merge pull request #697 from viktorTarasov/feature/package-revision
...
tools: print package revision
2016-03-04 17:14:26 +01:00
Viktor Tarasov
36b945aa22
tools: print package revision
2016-03-04 14:16:06 +01:00
Viktor Tarasov
998a1e10c5
pkcs11-tool: fix invalid parameter for 'find-mechanism'
...
Fixes #700
2016-03-04 11:30:51 +01:00
Ludovic Rousseau
a22aa427a5
Merge pull request #692 from LudovicRousseau/travis
...
travis: Increase the compilation warning level and fail on warning
2016-03-02 15:38:56 +01:00
Ludovic Rousseau
e631b9d697
travis: do not fail on error on Mac OS X
...
The compilation on Mac OS X using clang generates the warning:
clang: warning: argument unused during compilation: '-pthread'
This is because -pthread is passed during link and this argument is
unused.
This problem will be hard to fix.
The best for now is to NOT fail on warning :-(
2016-03-02 15:37:47 +01:00
Ludovic Rousseau
7d2d454160
travis: fail on compiler error
2016-03-02 15:37:47 +01:00
Ludovic Rousseau
68ee135e3c
Merge pull request #699 from LudovicRousseau/master
...
Fix compiler warnings
2016-03-02 15:35:41 +01:00