platform/upstream/gcr.git
12 years agogcr: GcrKeyRenderer has a writable object and attributes properties
Stef Walter [Fri, 9 Dec 2011 13:25:25 +0000 (14:25 +0100)]
gcr: GcrKeyRenderer has a writable object and attributes properties

 * Allows updating the the attributes and object so that we can
   retrieve attributes on demand and show them later

12 years agoRevert changes to libtool version and removed API
Stef Walter [Fri, 9 Dec 2011 06:16:18 +0000 (07:16 +0100)]
Revert changes to libtool version and removed API

 * There were problems with applications that didn't use libgck but
   linked to the old version with the old libtool number: empathy
 * So stub out the removed functions, revert the libtool version changes
   instead of removing those functions.

This reverts commit ef7e91d66839d4104ee6ba9681e49506f5dd5fa3.

12 years agogck: Bump gck libtool version, as we removed interfaces from libgck
Stef Walter [Thu, 8 Dec 2011 19:17:22 +0000 (20:17 +0100)]
gck: Bump gck libtool version, as we removed interfaces from libgck

 * libgck API is not yet stable.
 * Gck is only used internally in the gcr projcet, gnome-keyring project
   and the seahorse project.
 * We want to be threadsafe with regard to attributes, and the
   functions removed can't be implemented within the new framework.
 * Remove deprecated functions at the same time, since this is an
   opportunity to cleanup.

12 years agogck: Add documentation for newly functions
Stef Walter [Thu, 8 Dec 2011 16:41:56 +0000 (17:41 +0100)]
gck: Add documentation for newly functions

12 years agogck: Rename GckObjectAttributes to GckObjectCache
Stef Walter [Thu, 8 Dec 2011 13:30:23 +0000 (14:30 +0100)]
gck: Rename GckObjectAttributes to GckObjectCache

 * And allow updating of the attributes, in particula adding
   attributes that are discovered.
 * Add a gck_object_cache_lookup() methods which load attributes
   and then updates the cache if the object has a cache.

12 years agogck: Add floating references to GckAttributes
Stef Walter [Wed, 7 Dec 2011 16:52:31 +0000 (17:52 +0100)]
gck: Add floating references to GckAttributes

 * Allows us more flexibility in our API in the future
 * Simplifies the common case of generating a set of attributes
   and directly passing it to a gck function

12 years agogck: Add GckBuilder as a mutable attribute set
Stef Walter [Mon, 5 Dec 2011 16:56:03 +0000 (17:56 +0100)]
gck: Add GckBuilder as a mutable attribute set

 * Use GckBuilder to build a set of attributes, and then
   GckAttributes is a immutable set of attributes.
 * We reference count the memory used in attributes, so
   as we copy and transfer the attributes without duplicating
   values unnecessarily

12 years agoegg: Make secure memory pool shared across modules
Stef Walter [Mon, 5 Dec 2011 13:31:39 +0000 (14:31 +0100)]
egg: Make secure memory pool shared across modules

 * The globals for the secure memory pool need to be shared across linked
   modules. So that for example gck, gcr, and gsecret libraries can
   share the same pool, even though code is compiled into each library.
 * There's versioning so they'll only work with each other if they all
   share the same code.

12 years agoBump version number for upcoming release
Stef Walter [Thu, 8 Dec 2011 19:10:18 +0000 (20:10 +0100)]
Bump version number for upcoming release

12 years agoFix build for glib 2.31 deprecations
Stef Walter [Tue, 6 Dec 2011 14:43:32 +0000 (15:43 +0100)]
Fix build for glib 2.31 deprecations

 * Mainly g_mutex_new/g_mutex_free g_cond_new/g_cond_free
 * Since we like to build with the last stable version of glib,
   using #ifdef until these glib changes make it into a stable release.

12 years agogcr: Fix testing errors
Stef Walter [Wed, 30 Nov 2011 11:08:55 +0000 (12:08 +0100)]
gcr: Fix testing errors

12 years agogcr: Parse gnupg import errors correctly to GError result
Stef Walter [Wed, 30 Nov 2011 10:57:45 +0000 (11:57 +0100)]
gcr: Parse gnupg import errors correctly to GError result

 * Look at first error output line, and try to get message from
   gnupg stderr

