Frank Morgner
69320f9d54
Checks for out of bounds write
2015-09-17 22:24:33 +02:00
Frank Morgner
f08985086a
Fixes potential buffer overrun
2015-09-17 22:24:33 +02:00
Frank Morgner
69de207c21
Fixes bad type cast
2015-09-17 22:24:33 +02:00
Frank Morgner
59254d9d88
Checks on errors for ftell and fseek
2015-09-17 22:24:33 +02:00
Frank Morgner
b5de72fe13
fix potention NULL deref
2015-09-17 22:24:33 +02:00
Frank Morgner
63a9ad79b6
Assumes that p15card->card are set
...
The check for NULL was bogus anyway
2015-09-17 22:24:33 +02:00
Frank Morgner
8a225eb42b
Avoids potential NULL pointer deref
2015-09-17 22:24:33 +02:00
Frank Morgner
30d4f52718
Checks untrusted input
2015-09-17 22:24:33 +02:00
Frank Morgner
ba3890f8e0
Checks result of calloc
2015-09-17 22:24:33 +02:00
Frank Morgner
de58f51012
msc: check the length of input
2015-09-17 22:24:33 +02:00
Frank Morgner
547494f012
Merge pull request #552 from frankmorgner/innosetup
...
Improve the state of travis ci
2015-09-17 13:23:56 +02:00
Frank Morgner
bdb856ffa2
Merge pull request #553 from frankmorgner/488
...
added missing files to WiX installer
2015-09-17 13:23:14 +02:00
Frank Morgner
d20290d2b3
openpgp: match application, not ATR
...
fixes #391
closes #507
2015-09-16 09:48:23 +02:00
Robert Ou
b28c48afe0
Fix OpenPGP driver to work correctly with YubiKey NEO
2015-09-16 09:48:23 +02:00
Frank Morgner
8aba7b9598
added missing files to WiX installer
...
fixes https://github.com/OpenSC/OpenSC/issues/488
2015-09-16 04:18:12 +02:00
Frank Morgner
989c06b25d
OSX: don't ship with libp11/engine_pkcs11 anymore
...
both spin off projects should ship with a separate installer. See
discussion here https://github.com/OpenSC/OpenSC/issues/488
2015-09-16 03:52:00 +02:00
Frank Morgner
8fe8974333
Uses container based travis and caching
2015-09-16 03:52:00 +02:00
Frank Morgner
fcfb0cebee
build cross compiled installer with innosetup
2015-09-15 15:04:33 +02:00
Frank Morgner
a524b4a0e3
Removes obsolete windows installer files
2015-09-15 15:04:33 +02:00
Frank Morgner
69783f4e6c
Unifies project wide vendor/product strings
2015-09-15 15:04:32 +02:00
Frank Morgner
cc6d7677da
Merge pull request #550 from frankmorgner/appveyor
...
adjust Make.rules.mak to work with AppVeyor
2015-09-14 18:35:54 +02:00
Frank Morgner
bf654540c5
Merge pull request #545 from frankmorgner/duplicate
...
avoid registering pkcs11 mechanisms multiple times
2015-09-14 12:41:37 +02:00
Frank Morgner
d794baf0c6
Add workaround for canceling pending build jobs
...
As suggested here
https://github.com/appveyor/ci/issues/38#issuecomment-70628826
2015-09-14 07:49:51 +02:00
Frank Morgner
fb9dfc5b71
fixed warnings about possible data loss
2015-09-14 10:52:31 +02:00
Frank Morgner
f261426303
travis: cross compile for 64 bit windows
2015-09-14 10:52:31 +02:00
Frank Morgner
428385d8b4
adjust Make.rules.mak to work with AppVeyor
...
- The AppVeyor configuration of VS2014/VS2015 does not currently work
with this script
- We are using the pre-built zlib binaries. As consequence, we can build
the 32 bit installer only. Also, we can't use static linking anymore
- The current pre-built binaries of OpenSSL from
https://slproweb.com/products/Win32OpenSSL.html include security
measures (https://blogs.microsoft.com/cybertrust/2012/01/26/enhancements-to-gs-in-visual-studio-11/ )
that are not compatible with our version of VS `(error LNK2001:
unresolved external symbol ___report_rangecheckfailure)`. That's why
we can't use static linking anymore
works with
- OpenSSL 1.0.2
- zlib 2.1.8
- WiX 3.10
2015-09-14 10:52:31 +02:00
Frank Morgner
89be9d6e18
Merge pull request #303 from hongquan/gnuk
...
Gnuk support
2015-09-13 22:45:37 +02:00
Nguyễn Hồng Quân
76b6b483c7
Merge branch 'master' into gnuk
2015-09-13 22:09:59 +08:00
Frank Morgner
a906c6d7b8
Merge pull request #530 from NWilson/yubikey-neo-pin
...
Yubikey NEO pin functions support
2015-09-12 18:51:10 +02:00
Frank Morgner
5944915e0e
Merge pull request #549 from frankmorgner/547
...
fixed bad string comparison
2015-09-11 12:47:04 +02:00
Frank Morgner
0f2b9a4a4e
Merge pull request #543 from frankmorgner/appveyor
...
Use AppVeyor as good as we can
2015-09-10 16:40:58 +02:00
Frank Morgner
819a6686c9
use _WIN32 instead of WIN32
2015-09-10 15:23:18 +02:00
Frank Morgner
b40e2226b2
AppVeyor: build with cccl wrapper for windows
...
currently every job finally fails, but at least we can see most
compilation errors
2015-09-10 15:23:18 +02:00
Frank Morgner
17c0ffc17e
Merge pull request #520 from frankmorgner/vendor-product
...
added call back for getting vendor/product id
2015-09-10 09:41:07 +02:00
Frank Morgner
6e3f94b3c9
fixed bad string comparison
...
fixes #547
2015-09-10 08:31:30 +02:00
Frank Morgner
d551f9a8e0
avoid registering pkcs11 mechanisms multiple times
...
fixes #349
2015-09-07 09:53:02 +02:00
Frank Morgner
b0c1e1fc89
Merge pull request #540 from nioncode/readDataObjectRawOption
...
add '--raw' option to pkcs15-tools '--read-data-object'
2015-09-04 15:31:16 +02:00
Nicolas Schneider
e9b1b2e9e8
update pkcs15 documentation to describe --raw option
2015-09-04 13:09:54 +02:00
Nicolas Schneider
f44e229865
update help message to clarify that --raw only affects stdout behavior
2015-09-04 13:04:24 +02:00
Ludovic Rousseau
0930803300
add AppVeyor build status
...
For now it uses my own appveyor account.
Maybe it is possible to use an OpenSC team appveyor account or something like that instead.
2015-09-04 09:01:20 +02:00
Frank Morgner
1d4c384026
Merge pull request #542 from CardContact/fixv20
...
sc-hsm: Add status info support for SmartCard-HSM V2.0
2015-09-04 08:19:48 +02:00
Andreas Schwier
72e25db360
sc-hsm: Add status info support for SmartCard-HSM V2.0
2015-09-03 21:49:24 +02:00
Ludovic Rousseau
10aa2d8269
Merge pull request #541 from frankmorgner/appveyor
...
added appveyor configuration
2015-09-03 20:57:19 +02:00
Frank Morgner
69f92faec5
added appveyor configuration
2015-09-03 16:02:26 +02:00
Nicolas Schneider
68796edf36
add '--raw' option to output 8 bit data instead of its hex representation
2015-09-03 15:09:23 +02:00
Frank Morgner
a52b2928cd
retry on error with hdiutil
2015-09-03 08:22:50 +02:00
Frank Morgner
b2508b6c59
removed workaround for HP USB Smart Card Keyboard
...
Has been fixed by the CCID driver
https://lists.alioth.debian.org/pipermail/pcsclite-cvs-commit/2011-March/005218.html
2015-09-02 10:49:12 +02:00
Frank Morgner
cf2a9cbbb0
added call back for getting vendor/product id
...
implementation taken from
83142d4cae
2015-09-02 10:47:29 +02:00
Frank Morgner
29b85b43c0
Merge pull request #483 from adminmt/master
...
Update ATR and ATR mask for MaskTech smartcards
2015-09-02 10:41:06 +02:00
Andreas Kemnade
9456db90fc
handle record-based files correctly when doing file caching
...
implementation copied from `sc_pkcs15_read_file`
closes #372
2015-09-02 10:35:18 +02:00