[pkg-opensc-commit] [libp11] branch upstream updated (b44fbff -> 3d79d4f)
Eric Dorland
eric at moszumanska.debian.org
Sat Oct 17 06:21:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
eric pushed a change to branch upstream
in repository libp11.
from b44fbff Imported libp11-0.2.8
adds aec66e9 add minimal structure
adds a0cbcae initial checkin of libp11.
adds 5278f69 document changes in cryptoki.h
adds 1533933 we don't need those files.
adds e6ec80b we only have a Makefile.mak in src/ currently.
adds a81a6eb fix building out of tree.
adds ec448de export serial number, patch by Douglas de Oliveira Mendes
adds e68d364 oops, top_srcdir of course.
adds cd44e40 move PKCS11_open_session() from libp11-int.h to libp11.h
adds 4fc1a88 migrate to ltdl.
adds 5f18222 chmdoe to 755.
adds 7105a66 use "wget --no-verbose" to NOT get many debug information and the progress bar
adds 293c46f add the URL documenting the use of ltdl to help understand this black magic
adds a17e1ce use a 3 digits version number (instead of 2) and start with 0.1.0
adds c6e0d92 convert line endings.
adds 13e8c68 fix makefile to compile all files.
adds a7ba18c fix compiling libpkcs11.c file.
adds 5b2ecad #include "libp11-int.h" to get/check the prototypes of the defined functions
adds 000107e struct sc_pkcs11_module: handle field is lt_dlhandle not (lt_dlhandle *) since lt_dlopen returns a lt_dlhandle
adds 1d8ea27 do not use AC_LIBLTDL_INSTALLABLE but check for libltdl instead
adds c246fc9 remove libltdl from SUBDIRS remove maintainer-clean-local rule (was "rm -rf libltdl")
adds f8d97cb do not use @LTDLINCL@ and @LIBLTDL@ anymore
adds e2f2084 check for ltdl.h using AC_CHECK_HEADERS
adds e06c99c pack the structures only on Windows
adds f3b1b8e C_UnloadModule(): call lt_dlexit() after lt_dlclose()
adds d183063 remove --ltdl argument from libtoolize
adds c6132e5 snapshot script currently works only with "WIP", sorry.
adds cd30f1b add examples/ subdirectory.
adds c999be1 improve code: - reindent - display slot information - display error messages
adds 21b32c7 remove documentation from svn. update build mechanism.
adds 9bc1f71 remove nslots and slots from PKCS11_CTX. ask user to free slots.
adds b9003c5 update example to fit libp11 changes.
adds afa5d34 do not include libltdl, require it instead. create documentation on "make dist".
adds 9900e17 rename the destroy_slots and destroy_all_slots to "release" ... functions. make release_slot internal again. free slots aray in release_all_slots.
adds 279288c update example to match latest library changes.
adds c7a76b4 add doxygen config file and api documentation.
adds 6262b7c dd doxygent config file and script to generate doxygen documentation.
adds d1783bc fix path to header files.
adds 9555768 fix renaming destroy to release.
adds ad80a74 oops, missed another one.
adds 28414f0 oops, made it internal. fix name again.
adds c076cab dist-hook: is too late, need to generate the documentation before automake "make dist" copied files around.
adds 26afe0e "doc" does not work well, it is the subdirectory name.
adds ef205c1 another try to get "make dist" documentation generateion right.
adds 644a836 add m4 macro packages used by libp11.
adds 46c8ada improved libltdl detection. fix finding OPENSSL.
adds 582f812 aclocal -I aclocal/ (as suggested by Ralf Wildenhues)
adds 70b510a AC_SUBSTed variables are better used with $(..). Thanks to Ralf Wildenhues.
adds 536fee4 fix AC_MSG_ERROR usage. thanks to Ralf Wildenhues.
adds b051a52 we use libtool for linking, so it can calucalte the dependencies using LTLIBLTDL better. Thanks to Ralf Wildenhues.
adds bff1707 use -nv instead of --non-verbose since wget 1.10 now uses --no-verbose instead. Grr!
adds 48cd16f fixes to make it compile on windows.
adds dc3c307 incompatible change: one parameter marked const.
adds 102414e adding libtool.m4 was a bad idea and causes problems. undo.
adds 93ebbab filter functions to be listed in windows *.def file.
adds ca14945 add m4 packages to tar.gz
adds 4427983 make generate-api.sh executable
adds 0ea94d7 add some Doxygen documentation
adds 8de4861 add real auth example. add getrandom example.
adds 6f803e8 add #include <string.h> since we use strlen() and memse()
adds ce8b9a1 nslots, ncerts, siglen are _unsigned_ int (avoids 3 compiler warnings)
adds 8dd2bca add an example for decryption. however it doesn't work, will ask nils for advice how to get the openssl part right.
adds 16a316e make it work (at least for me ;-) + some cleanup
adds 9fe2db2 fix some memory leaks
adds fdab0c1 we need to free the ex_data as well
adds b8e8696 fix memory leak: free _private data as well when destroying a cert/key object
adds a05db38 fix memory leak, indent
adds c608973 remove warnings, fix memory leaks and use only 20 bytes as a sha-1 hash
adds ac5335f patch by Nils: fix memory leaks, improve documentation.
adds 4c00c28 add ChangeLog file via svn2cl.
adds fc6cbf4 add files to generate ChangeLog.
adds a8c1bb9 add function to store certificates.
adds 28c20cd functions added only, i.e. still ABI compatible.
adds f76e8bb export one additional function.
adds 4bb90ac use @retval instead of @return
adds 110f022 set the executable bit
adds 7d967bc avoid a compilation warning
adds 591113c kill some dead code.
adds 3233592 experiment with svn version number.
adds c03b8ba enable keywords.
adds beed877 move to opensc-project.org till opensc.org dns is back.
adds e871b4a simply the revision, drop the m4 code. it didn't turn out the way I wanted it (does not contain the _repository_/_branch_ revision).
adds 4e693eb dynamically allocate slots, as suggested by Thomas Irlet
adds 41b42f7 fix windows build.
adds e7dd483 RSA_PKCS1_PADDING is a constant to differentiate it from other padding types. where length is compared we meant to use RSA_PKCS1_PADDING_SIZE. Bug found, fixed and reported by Tomoko Fukuzawa.
adds 3249207 trunk is for developing past 0.2.2
adds 0c466bb fix bug causing a core dump.
adds b2d09c2 remove unused variables.
adds dcacb3c add code to store private key by Alexander Starostin <assur at esc.ru>
adds af542d4 replace rsa header files with rewrite.
adds 0cfd3a4 pkcs11.h with updates from Alon.
adds 1e5decf update to latest pkcs11.h from Markus.
adds 63e2687 add fixes by Nils.
adds aed99ee update to latest pkcs11.h revision.
adds 35e0201 use utf-8/ascii.
adds 6aed5d1 add a Doxygen comment for PKCS11_generate_key() bits argument
adds b5ccef5 Risto Laanoja: possible free(NULL) on specific case
adds 94774d6 Risto Laanoja: Make ..USER_ALREADY_LOGGED_IN nonfatal. (There is long comment in engine_pkcs11.c about this topic). I think it is correct way to deal with multiple logins and possibility of token replacement.
adds 85b40f9 kill warnings / make functions static.
adds 7e64fba mark more internal functions as static.
adds 301fe99 fix header file.
adds 0918b2b fix more compiler warnings.
adds f5c7ccd fix header file again.
adds 91c8d74 fix another warning.
adds f16e060 update pkcs11.h header file from scute.
adds 10703fa prepare for new release.
adds 4be38fa "frain" reported: libp11 fails at enumerating tokens if a PKCS#11 library returns CKR_TOKEN_NOT_RECOGNIZED on a C_GetTokenInfo call. The attached patch causes libp11 to treat slots containing unrecognized tokens as empty slots during token enumeration, letting the enumeration succeed even if unrecognized tokens are present.
adds 25772a2 add NEWS and COPYING to distribution. target saturday for release.
adds 603ceb6 pkcs11.h is now in the current directory.
adds 6a0c014 update wiki export scripts.
adds bc77a28 testing needed more time.
adds 0a7d1fb trunk is now post 0.2.3 release.
adds 20497e8 doxygen cleanups
adds f078667 New build system
adds a97b362 libp11 MSVC fixups
adds 70ae43a Distribute files for MSCV
adds 09863f3 afxres.h is not needed
adds 02914aa Fixup MSVC resource build. By Douglas E. Engert
adds 6bf9fad More fixups to maintainer-clean
adds 68ab791 Add --force to autoreconf
adds 8f0601d Include winresrc.h
adds 7ded8a2 Fixup configure help strings
adds f7f9fa4 Prepare for libtool-2
adds aa5f8d5 Some more cleanups
adds cb4bff5 More aclocal->m4
adds 12631b7 Detect libtool-1 or libtool-2 at runtime
adds 887f35a David Smith: While working on adding PKCS#11 support to Gnome's Network Manager project, it was found that being able to specify the pReserved member of CK_C_INITIALIZE_ARGS_PTR to C_Initialize is probably necessary in wpasupplicant, an engine-pkcs11 consumer. This support did not exist in libp11 and engine-pkcs11, so I've attached a patch that adds a new function in libp11, PKCS11_CTX_init_args, and a new engine command, CMD_INIT_ARGS.
adds 3b522d9 Update news too.
adds 81a93c0 We added a function, so we need to increase the minor number.
adds d66414a Ah, fix these number for libtool.
adds f251626 Arnaud Ebalard: implement PKCS11_private_encrypt() and make PKCS11_sign() use it. The overall behaviour of PKCS11_sign() should not be modified.
adds b0385dc Update NEWS
adds 2912997 Export missing symbol
adds 379e3ad Update news file.
adds 5494942 update export script.
adds ac9d44f fix segfault in new code.
adds f71b992 Remove gcc specifics
adds 68d5fa5 Stanislav Brabec: As documentation says, PKCS11_CTX_init_args() returns "none". In the implementation it really returns none (i. e. it is void), but in both declaration and header it is declared as "void*" (i. e. non-void). I suspect that it was really intended as void.
adds 259c6b7 Stanislav Brabec: As previous patches changed ABI (at least on x86_64), increasing of soname is required. next patch will break ABI too, one soname increase for both together.
adds 47b872b Switch from using int for size arguments to size_t. This change breaks ABI on 64bit plattforms (we increased the library minor/major numbers in the last commit already). patch submitted by Stanislav Brabec.
adds 1888f64 Don't remove external files on distclean
adds accb66f Handle svn checkout detection correctly when srcdir is different
adds 8ce7ac8 mingw32->mingw*
adds ab3cd08 Fix doc build issues 1. VPATH issue. 2. Parallel build issue, suggested by Ludovic Rousseau.
adds b737da4 Add PACKAGE_SUFFIX
adds 6c135dd add new function to export slot id.
adds c98df2f we branched for 0.2.5, new development gets -svn suffix.
adds 2cf584c export the new function too.
adds 02cfe15 Kalev Lember: add Makefile.mak and winconfig.h for building with MSVC.
adds f95c7b5 prepare release 0.2.6.
adds d2e432c trunk is now post 0.2.6
adds ee4ad5e make libp11 swallow CKR_CRYPTOKI_ALREADY_INITIALIZED if returned from C_Initialize(). It's an informational message and should not be bubbled up to the caller. By Daniel Smith.
adds 6a13120 Create new release 0.2.8
adds e09135a Update News too.
adds 80a8239 Next release will be 0.2.8, trunk is "-svn" preview.
adds 201fb4d Fix ticket #137: check that private data is not NULL
adds 2398c56 Add missing token flags into libp11 structure.
adds c5e88fd Fix building examples on newest Fedora.
adds f2b9976 Add openssl libcrypto to pkg-config private libs list to make sure that apps which link against static libp11 have -lcrypto on linker command line.
adds 19404ea Display the number of available slots
adds 7d56d89 Release 0.2.8
adds 20d08fe trunk is 0.2.9-svn
adds 9c837e4 Do not set private to C_Initialize unless actually have one
adds 1c528e9 Remove ltdl usage
adds 935bb95 Resolve trivial warnings
adds 95ccb5a Fix warning of sign mismatch, but probably there is a bug here
adds 59a7ce4 Fix warnings, integer sign related
adds 7ad11e6 Fix openssl interface incompatibility, trivial const
adds df758cc Create a m4 directory if not already present
adds fb96b9c Silent build by default
adds 39b8459 build: -svn->_git suffix
adds 5709daf build: add m4 directory needed by recent libtool
adds 26abb7d build: use ifdef and not m4_ifdef for silent rules
adds 3b1c7ca build: remove automake depreciated syntax
adds 5142573 layout: create .gitignore out of svnignore
adds e22e3b0 build: remove embedded wiki docs
adds ab6306e Merge pull request #5 from alonbl/build
adds ff1b48c ECDSA support
adds 1f0aa4a Merge pull request #13 from dengert/ecc
adds 11d644b Fix using older OpenSSL without adding the libp11 ECDSA code
adds 49ca832 Merge pull request #14 from dengert/ecc
adds a3469ee Issue #15 Correction
adds 6af78fd Merge pull request #16 from gautric/master
adds 144f371 Fix crash on attempting to load non-existent module
adds 9f43302 Increase maximum size of X.509 certificate
adds 9b266fd ECDSA reference count issues caused engine_pkcs11 to not shutdown
adds 541b596 Merge pull request #17 from dengert/EC_ref_count
adds 4079847 Update p11_ec.c
adds 43613aa Merge pull request #23 from 45264/patch-1
adds cb77ace removed unused variable in PKCS11_CTX_private
adds ecb83da When a fork is detected, the PKCS #11 modules will be reinitialized.
adds 730657b Use locks to protect forkid checks
adds 0a20a76 Avoid deadlock in PKCS11_open_session
adds fe211c1 Use same conventions for non-exported functions
adds e5aa18c Added error checking in PKCS11_CTX_new()
adds 342d0b8 removed references to gnutls
adds 67a7401 Merge pull request #25 from nmav/after-fork
adds 5853cc9 Any size cert
adds 0509059 Merge pull request #26 from dengert/cert_size
adds fc86004 reload the key object on fork
adds 72ce36a remove any mutex locks; the library is by design non-thread safe
adds 61de9ce examples: auth: allow PIN from command line
adds 987e183 examples: auth: authenticate prior to any listing
adds c9e9239 Added minimal test suite
adds 53974c1 Ignore the test suite generated files
adds 556687d examples: Add OPENSSL_LIBS in LDADD
adds 9ead9b5 tests: added check for operation under fork
adds eadf818 atfork: include unistd for getpid() and check for __register_atfork
adds 0ab1b61 Tell PKCS#11 modules that using OS locking primitives is OK
adds 56ca6a7 Fix two memory leaks with init_args
adds 8641b10 README: updated URL and mention that the library isn't thread safe
adds 5974c00 NEWS: updated text for release and bumped version to 0.3.0
adds a9b220d Get public exponent from public key, if private key doesn't contain it.
adds a4df22b README.md: added
adds d603580 Allow RSA_NO_PADDING padding mode in PKCS11_private_encrypt.
adds b9d52f0 Added new example pgm "rawrsasign.c".
adds c25d910 tests: added more descriptive output text in testpkcs11.softhsm
adds cdf29a7 tests: include srcdir into include path
adds 9b626a7 Added travis.yml
adds c38c1ed Added additional path of libsofthsm
adds b5daf23 tests: check for libsofthsm in more paths
adds 09d37a0 p11_key.c: removed unused definition
adds c93400d updated NEWS
adds 1ba57c6 Eliminated hard coded limit for pkcs11_getattr_bn()
adds baf4766 updated NEWS
adds 7ab10ee updated README information
adds 6f71240 released 0.3.0
adds d8198e6 added _git suffix
adds 7fc9788 removed unused variables
adds b2ac833 examples: removed call to ERR_remove_state()
adds 5be510c Merge the original 'upstream' branch with upstream's new master branch
adds 3d79d4f Imported Upstream version 0.3.0
No new revisions were added by this update.
Summary of changes:
svnignore => .gitignore | 21 +-
Makefile.am | 8 +-
Makefile.in | 446 ++-
NEWS | 13 +
README.md | 24 +
aclocal.m4 | 774 ++--
bootstrap | 1 +
compile | 347 ++
config.guess | 565 ++-
config.h.in | 6 +
config.sub | 317 +-
configure | 4088 ++++++++++++--------
configure.ac | 94 +-
depcomp | 531 ++-
doc/Makefile.am | 7 +-
doc/Makefile.in | 421 +-
doc/README | 10 -
doc/nonpersistent/ChangeLog | 824 ----
doc/nonpersistent/Makefile.am | 59 -
doc/nonpersistent/Makefile.in | 484 ---
doc/nonpersistent/export-wiki.sh | 71 -
doc/nonpersistent/export-wiki.xsl | 58 -
doc/nonpersistent/svn2cl.xsl | 295 --
doc/nonpersistent/wiki.out/AuthorsAndCredits.html | 6 -
doc/nonpersistent/wiki.out/MailingLists.html | 6 -
doc/nonpersistent/wiki.out/PageTemplates.html | 6 -
doc/nonpersistent/wiki.out/QuickStart.html | 6 -
doc/nonpersistent/wiki.out/ResourcesLinks.html | 6 -
doc/nonpersistent/wiki.out/SubversionReposity.html | 6 -
doc/nonpersistent/wiki.out/index.html | 6 -
doc/nonpersistent/wiki.out/trac.css | 624 ---
examples/Makefile | 7 -
examples/Makefile.am | 10 +
examples/Makefile.in | 627 +++
examples/auth.c | 82 +-
examples/rawrsasign.c | 301 ++
install-sh | 385 +-
ltmain.sh | 4038 ++++++++++++-------
m4/libtool.m4 | 2287 +++++++----
m4/ltoptions.m4 | 32 +-
m4/ltversion.m4 | 12 +-
m4/lt~obsolete.m4 | 12 +-
missing | 461 +--
src/Makefile.am | 8 +-
src/Makefile.in | 445 ++-
src/Makefile.mak | 9 +-
src/atfork.c | 88 +
src/atfork.h | 63 +
src/libp11-int.h | 65 +-
src/libp11.exports | 2 +
src/libp11.h | 20 +-
src/libpkcs11.c | 54 +-
src/p11_attr.c | 42 +-
src/p11_cert.c | 21 +-
src/p11_ec.c | 326 ++
src/p11_key.c | 88 +-
src/p11_load.c | 64 +-
src/p11_ops.c | 105 +-
src/p11_rsa.c | 31 +-
src/p11_slot.c | 116 +-
src/versioninfo.rc | 4 +-
test-driver | 148 +
tests/Makefile.am | 25 +
tests/Makefile.in | 1034 +++++
tests/cert.der | Bin 0 -> 805 bytes
tests/common.sh | 96 +
examples/auth.c => tests/fork-test.c | 78 +-
tests/key.der | Bin 0 -> 1191 bytes
tests/testfork.softhsm | 32 +
tests/testpkcs11.softhsm | 40 +
70 files changed, 12781 insertions(+), 8607 deletions(-)
rename svnignore => .gitignore (68%)
create mode 100644 README.md
create mode 100755 compile
delete mode 100644 doc/README
delete mode 100644 doc/nonpersistent/ChangeLog
delete mode 100644 doc/nonpersistent/Makefile.am
delete mode 100644 doc/nonpersistent/Makefile.in
delete mode 100755 doc/nonpersistent/export-wiki.sh
delete mode 100644 doc/nonpersistent/export-wiki.xsl
delete mode 100755 doc/nonpersistent/svn2cl.xsl
delete mode 100644 doc/nonpersistent/wiki.out/AuthorsAndCredits.html
delete mode 100644 doc/nonpersistent/wiki.out/MailingLists.html
delete mode 100644 doc/nonpersistent/wiki.out/PageTemplates.html
delete mode 100644 doc/nonpersistent/wiki.out/QuickStart.html
delete mode 100644 doc/nonpersistent/wiki.out/ResourcesLinks.html
delete mode 100644 doc/nonpersistent/wiki.out/SubversionReposity.html
delete mode 100644 doc/nonpersistent/wiki.out/index.html
delete mode 100644 doc/nonpersistent/wiki.out/trac.css
delete mode 100644 examples/Makefile
create mode 100644 examples/Makefile.am
create mode 100644 examples/Makefile.in
create mode 100644 examples/rawrsasign.c
mode change 100755 => 100644 ltmain.sh
create mode 100644 src/atfork.c
create mode 100644 src/atfork.h
create mode 100644 src/p11_ec.c
create mode 100755 test-driver
create mode 100644 tests/Makefile.am
create mode 100644 tests/Makefile.in
create mode 100644 tests/cert.der
create mode 100644 tests/common.sh
copy examples/auth.c => tests/fork-test.c (87%)
create mode 100644 tests/key.der
create mode 100755 tests/testfork.softhsm
create mode 100755 tests/testpkcs11.softhsm
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/libp11.git
More information about the pkg-opensc-commit
mailing list