12 years agogcr: Fix problem looking up the renderers
Stef Walter [Wed, 30 Nov 2011 10:56:37 +0000 (11:56 +0100)]
gcr: Fix problem looking up the renderers

 * Fix format being copied in gcr_parsed_ref()
 * Add debug output to the lookup for importers

12 years agogcr: Don't show empty dates in gnupg key renderer
Stef Walter [Wed, 30 Nov 2011 10:55:26 +0000 (11:55 +0100)]
gcr: Don't show empty dates in gnupg key renderer

 * Also hide capabilities line if none are present

12 years agogcr: Show import errors in an info bar under the viewer
Stef Walter [Wed, 30 Nov 2011 10:20:07 +0000 (11:20 +0100)]
gcr: Show import errors in an info bar under the viewer

 * Add importing signal to GcrImportButton
 * Add a GtkInfoBar to GcrViewerWindow

12 years agogcr: Fix invalid memory access in _gcr_records_parse_colons()
Stef Walter [Wed, 30 Nov 2011 09:44:17 +0000 (10:44 +0100)]
gcr: Fix invalid memory access in _gcr_records_parse_colons()

12 years agogck: Make the gck_attributes_to_string() function public
Stef Walter [Wed, 30 Nov 2011 08:29:56 +0000 (09:29 +0100)]
gck: Make the gck_attributes_to_string() function public

 * Used for debugging and logging

12 years agogcr: Add gcr_certificate_get_basic_constraints()
Stef Walter [Tue, 29 Nov 2011 12:44:39 +0000 (13:44 +0100)]
gcr: Add gcr_certificate_get_basic_constraints()

 * Function to retrieve basic constraints info from a certificate

12 years agogcr: Add gcr_certificate_get_xxx_name()
Stef Walter [Tue, 29 Nov 2011 11:38:39 +0000 (12:38 +0100)]
gcr: Add gcr_certificate_get_xxx_name()

 * To get a decent name for a certificate, using the CN, OU, and O

12 years agogck: Retrieve attributes in GckEnumerator properly
Stef Walter [Tue, 29 Nov 2011 11:15:03 +0000 (12:15 +0100)]
gck: Retrieve attributes in GckEnumerator properly

 * Previously retrieved attributes only for first enumerator
   iteration.
 * Properly retrieve attributes for objects found, but not
   yet attributes retrieved.

12 years agogcr: Fix build gulong != gsize
Stef Walter [Fri, 25 Nov 2011 19:51:59 +0000 (20:51 +0100)]
gcr: Fix build gulong != gsize

https://bugzilla.gnome.org/show_bug.cgi?id=664832

12 years agogcr: Update documentation and symbols
Stef Walter [Thu, 24 Nov 2011 06:53:49 +0000 (07:53 +0100)]
gcr: Update documentation and symbols

12 years agogcr: Support plain RSA signing
Stef Walter [Wed, 23 Nov 2011 17:13:07 +0000 (18:13 +0100)]
gcr: Support plain RSA signing

 * And detect the mechanisms supported on a given key.

12 years agogcr: Add support for encoding certificate requests as PEM
Stef Walter [Wed, 23 Nov 2011 12:01:20 +0000 (13:01 +0100)]
gcr: Add support for encoding certificate requests as PEM

 * Add textual argument to gcr_certificate_request_encode()

12 years agogck: Change gck_object_get attr_types arguments to const
Stef Walter [Wed, 23 Nov 2011 11:59:04 +0000 (12:59 +0100)]
gck: Change gck_object_get attr_types arguments to const

 * So they can be used with const defined arrays

12 years agogcr: Add missing symbols, and build fixes
Stef Walter [Mon, 21 Nov 2011 12:01:32 +0000 (13:01 +0100)]
gcr: Add missing symbols, and build fixes

12 years agogcr: Rename GcrCertificateReqRenderer to GcrCertificateRequestRenderer
Stef Walter [Mon, 21 Nov 2011 12:00:42 +0000 (13:00 +0100)]
gcr: Rename GcrCertificateReqRenderer to GcrCertificateRequestRenderer

 * Longer name is more in line with our other names

