summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Stefan Walter [Mon, 5 Jan 2009 05:05:44 +0000 (05:05 +0000)]
Release 2.25.4
* configure.in:
* NEWS:
* daemon/Makefile.am:
* pkcs11/gck/tests/Makefile.am:
* pkcs11/rpc-layer/Makefile.am:
* pkcs11/ssh-agent/gck-ssh-agent-standalone.c: Release 2.25.4
svn path=/trunk/; revision=1433
Stefan Walter [Mon, 5 Jan 2009 04:29:23 +0000 (04:29 +0000)]
Fine tune function signatures.
* gp11/gp11.h:
* gp11/gp11-module.c:
* gp11/tests/unit-test-gp11-module.c: Fine tune function signatures.
svn path=/trunk/; revision=1432
Stefan Walter [Mon, 5 Jan 2009 03:59:24 +0000 (03:59 +0000)]
Add gp11_module_enumerate_objects set of functions which enumerates all
* gp11/gp11.h:
* gp11/gp11-call.c:
* gp11/gp11-module.c:
* gp11/gp11-private.h:
* gp11/gp11-session.c:
* gp11/gp11-slot.c:
* gp11/tests/unit-test-gp11-crypto.c:
* gp11/tests/unit-test-gp11-module.c:
* gp11/tests/unit-test-gp11-session.c: Add gp11_module_enumerate_objects
set of functions which enumerates all objects of a given type on a token.
Move 'auto-authenticate' and session pool to the module level.
svn path=/trunk/; revision=1431
Stefan Walter [Sat, 3 Jan 2009 22:57:54 +0000 (22:57 +0000)]
Add method to initialize module from a function list.
* gp11/gp11.h:
* gp11/gp11-module.c: Add method to initialize module from a function list.
svn path=/trunk/; revision=1418
Stefan Walter [Tue, 30 Dec 2008 02:18:02 +0000 (02:18 +0000)]
Add support for specifying custom allocators on GP11Attributes, and fine
* gp11/gp11.h:
* gp11/gp11-attributes.c:
* gp11/gp11-object.c:
* gp11/gp11-private.h:
* gp11/gp11-session.c:
* gp11/tests/Makefile.am:
* gp11/tests/unit-test-gp11-attributes.c:
* gp11/tests/unit-test-gp11-crypto.c:
* gp11/tests/unit-test-gp11-object.c:
* tool/gkr-tool-import.c: Add support for specifying custom allocators
on GP11Attributes, and fine tune how gp11_object_get_* work. Add
concept of locked attribute arrays with guarantees of application to
not modify while we're processing them.
svn path=/trunk/; revision=1414
Stefan Walter [Mon, 29 Dec 2008 06:46:36 +0000 (06:46 +0000)]
Add crypto support to GP11 library. Add support for auto-login of context
* gp11/gp11.h:
* gp11/gp11-call.c:
* gp11/gp11-marshal.list:
* gp11/gp11-object.c:
* gp11/gp11-private.h:
* gp11/gp11-session.c:
* gp11/gp11-slot.c:
* gp11/tests/gp11-test.h:
* gp11/tests/gp11-test-module.c:
* gp11/tests/Makefile.am:
* gp11/unit-test-gp11-crypto.c:
* gp11/unit-test-gp11-session.c: Add crypto support to GP11 library.
Add support for auto-login of context specific unlock of keys. Rework
how auto-login of a token works.
svn path=/trunk/; revision=1413
Stefan Walter [Sat, 27 Dec 2008 18:29:23 +0000 (18:29 +0000)]
Add basic thread-safety.
* gp11/gp11.h:
* gp11/gp11-call.c:
* gp11/gp11-marshal.list:
* gp11/gp11-misc.c:
* gp11/gp11-module.c:
* gp11/gp11-object.c:
* gp11/gp11-session.c:
* gp11/gp11-slot.c:
* gp11/tests/unit-test-gp11-module.c:
* gp11/tests/unit-test-gp11-object.c:
* gp11/tests/unit-test-gp11-session.c: Add basic thread-safety.
svn path=/trunk/; revision=1411
Stefan Walter [Sun, 21 Dec 2008 17:15:37 +0000 (17:15 +0000)]
Fix possible threading problems, by using proper class finalizer, and
* gp11/gp11-private.h:
* gp11/gp11-call.c: Fix possible threading problems, by using
proper class finalizer, and hiding all instance details.
* gp11/gp11-object.c: Fix possible reference counting problem.
* gp11/gp11-slot.c:
* gp11/tests/unit-test-gp11-object.c: Fix test reference problems.
svn path=/trunk/; revision=1402
Stefan Walter [Wed, 17 Dec 2008 19:55:48 +0000 (19:55 +0000)]
There was a problem when the main loop wasn't being run for periods of
* gp11/gp11-call.c: There was a problem when the main loop
wasn't being run for periods of time, things would backup.
Now we process a result for every async call we make.
* gp11/gp11-object.c:
* gp11/gp11-slot.c: Object lifetime fixes.
svn path=/trunk/; revision=1392
Stefan Walter [Sun, 14 Dec 2008 00:39:44 +0000 (00:39 +0000)]
gp11/gp11.h
* gp11/gp11.h
* gp11/gp11-call.c:
* gp11/gp11-object.c:
* gp11/gp11-private.h:
* gp11/gp11-session.c:
* gp11/gp11-slot.c:
* gp11/gp11-test-gp11-object.c: Don't tie an object to a session unless
explicitly requested. Automatically open a session for object operations
(usually pooled).
svn path=/trunk/; revision=1388
Stefan Walter [Tue, 4 Nov 2008 12:54:32 +0000 (12:54 +0000)]
Remove usage of deprecated glib stuff.
* configure.in:
* gp11/tests/gp11-test.h:
* common/gkr-location.c: Remove usage of deprecated glib stuff.
svn path=/trunk/; revision=1362
Stefan Walter [Sat, 20 Sep 2008 22:22:57 +0000 (22:22 +0000)]
Release version 2.24.0
* ChangeLog:
* configure.in:
* NEWS:
* gp11/reference/Makefile.am: Release version 2.24.0
svn path=/trunk/; revision=1344
Stefan Walter [Thu, 18 Sep 2008 02:19:47 +0000 (02:19 +0000)]
Update documentation for functions in gp11 library.
* gp11/gp11-module.c:
* gp11/gp11-object.c:
* gp11/gp11-session.c:
* gp11/gp11-slot.c:
* gp11/reference/Makefile.am:
* gp11/reference/gp11-docs.sgml:
* gp11/reference/gp11-sections.txt:
* gp11/reference/gp11-undeclared.txt:
* gp11/reference/tmpl/gp11-unused.sgml: Update documentation
for functions in gp11 library.
svn path=/trunk/; revision=1336
Stefan Walter [Sun, 14 Sep 2008 22:35:43 +0000 (22:35 +0000)]
Add init_args field. (gp11_module_initialize): Use init_args structure
* gp11/gp11-module.c (GP11ModulePrivate): Add init_args field.
(gp11_module_initialize): Use init_args structure from private
structure since at least one PKCS#11 module (opensc) requires
that the init_args argument persists in memory.
svn path=/trunk/; revision=1327
Stefan Walter [Sun, 7 Sep 2008 15:09:09 +0000 (15:09 +0000)]
Build fix for Solaris. Fixes bug #550943. Patch by Jeff Cai.
* gp11/gp11-slot.c: Build fix for Solaris.
Fixes bug #550943. Patch by Jeff Cai.
svn path=/trunk/; revision=1304
Stefan Walter [Sun, 31 Aug 2008 20:16:23 +0000 (20:16 +0000)]
Complete some more documentation.
* gp11/gp11-misc.c:
* gp11/gp11-module.c: Complete some more documentation.
svn path=/trunk/; revision=1284
Stefan Walter [Sun, 31 Aug 2008 18:17:36 +0000 (18:17 +0000)]
Use a more easily translatable message for CKR_RANDOM_SEED_NOT_SUPPORTED.
* gp11/gp11-misc.c: Use a more easily translatable message
for CKR_RANDOM_SEED_NOT_SUPPORTED.
svn path=/trunk/; revision=1281
Stefan Walter [Thu, 28 Aug 2008 03:13:42 +0000 (03:13 +0000)]
Added start of documentation for the GP11 library.
* gp11/Makefile.am:
* gp11/gp11-attributes.c:
* gp11/gp11.h:
* gp11/reference/*: (added) Added start of documentation for the
GP11 library.
svn path=/trunk/; revision=1280
Stefan Walter [Thu, 28 Aug 2008 02:56:34 +0000 (02:56 +0000)]
Missing file from previous commit
svn path=/trunk/; revision=1277
Stefan Walter [Thu, 28 Aug 2008 02:42:21 +0000 (02:42 +0000)]
Make sure we use the UTC time when converting time from PKCS#11.
* gp11/gp11-slot.c: Make sure we use the UTC time when
converting time from PKCS#11.
svn path=/trunk/; revision=1275
Stefan Walter [Sat, 23 Aug 2008 04:02:25 +0000 (04:02 +0000)]
Fix build problem with string formats to g_set_error.
* gp11/gp11-call.c: Fix build problem with string formats
to g_set_error.
svn path=/trunk/; revision=1261
Stefan Walter [Sun, 17 Aug 2008 16:20:55 +0000 (16:20 +0000)]
Add license comments to top of files.
* gp11/gp11-attributes.c:
* gp11/gp11-call.c:
* gp11/gp11-misc.c:
* gp11/gp11-module.c:
* gp11/gp11-object.c:
* gp11/gp11-private.h:
* gp11/gp11-session.c:
* gp11/gp11-slot.c:
* gp11/gp11.h: Add license comments to top of files.
svn path=/trunk/; revision=1249
Stefan Walter [Sun, 17 Aug 2008 16:09:52 +0000 (16:09 +0000)]
gp11/gp11.h
* gp11/gp11-attributes.c:
* gp11/gp11-misc.c:
* gp11/gp11-object.c:
* gp11/gp11-private.h:
* gp11/gp11-session.c:
* gp11/gp11-slot.c:
* gp11/gp11.h
* gp11/tests/unit-test-gp11-object.c:
* gp11/tests/unit-test-gp11-slot.c:
* tool/gkr-tool-import.c: Use gulong for all CK_ULONG derived
types in PKCS#11. Fixes bug #547830
svn path=/trunk/; revision=1248
Stefan Walter [Sun, 3 Aug 2008 20:35:04 +0000 (20:35 +0000)]
Add concept of invalid attributes. Don't throw error when some attributes
* gp11/gp11-attribute.c:
* gp11/gp11-call.c:
* gp11/gp11-object.c:
* gp11/gp11-private.h:
* gp11/gp11-session.c:
* gp11/gp11-slot.c:
* gp11/gp11.h: Add concept of invalid attributes. Don't throw error
when some attributes of a multi attribute retrieval are invalid.
Call async ready callbacks with right object.
* daemon/data/gnome-keyring.schemas.in: Add gconf schema for
noting the PKCS#11 objects for the current user.
svn path=/trunk/; revision=1216
Stefan Walter [Sun, 3 Aug 2008 17:03:01 +0000 (17:03 +0000)]
More fine tuning of GP11 library. Add missing functions. Clarify date
* gp11/gp11-attributes.c:
* gp11/gp11-object.c:
* gp11/gp11-session.c:
* gp11/gp11-slot.c:
* gp11/gp11.h:
* gp11/tests/unit-test-gp11-attributes.c: More fine tuning of GP11
library. Add missing functions. Clarify date handling.
svn path=/trunk/; revision=1213
Stefan Walter [Sun, 3 Aug 2008 15:02:25 +0000 (15:02 +0000)]
Fine tune GP11 library. Make attribute data be guchar, and install gnome
* gp11/gp11-attributes.c:
* gp11/gp11.h:
* gp11/gp11.pc.in:
* pkcs11/Makefile.am: Fine tune GP11 library. Make attribute
data be guchar, and install gnome PKCS#11 header. Set proper
version on the library.
svn path=/trunk/; revision=1212
Stefan Walter [Mon, 28 Jul 2008 03:50:18 +0000 (03:50 +0000)]
Fix text problems highlighted by Claude Paroz Fixes bug #545030.
* daemon/pk/gkr-pk-storage.c:
* daemon/ssh/gkr-ssh-storage.c:
* gp11/gp11-misc.c: Fix text problems highlighted by Claude
Paroz
Fixes bug #545030.
svn path=/trunk/; revision=1205
Stefan Walter [Fri, 25 Jul 2008 17:33:29 +0000 (17:33 +0000)]
Build fixes. Fixes bug #544407
* gp11/gp11-module.c: Build fixes. Fixes bug #544407
svn path=/trunk/; revision=1203
Stefan Walter [Thu, 24 Jul 2008 17:30:50 +0000 (17:30 +0000)]
Add ability to gnome-keyring module to pass in the socket using the
* gp11/gp11.h:
* gp11/gp11-module.c:
* gp11/tests/unit-test-gp11-module.c:
* gp11/tests/unit-test-gp11-object.c:
* gp11/tests/unit-test-gp11-session.c:
* gp11/tests/unit-test-gp11-slot.c:
* pkcs11/gkr-pkcs11-module.c:
* pkcs11/Makefile.am:
* pkcs11/tests/Makefile.am:
* pkcs11/tests/unit-test-pkcs11-initialize.c:
* configure.in: Add ability to gnome-keyring module to pass in the
socket using the reserved argument. This is similar to how NSS
libsoftkn3 likes to be initialized.
svn path=/trunk/; revision=1200
Stefan Walter [Thu, 24 Jul 2008 04:12:39 +0000 (04:12 +0000)]
Build fix
* gp11/gp11-attributes.c: Build fix
svn path=/trunk/; revision=1199
Stefan Walter [Mon, 21 Jul 2008 22:24:57 +0000 (22:24 +0000)]
Release 2.23.5
* gp11/Makefile.am:
* configure.in:
* NEWS: Release 2.23.5
svn path=/trunk/; revision=1192
Stefan Walter [Sun, 20 Jul 2008 02:56:06 +0000 (02:56 +0000)]
Auto login of sessions when and where necessary.
* gp11/gp11.h:
* gp11/gp11-call.c:
* gp11/gp11-marshal.list:
* gp11/gp11-private.h:
* gp11/gp11-session.c:
* gp11/gp11-slot.c:
* gp11/Makefile.am:
* gp11/tests/gp11-test-module.c:
* gp11/tests/unit-test-gp11-session.c: Auto login of sessions when
and where necessary.
svn path=/trunk/; revision=1185
Stefan Walter [Sat, 19 Jul 2008 21:54:02 +0000 (21:54 +0000)]
Missing file from last commit.
svn path=/trunk/; revision=1184
Stefan Walter [Sat, 19 Jul 2008 21:53:39 +0000 (21:53 +0000)]
gp11/gp11.h
* gp11/gp11.h
* gp11/gp11.pc.in:
* gp11/gp11-call.c:
* gp11/gp11-private.h:
* gp11/gp11-session.c:
* gp11/gp11-slot.c:
* gp11/Makefile.am:
* gp11/tests/unit-test-gp11-session.c: Add ability to reuse sessions,
in a simple pool.
svn path=/trunk/; revision=1183
Stefan Walter [Mon, 14 Jul 2008 23:32:02 +0000 (23:32 +0000)]
Move to glib based testing for new stuff
* gp11/tests/gp11-test.h:
* gp11/tests/gp11-test-module.c:
* gp11/tests/Makefile.am:
* gp11/tests/unit-test-gp11-attributes.c:
* gp11/tests/unit-test-gp11-module.c:
* gp11/tests/unit-test-gp11-object.c:
* gp11/tests/unit-test-gp11-session.c:
* gp11/tests/unit-test-gp11-slot.c:
* tests/gtest.make: (moved from check.make)
* tests/gtest-helpers.c: (moved from check-helpers.c)
* tests/gtest-helpers.h: (moved from check-helpers.h)
* tests/Makefile.am:
* tests/prep-gtest.sh: (moved from prep-check.sh)
* configure.in: Move to glib based testing for new stuff
svn path=/trunk/; revision=1178
Stefan Walter [Mon, 14 Jul 2008 19:54:11 +0000 (19:54 +0000)]
Only use CKR_GENERAL_ERROR when it's really quite dire.
* daemon/pk/gkr-pk-cert.c:
* daemon/pk/gkr-pk-import.c:
* daemon/pk/gkr-pk-object.c:
* daemon/pk/gkr-pk-privkey.c:
* daemon/pk/gkr-pk-pubkey.c:
* daemon/pkcs11/gkr-pkcs11-daemon-session.c:
* daemon/pkcs11/gkr-pkcs11-dsa.c:
* daemon/pkcs11/gkr-pkcs11-rsa.c: Only use CKR_GENERAL_ERROR
when it's really quite dire.
* gp11/gp11.h: (added)
* gp11/gp11.pc.in: (added)
* gp11/gp11-attributes.c: (added)
* gp11/gp11-call.c: (added)
* gp11/gp11-misc.c: (added)
* gp11/gp11-module.c: (added)
* gp11/gp11-object.c: (added)
* gp11/gp11-private.h: (added)
* gp11/gp11-session.c: (added)
* gp11/gp11-slot.c: (added)
* gp11/Makefile.am: (added)
* gp11/pkcs11.h: (added)
* gp11/tests/gp11-test.h: (added)
* gp11/tests/gp11-test-module.c: (added)
* gp11/tests/Makefile.am: (added)
* gp11/tests/unit-test-gp11-attributes.c: (added)
* gp11/tests/unit-test-gp11-module.c: (added)
* gp11/tests/unit-test-gp11-object.c: (added)
* gp11/tests/unit-test-gp11-session.c: (added)
* gp11/tests/unit-test-gp11-slot.c: (added)
* tests/check.make: (added)
* tests/check-helpers.c: (added)
* tests/check-helpers.h: (added)
* tests/prep-check.sh: (added)
* configure.in:
* Makefile.am: Added new GP11 library
svn path=/trunk/; revision=1175
Alexander Larsson [Thu, 27 Nov 2003 15:45:10 +0000 (15:45 +0000)]
Initial revision