12 years agogcr: Document GcrCertificateRequest
Stef Walter [Mon, 21 Nov 2011 11:50:19 +0000 (12:50 +0100)]
gcr: Document GcrCertificateRequest

https://bugzilla.gnome.org/show_bug.cgi?id=663604

12 years agogcr: Add GcrCertificateRequest class for requesting certificates
Stef Walter [Fri, 18 Nov 2011 14:03:59 +0000 (15:03 +0100)]
gcr: Add GcrCertificateRequest class for requesting certificates

 * The GcrCertificateRequest class can be used to build certificate
   requests.
 * Currently only the PKCS#10 format is supported.

https://bugzilla.gnome.org/show_bug.cgi?id=663604

12 years agogcr: Implement functions for loading and using SubjectPublicKeyInfo
Stef Walter [Fri, 18 Nov 2011 12:22:40 +0000 (13:22 +0100)]
gcr: Implement functions for loading and using SubjectPublicKeyInfo

 * Move key calculation routines into gcr-subject-public-key.c
 * Move creation of SPK from gcr-fingerprint.c into here
 * Implement loading of SPK from PKCS#11 certificates, public keys,
   private keys
 * Add support for parsing SubjectPublicKeyInfo to parser. Generates
   attributes for a CKO_PUBLIC_KEY
 * Fix bugs in DER encoding related to this.
 * More tweaks on testing infrastructure

12 years agogck: add gck_attributes_set() and gck_attributes_set_all() functions
Stef Walter [Thu, 17 Nov 2011 10:28:02 +0000 (11:28 +0100)]
gck: add gck_attributes_set() and gck_attributes_set_all() functions

12 years agoegg: Add support for building simple DNs
Stef Walter [Thu, 17 Nov 2011 09:51:53 +0000 (10:51 +0100)]
egg: Add support for building simple DNs

12 years agoegg: Fix regression of DER choice encoding
Stef Walter [Thu, 17 Nov 2011 09:46:44 +0000 (10:46 +0100)]
egg: Fix regression of DER choice encoding

12 years agoegg: Encode DER tag classes correctly
Stef Walter [Thu, 17 Nov 2011 09:31:37 +0000 (10:31 +0100)]
egg: Encode DER tag classes correctly

 * Encode DER tag classes correctly for universal, application
   and private classes

12 years agoegg: Rework egg_assert_cmpbytes()
Stef Walter [Thu, 17 Nov 2011 09:30:42 +0000 (10:30 +0100)]
egg: Rework egg_assert_cmpbytes()

 * Rename to more inline with other testing functions
 * Clearer messages

12 years agoegg: In egg_assert_cmpmem() output printable without encoding
Stef Walter [Thu, 17 Nov 2011 08:20:50 +0000 (09:20 +0100)]
egg: In egg_assert_cmpmem() output printable without encoding

12 years agoegg: Expose ASN.1 node types
Stef Walter [Thu, 17 Nov 2011 08:20:25 +0000 (09:20 +0100)]
egg: Expose ASN.1 node types

12 years agoegg: Rename egg_asn1x_xxx_raw_element() to egg_asn1x_xxx_element_raw()
Stef Walter [Thu, 17 Nov 2011 08:10:20 +0000 (09:10 +0100)]
egg: Rename egg_asn1x_xxx_raw_element() to egg_asn1x_xxx_element_raw()

12 years agogcr: Add support for viewing certificate requests
Stef Walter [Tue, 8 Nov 2011 08:32:32 +0000 (09:32 +0100)]
gcr: Add support for viewing certificate requests

 * Both PKCS#10/CSR and SPKAC
 * Update mime database for SPKAC and CSR
 * Associate viewer with these files

https://bugzilla.gnome.org/show_bug.cgi?id=663604

12 years agogcr: Add support for parsing PKCS#10 and SPKAC formats
Stef Walter [Mon, 7 Nov 2011 14:11:21 +0000 (15:11 +0100)]
gcr: Add support for parsing PKCS#10 and SPKAC formats

 * Add support for PKCS#10 both DER and PEM encoded
 * Add support for HTML5 SPKAC <keygen> certificate request
   format, both raw DER and encoded like OpenSSL output

https://bugzilla.gnome.org/show_bug.cgi?id=663604

12 years agoRelease version 3.3.2.1
Stef Walter [Tue, 22 Nov 2011 20:46:01 +0000 (21:46 +0100)]
Release version 3.3.2.1

12 years agoDon't include internal glib headers
Stef Walter [Mon, 21 Nov 2011 13:10:53 +0000 (14:10 +0100)]
Don't include internal glib headers

 * Fixes the build with glib 2.31

12 years agoFix bugs and unused code highlighted by the clang static analyzer
Stef Walter [Mon, 21 Nov 2011 11:14:02 +0000 (12:14 +0100)]
Fix bugs and unused code highlighted by the clang static analyzer

12 years agoBump version number
Stef Walter [Mon, 21 Nov 2011 10:34:01 +0000 (11:34 +0100)]
Bump version number

12 years agoRelease 3.3.2
Stef Walter [Mon, 21 Nov 2011 10:30:42 +0000 (11:30 +0100)]
Release 3.3.2

12 years agoegg: Remove usage of libtasn1.h
Stef Walter [Mon, 21 Nov 2011 10:13:32 +0000 (11:13 +0100)]
egg: Remove usage of libtasn1.h

 * Copy a few definitions for using the asn1Parser generated
   definitions files.

https://bugzilla.gnome.org/show_bug.cgi?id=664187

12 years agoAdd valgrind memory checking and fix up errors
Stef Walter [Thu, 17 Nov 2011 14:26:55 +0000 (15:26 +0100)]
Add valgrind memory checking and fix up errors

 * This is especially necessary after migrating to EggBytes
   since it's reference counted and an easy sourc of memory leaks
 * Remove threading from testing framework, as gcr isn't threadsafe
   in all parts.
 * Fix bugs discovered in memory checking.
 * Fix up some of the testing stuff.

12 years agogcr: Use GBytes immutable ref counted byte buffers
Stef Walter [Wed, 16 Nov 2011 07:38:44 +0000 (08:38 +0100)]
gcr: Use GBytes immutable ref counted byte buffers

 * Copy from glib patch to EggBytes
 * This allows us to reliably build up ASN.1 structures from different
   sources, and is needed for the certificate request work.

https://bugzilla.gnome.org/show_bug.cgi?id=663291

12 years agogck: Make gck_attributes_unref take a pointer
Stef Walter [Tue, 15 Nov 2011 17:09:48 +0000 (18:09 +0100)]
gck: Make gck_attributes_unref take a pointer

 * So it can be used as a GDestroyNotify

12 years agogcr: Add missing symbols to gcr.symbols
Stef Walter [Tue, 15 Nov 2011 17:02:15 +0000 (18:02 +0100)]
gcr: Add missing symbols to gcr.symbols

12 years agogck: Fix problem where gck_slot_open_session_async() leaked objects
Stef Walter [Tue, 15 Nov 2011 17:01:41 +0000 (18:01 +0100)]
gck: Fix problem where gck_slot_open_session_async() leaked objects

 * Held a reference to the session and result, which kept the module

12 years agoIgnore editor backup files
Stef Walter [Tue, 15 Nov 2011 17:01:17 +0000 (18:01 +0100)]
Ignore editor backup files

12 years agogck: Fix regression in gck_slot_open_session_finish
Stef Walter [Mon, 14 Nov 2011 10:26:37 +0000 (11:26 +0100)]
gck: Fix regression in gck_slot_open_session_finish

 * The first argument is a slot, but we directly called
   g_async_initable_new_async, and therefore a GckSession
   was erroneously expected.

12 years agoFix problem where test sources were being ignored by git.
Stef Walter [Sun, 13 Nov 2011 07:35:37 +0000 (08:35 +0100)]
Fix problem where test sources were being ignored by git.

 * And add test-filter-collection.c

12 years agogcr: Allow changing the collection on a GcrCollectionModel
Stef Walter [Wed, 9 Nov 2011 16:19:45 +0000 (17:19 +0100)]
gcr: Allow changing the collection on a GcrCollectionModel

 * Make the collection property writable any time
 * Add gcr_collection_model_set_collection() function
 * Try to be smart about adding/removing objects that are in
   the intersection of the old/new collections

12 years agogcr: Add tree and list mode for GcrCollectionModel
Stef Walter [Wed, 9 Nov 2011 16:10:35 +0000 (17:10 +0100)]
gcr: Add tree and list mode for GcrCollectionModel

 * Way for callers to turn off the nesting behavior of GcrCollectionModel
 * Specify GCR_COLLECTION_MODEL_LIST at startup.
 * No stable software yet uses GcrCollectionModel, so changing API.

12 years agogck: Fix annotations for array and out params in GckSession
Stef Walter [Wed, 9 Nov 2011 16:00:04 +0000 (17:00 +0100)]
gck: Fix annotations for array and out params in GckSession

12 years agogck: Allow generating key without getting out key objects
Stef Walter [Wed, 9 Nov 2011 15:46:19 +0000 (16:46 +0100)]
gck: Allow generating key without getting out key objects

 * Allow public_key and private_key locations to be null in
   gck_session_generate_key_pair(), -gck_session_generate_key_pair_full()
   and gck_session_generate_key_pair_finish()

12 years agogcr: Add GcrFilterCollection
Stef Walter [Wed, 9 Nov 2011 12:57:20 +0000 (13:57 +0100)]
gcr: Add GcrFilterCollection

 * Adds a new collection type, which wraps another collection and
   filters out certain objects

12 years agogck: fix symbols file
Stef Walter [Mon, 7 Nov 2011 13:16:38 +0000 (14:16 +0100)]
gck: fix symbols file

12 years agoautogen.sh: Make executable
Colin Walters [Thu, 3 Nov 2011 17:44:33 +0000 (13:44 -0400)]
autogen.sh: Make executable

12 years agobuild: Don't reference uninstalled gck
Colin Walters [Thu, 3 Nov 2011 17:35:29 +0000 (13:35 -0400)]
build: Don't reference uninstalled gck

The --include-uninstalled argument is sufficent; we shouldn't
redundantly pass gck as a package or include.

12 years agogck: gck_attribute_get_string() should not return a NULL string
Stef Walter [Thu, 3 Nov 2011 13:34:46 +0000 (14:34 +0100)]
gck: gck_attribute_get_string() should not return a NULL string

 * Fix bug where a NULL string would be returned if the attribute
   was found but was invalid.

12 years agogck: Add gck_attribute_hash and cleanup for use in hash table
Stef Walter [Thu, 3 Nov 2011 13:32:31 +0000 (14:32 +0100)]
gck: Add gck_attribute_hash and cleanup for use in hash table

 * Add gck_attribute_hash() so GckAttribute can be used as a
   hash table key.
 * Change gck_attribute_free() and gck_attribute_equal() to use
   pointers so they can be used as GEqualFunc and GDestroyNotify
   without casting

12 years agogck: Chaining of enumerators
Stef Walter [Wed, 2 Nov 2011 13:10:43 +0000 (14:10 +0100)]
gck: Chaining of enumerators

 * Add functions gck_enumerator_get_chained() and
   gck_enumerator_set_chained()
 * Chaining enumerator returns results from the chained enumerator
   after all results have been retrieved from the former.

12 years agogck: Allow enumerating objects on a session
Stef Walter [Wed, 2 Nov 2011 13:07:41 +0000 (14:07 +0100)]
gck: Allow enumerating objects on a session

 * Add gck_session_enumerate_objects()
 * This has several advantages such as retrieving attributes during
   the enumeration, etc.

12 years agogck: Fix documentation
Stef Walter [Wed, 2 Nov 2011 08:10:44 +0000 (09:10 +0100)]
gck: Fix documentation

12 years agogck: GTlsInteraction is set on sessions, not slots
Stef Walter [Wed, 2 Nov 2011 07:53:20 +0000 (08:53 +0100)]
gck: GTlsInteraction is set on sessions, not slots

 * At least for now. We can figure out how to have a global interaction
   handler later.
 * interactions often are specific to windows which are bound to sessions
   rather than being a global deal so we need to have this level of
   granularity.

12 years agogck: Remove unneeded variable in gck_session_from_handle()
Stef Walter [Wed, 2 Nov 2011 07:23:24 +0000 (08:23 +0100)]
gck: Remove unneeded variable in gck_session_from_handle()

12 years agogck: Don't try and discard handle for session that was not opened
Stef Walter [Wed, 2 Nov 2011 07:22:47 +0000 (08:22 +0100)]
gck: Don't try and discard handle for session that was not opened

12 years agogck: Add methods for opening and logging in that accept interactions
Stef Walter [Tue, 1 Nov 2011 16:42:26 +0000 (17:42 +0100)]
gck: Add methods for opening and logging in that accept interactions

 * Make GckSession GInitable and GAsyncInitable
 * With convenience functions gck_session_open and
   gck_session_open_async
 * Also add gck_session_login_interactive and
   gck_session_login_interactive_async

12 years agoIgnore coverage file types for git inclusion
Stef Walter [Mon, 31 Oct 2011 09:01:15 +0000 (10:01 +0100)]
Ignore coverage file types for git inclusion

12 years agogcr: Fix build, link against glib
Travis Reiter [Tue, 1 Nov 2011 13:27:55 +0000 (14:27 +0100)]
gcr: Fix build, link against glib

https://bugzilla.gnome.org/show_bug.cgi?id=662647

12 years agogcr: Fix gobject-introspection build ... again
Stef Walter [Sun, 30 Oct 2011 19:45:11 +0000 (20:45 +0100)]
gcr: Fix gobject-introspection build ... again

https://bugzilla.gnome.org/show_bug.cgi?id=662648

12 years agoRemove g_thread_init() calls.
Stef Walter [Sat, 29 Oct 2011 19:34:21 +0000 (21:34 +0200)]
Remove g_thread_init() calls.

 * g_type_init() initializes threads since 2.24 and is no longer needed
   since 2.32

12 years agogcr: Remove redefinition of GcrRenderer typedef
Stef Walter [Fri, 28 Oct 2011 18:31:54 +0000 (20:31 +0200)]
gcr: Remove redefinition of GcrRenderer typedef

12 years agogck: Remove duplicate typedef of GckObjectAttributes
Stef Walter [Fri, 28 Oct 2011 12:59:41 +0000 (14:59 +0200)]
gck: Remove duplicate typedef of GckObjectAttributes

12 years agoBump version number
Stef Walter [Wed, 26 Oct 2011 19:03:46 +0000 (21:03 +0200)]
Bump version number

12 years agoRelease version 3.3.1.1 3.3.1.1
Stef Walter [Wed, 26 Oct 2011 18:49:53 +0000 (20:49 +0200)]
Release version 3.3.1.1

12 years agogcr: Fix building of introspection dependencies
Stef Walter [Wed, 26 Oct 2011 18:06:49 +0000 (20:06 +0200)]
gcr: Fix building of introspection dependencies

 * Was failing to find glib.h

12 years agogcr: Don't include main headers in individual components
Stef Walter [Wed, 26 Oct 2011 16:59:41 +0000 (18:59 +0200)]
gcr: Don't include main headers in individual components

 * Just include what we need, this helps keep rebuild times down
   and makes interdependencies clear.

12 years agoBump version number
Stef Walter [Mon, 24 Oct 2011 06:38:34 +0000 (08:38 +0200)]
Bump version number

12 years agoRelease version 3.3.1 3.3.1
Stef Walter [Mon, 24 Oct 2011 06:20:59 +0000 (08:20 +0200)]
Release version 3.3.1

12 years agogcr: Add function to get the elements of a union collection
Stef Walter [Wed, 19 Oct 2011 10:13:03 +0000 (12:13 +0200)]
gcr: Add function to get the elements of a union collection

12 years agoAdd gnupg, and cleanup icon rendering
Stef Walter [Mon, 17 Oct 2011 16:05:12 +0000 (18:05 +0200)]
Add gnupg, and cleanup icon rendering

 * key and key-pair icons get rendered like the rest
 * Add simple gnupg icon based on gnupg logo.

12 years agoInclude gi18n-lib.h in library sources instead of gi18n.h
Gabor Kelemen [Sun, 16 Oct 2011 20:33:44 +0000 (22:33 +0200)]
Include gi18n-lib.h in library sources instead of gi18n.h

https://bugzilla.gnome.org/show_bug.cgi?id=661929

12 years agogcr: Fix up docs and symbols
Stef Walter [Thu, 13 Oct 2011 11:37:21 +0000 (13:37 +0200)]
gcr: Fix up docs and symbols

12 years agogcr: Add password icon
Stef Walter [Thu, 13 Oct 2011 11:33:49 +0000 (13:33 +0200)]
gcr: Add password icon

12 years agogcr: Function to emit notify on GcrCertificate props for data change
Stef Walter [Thu, 13 Oct 2011 07:50:24 +0000 (09:50 +0200)]
gcr: Function to emit notify on GcrCertificate props for data change

12 years agogck: Add gck_slot_enumerate_objects() function
Stef Walter [Wed, 12 Oct 2011 11:17:25 +0000 (13:17 +0200)]
gck: Add gck_slot_enumerate_objects() function

12 years agogck: Documentation fix up
Stef Walter [Wed, 12 Oct 2011 10:29:41 +0000 (12:29 +0200)]
gck: Documentation fix up

12 years agogck: Enumerator can now retrieve object attributes
Stef Walter [Wed, 12 Oct 2011 09:18:05 +0000 (11:18 +0200)]
gck: Enumerator can now retrieve object attributes

 * New interface called GckObjectAttributes. Callers derive from
   GckObject, implement GckObjectAttributes and set fields in the
   iface to denote which attributes are interested in.
 * Caller passes type of derived object to gck_enumerator_set_object_type()
   and then enumerator will retrieve attributes set in iface, and return
   objects of that type
 * GckObjectAttributes has attributes property.

12 years agogck: Fix build issue on i686 where sizeof (gsize) != sizeof (CK_ULONG)
Stef Walter [Tue, 11 Oct 2011 09:55:54 +0000 (11:55 +0200)]
gck: Fix build issue on i686 where sizeof (gsize) != sizeof (CK_ULONG)

12 years agogcr: Fix documentation build by linking to right library
Stef Walter [Tue, 11 Oct 2011 09:55:37 +0000 (11:55 +0200)]
gcr: Fix documentation build by linking to right library

12 years agogck: Add gck_session_find_handles() and friends
Stef Walter [Fri, 7 Oct 2011 15:46:11 +0000 (17:46 +0200)]
gck: Add gck_session_find_handles() and friends

Allows callers to create their own objects for PKCS#11
objects.

12 years agoUpdate glib dependency for 2.30.0
Stef Walter [Thu, 6 Oct 2011 11:28:00 +0000 (13:28 +0200)]
Update glib dependency for 2.30.0

 * We need it for GTlsInteraction

12 years agoFix problem with doap file syntax
Stef Walter [Thu, 6 Oct 2011 11:16:22 +0000 (13:16 +0200)]
Fix problem with doap file syntax

12 years agoSplit the GCR and GCK libraries out of gnome-keyring split
Stef Walter [Thu, 6 Oct 2011 08:59:50 +0000 (10:59 +0200)]
Split the GCR and GCK libraries out of gnome-keyring

Commits prior to this commit will not build. To build
old releases of Gcr or Gck you should use the gnome-keyring
git module.

This module currently depends on: gtk+ >= 3.0, glib >= 2.28.0,
p11-kit >= 0.6, libgcrypt >= 1.2.2

Additionally it requires asn1Parser for building.

12 years agogcr: Make spinner on GcrImportButton actually spin
Stef Walter [Wed, 5 Oct 2011 09:56:11 +0000 (11:56 +0200)]
gcr: Make spinner on GcrImportButton actually spin

12 years agogcr: Fix build issues with gcr-icons.h header
Stef Walter [Wed, 5 Oct 2011 09:55:55 +0000 (11:55 +0200)]
gcr: Fix build issues with gcr-icons.h header