platform/upstream/gcr.git
13 years agogcr: Fix tests for GcrGnupgKey keyid and short-keyid properties
Stef Walter [Sun, 15 May 2011 11:25:33 +0000 (13:25 +0200)]
gcr: Fix tests for GcrGnupgKey keyid and short-keyid properties

13 years agogcr: Fix annotation of _gcr_gnupg_key_get_secret_dataset
Stef Walter [Sun, 15 May 2011 11:06:38 +0000 (13:06 +0200)]
gcr: Fix annotation of _gcr_gnupg_key_get_secret_dataset

13 years agogcr: Fixes and debugging for GcrGnupgCollection.
Stef Walter [Sun, 15 May 2011 08:45:02 +0000 (10:45 +0200)]
gcr: Fixes and debugging for GcrGnupgCollection.

 * Comments and review changes.
 * Add tests for collection loading and reloading.
 * Debug logging
 * Remove racy pid tracking. Will solve this in another branch.

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

13 years agogcr: Make GcrGnupgKey::keyid full keyid and add short-keyid for display.
Stef Walter [Sun, 15 May 2011 08:41:15 +0000 (10:41 +0200)]
gcr: Make GcrGnupgKey::keyid full keyid and add short-keyid for display.

 * More documentation fixes and cleanup.

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

13 years agogcr: Documentation and naming fixes.
Stef Walter [Sun, 15 May 2011 04:53:53 +0000 (06:53 +0200)]
gcr: Documentation and naming fixes.

 * Fixes after review.

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

13 years agogcr: More testing for secret gnupg keys.
Stef Walter [Thu, 12 May 2011 09:18:07 +0000 (11:18 +0200)]
gcr: More testing for secret gnupg keys.

 * Create an example keyring
 * Change signature of _gcr_gnupg_key_new so it also accepts
   the secret part.

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

13 years agogcr: Add support for listing secret gnupg keys.
Stef Walter [Tue, 26 Apr 2011 21:06:48 +0000 (23:06 +0200)]
gcr: Add support for listing secret gnupg keys.

 * Also add support to GcrGnupgKey for holding the secret info.

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

13 years agogcr: Fix problem loading translation for NULL column names.
Stef Walter [Fri, 13 May 2011 18:39:18 +0000 (20:39 +0200)]
gcr: Fix problem loading translation for NULL column names.

 * Just use empty string.

13 years agogcr: Fix logic issue in collection model
Stef Walter [Thu, 12 May 2011 08:23:32 +0000 (10:23 +0200)]
gcr: Fix logic issue in collection model

 * Was refering to the wrong column.

13 years agodocs: Add images for gcr widgets.
Stef Walter [Tue, 10 May 2011 18:20:06 +0000 (20:20 +0200)]
docs: Add images for gcr widgets.

13 years agoMerge branch 'gnome-3-0'
Stef Walter [Mon, 9 May 2011 09:05:05 +0000 (11:05 +0200)]
Merge branch 'gnome-3-0'

Conflicts:
gck/Makefile.am
gcr/Makefile.am

13 years agoFix build with --no-add-needed
Stef Walter [Mon, 9 May 2011 08:17:11 +0000 (10:17 +0200)]
Fix build with --no-add-needed

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

13 years agoFix Makefiles so testable libraries are rebuilt when source changes.
Stef Walter [Wed, 27 Apr 2011 07:47:51 +0000 (09:47 +0200)]
Fix Makefiles so testable libraries are rebuilt when source changes.

13 years agoMerge branch 'gnome-3-0'
Stef Walter [Mon, 25 Apr 2011 07:07:17 +0000 (09:07 +0200)]
Merge branch 'gnome-3-0'

Conflicts:
gcr/Makefile.am
gcr/tests/Makefile.am

13 years agoModernize the remainder of the tests.
Stef Walter [Sat, 23 Apr 2011 22:19:42 +0000 (00:19 +0200)]
Modernize the remainder of the tests.

 * Bring up to date with gtester running and individual binaries.
 * Make the tests run in make distcheck

13 years agoBetter testing configure options.
Stef Walter [Sat, 23 Apr 2011 09:43:39 +0000 (11:43 +0200)]
Better testing configure options.

 * --enable-tests=yes/no/full
 * With 'full' the testing hooks in gnome-keyring-daemon are built
 * Different libraries are built in testable and non-testable versions.

13 years agogcr: Fix build warning.
Stef Walter [Thu, 21 Apr 2011 08:22:04 +0000 (10:22 +0200)]
gcr: Fix build warning.

13 years agogcr: Implement tool for playing with the parser
Stef Walter [Fri, 15 Apr 2011 14:31:24 +0000 (16:31 +0200)]
gcr: Implement tool for playing with the parser

13 years agoMerge branch 'gnome-3-0'
Stef Walter [Thu, 21 Apr 2011 07:37:58 +0000 (09:37 +0200)]
Merge branch 'gnome-3-0'

13 years agogck: Fix linking issue due to type in Makefile.
Stef Walter [Thu, 21 Apr 2011 07:35:28 +0000 (09:35 +0200)]
gck: Fix linking issue due to type in Makefile.

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

13 years agoegg: Run the hkdf tests
Stef Walter [Wed, 20 Apr 2011 05:15:48 +0000 (07:15 +0200)]
egg: Run the hkdf tests

 * These seem to have dropped out during a previous refactoring

13 years agofix unused-but-set-variable warnings
Marc Plano-Lesay [Sat, 9 Apr 2011 20:58:06 +0000 (22:58 +0200)]
fix unused-but-set-variable warnings

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

13 years agoRemove #include <config.h> from headers to make sure it's not included more than...
Kjartan Maraas [Tue, 29 Mar 2011 09:57:46 +0000 (11:57 +0200)]
Remove #include <config.h> from headers to make sure it's not included more than once

13 years agoRemove #include <config.h> from headers to make sure it's not included more than...
Kjartan Maraas [Tue, 29 Mar 2011 09:57:46 +0000 (11:57 +0200)]
Remove #include <config.h> from headers to make sure it's not included more than once

13 years agogcr: Add review fixes and documentation.
Stef Walter [Tue, 19 Apr 2011 07:12:45 +0000 (09:12 +0200)]
gcr: Add review fixes and documentation.

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

13 years agogcr: Add more comments for new colons and collection code.
Stef Walter [Mon, 18 Apr 2011 20:47:19 +0000 (22:47 +0200)]
gcr: Add more comments for new colons and collection code.

13 years agogcr: A rudimentary Gnupg Collection implementation.
Stef Walter [Fri, 15 Apr 2011 17:22:12 +0000 (19:22 +0200)]
gcr: A rudimentary Gnupg Collection implementation.

 * Loads basic GPG keys.
 * No splitting of UIDs yet.
 * No monitoring yet.

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

13 years agogcr: GcrColumn.label should be translated with context.
Stef Walter [Tue, 19 Apr 2011 07:52:19 +0000 (09:52 +0200)]
gcr: GcrColumn.label should be translated with context.

 * Translate the label strings when using them.
 * Require that the 'column' context is used.

13 years agogcr: Fix reference to test-data directory in frob-selector
Stef Walter [Tue, 19 Apr 2011 07:34:46 +0000 (09:34 +0200)]
gcr: Fix reference to test-data directory in frob-selector

13 years agogcr: Fix remaining references to test-data directory
Stef Walter [Tue, 19 Apr 2011 07:31:24 +0000 (09:31 +0200)]
gcr: Fix remaining references to test-data directory

13 years agogcr: Fix memory leak in GcrSelector dispose
Stef Walter [Tue, 19 Apr 2011 07:26:50 +0000 (09:26 +0200)]
gcr: Fix memory leak in GcrSelector dispose

13 years agogcr: In test-parser don't try to parse directories.
Stef Walter [Tue, 19 Apr 2011 07:18:34 +0000 (09:18 +0200)]
gcr: In test-parser don't try to parse directories.

13 years agogcr: Remove extraneous virtual function.
Stef Walter [Mon, 18 Apr 2011 12:38:42 +0000 (14:38 +0200)]
gcr: Remove extraneous virtual function.

Accidentally included during a broken rebase or merge.

13 years agoMerge branch 'gnome-3-0'
Stef Walter [Mon, 18 Apr 2011 11:36:01 +0000 (13:36 +0200)]
Merge branch 'gnome-3-0'

Conflicts:
docs/reference/gcr/gcr-sections.txt
gcr/Makefile.am
gcr/gcr-library.c

13 years agogcr: Build a testable version with all functions exported.
Stef Walter [Fri, 15 Apr 2011 17:33:09 +0000 (19:33 +0200)]
gcr: Build a testable version with all functions exported.

Build a testable version of the gcr library, which has all the
functions exported including those with _gcr_ prefixes.

13 years agoUse gpointer instead of guchar in several places.
Stef Walter [Mon, 18 Apr 2011 11:16:49 +0000 (13:16 +0200)]
Use gpointer instead of guchar in several places.

This makes for cleaner and simpler code.

13 years agogcr: Implement debug tracing
Stef Walter [Wed, 13 Apr 2011 05:25:42 +0000 (07:25 +0200)]
gcr: Implement debug tracing

 * Instrument the certificate chain code.

13 years agoMerge branch 'gnome-3-0'
Stef Walter [Sat, 9 Apr 2011 20:04:22 +0000 (22:04 +0200)]
Merge branch 'gnome-3-0'

13 years agoRemove accidentally committed file.
Stef Walter [Sat, 9 Apr 2011 20:02:01 +0000 (22:02 +0200)]
Remove accidentally committed file.

13 years agogcr: Complete documentation for new components
Stef Walter [Wed, 6 Apr 2011 20:25:41 +0000 (22:25 +0200)]
gcr: Complete documentation for new components

13 years agogcr: Hide the widget class structs, until we finalize their super classes.
Stef Walter [Fri, 8 Apr 2011 18:09:30 +0000 (20:09 +0200)]
gcr: Hide the widget class structs, until we finalize their super classes.

Hide the following GcrCertificateWidget, GcrCertificateWidgetClass,
GcrKeyWidget, GcrKeyWidgetClass, GcrUnlockOptionsWidget,
GcrUnlockOptionsWidgetClass

Currently these are derived from GtkAlignment, because we haven't yet
figured out their implementation correctly. We want them to be derived
from GtkWidget, or GtkBin (if it makes sense to have a child widget).

13 years agogcr: Hide the widget class structs, until we finalize their super classes.
Stef Walter [Fri, 8 Apr 2011 18:09:30 +0000 (20:09 +0200)]
gcr: Hide the widget class structs, until we finalize their super classes.

Hide the following GcrCertificateWidget, GcrCertificateWidgetClass,
GcrKeyWidget, GcrKeyWidgetClass, GcrUnlockOptionsWidget,
GcrUnlockOptionsWidgetClass

Currently these are derived from GtkAlignment, because we haven't yet
figured out their implementation correctly. We want them to be derived
from GtkWidget, or GtkBin (if it makes sense to have a child widget).

13 years agoMerge branch 'gnome-3-0'
Stef Walter [Fri, 8 Apr 2011 16:21:53 +0000 (18:21 +0200)]
Merge branch 'gnome-3-0'

Conflicts:
.gitignore
gcr/gcr-certificate-renderer.c
gcr/gcr-parser.c
gcr/tests/Makefile.am
gcr/tests/frob-key.c
gcr/tests/frob-selector.c
gcr/tests/test-certificate-chain.c
gcr/tests/ui-test-key.c

13 years agogcr: Complete documentation
Stef Walter [Wed, 6 Apr 2011 20:25:41 +0000 (22:25 +0200)]
gcr: Complete documentation

13 years agogcr: Modernize tests. Use standard gtest type setup.
Stef Walter [Wed, 6 Apr 2011 18:08:05 +0000 (20:08 +0200)]
gcr: Modernize tests. Use standard gtest type setup.

13 years agogck: Cleanup the documentation
Stef Walter [Tue, 5 Apr 2011 20:37:24 +0000 (22:37 +0200)]
gck: Cleanup the documentation

13 years agogcr: Modernize tests. Use standard gtest type setup.
Stef Walter [Wed, 6 Apr 2011 18:08:05 +0000 (20:08 +0200)]
gcr: Modernize tests. Use standard gtest type setup.

13 years agogck: Cleanup the documentation
Stef Walter [Tue, 5 Apr 2011 20:37:24 +0000 (22:37 +0200)]
gck: Cleanup the documentation

13 years agoMerge branch 'gnome-3-0'
Stef Walter [Tue, 5 Apr 2011 16:30:36 +0000 (18:30 +0200)]
Merge branch 'gnome-3-0'

13 years agogcr: Fix invalid assertions when using gcr_parser_parse_stream_xxx()
Stef Walter [Thu, 31 Mar 2011 07:09:44 +0000 (09:09 +0200)]
gcr: Fix invalid assertions when using gcr_parser_parse_stream_xxx()

13 years agogcr: Implement gcr_certificate_basics_xxx() stubs properly.
Stef Walter [Wed, 30 Mar 2011 13:06:07 +0000 (15:06 +0200)]
gcr: Implement gcr_certificate_basics_xxx() stubs properly.

13 years agoAdd correct version numbers to documentation.
Stef Walter [Fri, 25 Mar 2011 12:04:30 +0000 (13:04 +0100)]
Add correct version numbers to documentation.

13 years agoModernise the gck tests.
Stef Walter [Wed, 23 Mar 2011 08:27:13 +0000 (09:27 +0100)]
Modernise the gck tests.

13 years agogcr: Sortable selector
Stef Walter [Sat, 23 Oct 2010 16:47:43 +0000 (16:47 +0000)]
gcr: Sortable selector

13 years ago[gcr] More implementation of selector widget.
Stef Walter [Wed, 20 Oct 2010 20:47:39 +0000 (20:47 +0000)]
[gcr] More implementation of selector widget.

 * Add a certificate base class to augment interface with default props.
 * All properties come from certificate rather than renderer.
 * Certificates are comparable.

13 years ago[gcr] Partial implementation of data for tree columns.
Stef Walter [Sun, 17 Oct 2010 00:15:02 +0000 (00:15 +0000)]
[gcr] Partial implementation of data for tree columns.

13 years ago[gcr] Add functionality for renderers to populate tree models.
Stef Walter [Fri, 15 Oct 2010 03:17:29 +0000 (03:17 +0000)]
[gcr] Add functionality for renderers to populate tree models.

 * Add markup, icon and description properties to renderers.
 * Add GcrSimpleCollection which implements collections.
 * Use GIcon instead of stock ids.
 * Rough example test certificate selector.

13 years ago[gcr] GcrCertificateRenderer takes either attrs or cert.
Stef Walter [Tue, 12 Oct 2010 02:21:41 +0000 (02:21 +0000)]
[gcr] GcrCertificateRenderer takes either attrs or cert.

Take either attributes or a GcrCertificate. That way when using renderer
in the (future) selector, we won't have lots of extra objects.

13 years ago[gcr] Add collection iface for objects lists and GtkTreeModel
Stef Walter [Wed, 6 Oct 2010 18:42:18 +0000 (18:42 +0000)]
[gcr] Add collection iface for objects lists and GtkTreeModel

Will be used in various selectors to provide a list of things
to select from.

13 years agoRelease version 3.0.0
Stef Walter [Mon, 4 Apr 2011 10:20:37 +0000 (12:20 +0200)]
Release version 3.0.0

13 years agogcr: Fix invalid assertions when using gcr_parser_parse_stream_xxx()
Stef Walter [Thu, 31 Mar 2011 07:09:44 +0000 (09:09 +0200)]
gcr: Fix invalid assertions when using gcr_parser_parse_stream_xxx()

13 years agogcr: Mark strings as translatable.
Stef Walter [Wed, 30 Mar 2011 13:12:16 +0000 (15:12 +0200)]
gcr: Mark strings as translatable.

13 years agogcr: Implement gcr_certificate_basics_xxx() stubs properly.
Stef Walter [Wed, 30 Mar 2011 13:06:07 +0000 (15:06 +0200)]
gcr: Implement gcr_certificate_basics_xxx() stubs properly.

13 years agoAdd correct version numbers to documentation.
Stef Walter [Fri, 25 Mar 2011 12:04:30 +0000 (13:04 +0100)]
Add correct version numbers to documentation.

13 years agoModernise the gck tests.
Stef Walter [Wed, 23 Mar 2011 08:27:13 +0000 (09:27 +0100)]
Modernise the gck tests.

13 years agoMerge branch 'gnome-3-0'
Stef Walter [Sat, 19 Mar 2011 15:04:50 +0000 (16:04 +0100)]
Merge branch 'gnome-3-0'

13 years ago[gcr] Add deprecated functions for symbols lost since 2.32.x
Stef Walter [Fri, 18 Mar 2011 18:23:42 +0000 (19:23 +0100)]
[gcr] Add deprecated functions for symbols lost since 2.32.x

 * gcr_certificate_basics_xxx
 * gcr_certificate_details_xxx
 * gcr_importer_xxx_parser

13 years agoFix gck_uri_parse error message
Lucian Adrian Grijincu [Mon, 14 Mar 2011 12:08:56 +0000 (13:08 +0100)]
Fix gck_uri_parse error message

Signed-off-by: Lucian Adrian Grijincu <lucian.grijincu@gmail.com>
13 years ago[gcr] Add 'Export Certificate' right click in cert widget.
Stef Walter [Tue, 8 Mar 2011 17:12:42 +0000 (18:12 +0100)]
[gcr] Add 'Export Certificate' right click in cert widget.

Users can right click on the certificate widget, and export the
certificate to DER or PEM format.

13 years agoMerge branch 'with-hkdf'
Stef Walter [Wed, 9 Mar 2011 09:41:42 +0000 (10:41 +0100)]
Merge branch 'with-hkdf'

13 years ago[egg] Complete implementation of openssl sytle PEM writing
Stef Walter [Tue, 8 Mar 2011 17:10:19 +0000 (18:10 +0100)]
[egg] Complete implementation of openssl sytle PEM writing

The openssl PEM parser is particularly fragile, so write some
stringent tests to check.

13 years ago[gck] Fix uri library-manufacturer test.
Stef Walter [Mon, 7 Mar 2011 14:56:08 +0000 (15:56 +0100)]
[gck] Fix uri library-manufacturer test.

13 years agoTransfer the color properly onto the certificate widget expander.
Stef Walter [Fri, 4 Mar 2011 18:04:23 +0000 (19:04 +0100)]
Transfer the color properly onto the certificate widget expander.

 * Remains white when a text selection surrounds it, this is harder
   to fix.
 * Highlights properly on mouse over.

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

13 years agoCalculate the minimal/natural size of certificate widget better.
Stef Walter [Fri, 4 Mar 2011 17:43:29 +0000 (18:43 +0100)]
Calculate the minimal/natural size of certificate widget  better.

 * These are still just gueseses. But they're guesses that look good.
 * Added a new GcrViewer implementation that is a scrolled viewer.
   We use this in GcrCertificateWidget instead of using GtkScrolledWindow
   directly.

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

13 years agoMake the library-manufacturer in the trust uris actually match.
Stef Walter [Wed, 2 Mar 2011 18:01:43 +0000 (19:01 +0100)]
Make the library-manufacturer in the trust uris actually match.

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

13 years ago[gck] Support 'library-manufacturer' in PKCS#11 URIs properly.
Stef Walter [Tue, 1 Mar 2011 11:19:17 +0000 (12:19 +0100)]
[gck] Support 'library-manufacturer' in PKCS#11 URIs properly.

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

13 years agoMerge branch 'secret-content-type'
Stef Walter [Tue, 1 Mar 2011 09:27:42 +0000 (10:27 +0100)]
Merge branch 'secret-content-type'

13 years agoMerge branch 'hard-code-config'
Stef Walter [Tue, 1 Mar 2011 09:19:10 +0000 (10:19 +0100)]
Merge branch 'hard-code-config'

13 years ago[gcr] Remove support for pkcs11-options file.
Stef Walter [Mon, 28 Feb 2011 14:21:07 +0000 (15:21 +0100)]
[gcr] Remove support for pkcs11-options file.

In the next release we should be integrating with p11-kit which will
contain support for proper configuration of PKCS#11 modules. So for
this release we hard code the modules we'd like to use.

13 years agoUse more modern gtest style for egg tests.
Stef Walter [Wed, 23 Feb 2011 17:55:29 +0000 (18:55 +0100)]
Use more modern gtest style for egg tests.

13 years agoImplement HKDF for transport encryption security.
Stef Walter [Thu, 24 Feb 2011 09:35:58 +0000 (10:35 +0100)]
Implement HKDF for transport encryption security.

This is to hash the results of the DH key agreement, since the
generated key size rarely matches the size of our bulk
encryption key size.

 * Add PKCS#11 algorithm CKM_G_HKDF_SHA256_DERIVE
 * Change DH code so it always generates keys of prime size.
 * Change CKM_DH_PKCS11_DERIVE mechanism to support truncating
   or expanding keys on its own (without help from underlying
   implementation) in accordance with PKCS#11. Although we no
   longer use this.
 * Add support for CKK_GENERIC_SECRET keys.
 * Update prompt code to use HKDF in key negotiation.
 * Add secret service dh-ietf1024-sha256-aes128-cbc-pkcs7 algo
   which replaces the previous.

13 years agoUse more modern gtest style for egg tests.
Stef Walter [Wed, 23 Feb 2011 17:55:29 +0000 (18:55 +0100)]
Use more modern gtest style for egg tests.

13 years agoAdd translator comment about 'pinned certificate'
Claude Paroz [Wed, 9 Feb 2011 20:20:48 +0000 (21:20 +0100)]
Add translator comment about 'pinned certificate'

13 years agoFix undefined type in egg-asn1x.c
Ryan Stonecipher [Mon, 24 Jan 2011 20:42:02 +0000 (14:42 -0600)]
Fix undefined type in egg-asn1x.c

Mac OSX doesn't have a ulong type

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

13 years agoFix problems building tests using internal functions.
Stef Walter [Wed, 19 Jan 2011 19:12:05 +0000 (13:12 -0600)]
Fix problems building tests using internal functions.

Recently the changes to libgck and libgcr --export-symbols-regex
broke the tests. Export different symbols when tests are enabled
or not.

13 years agoIssue new test certificates.
Stef Walter [Wed, 19 Jan 2011 18:40:02 +0000 (12:40 -0600)]
Issue new test certificates.

13 years ago[gcr] Redo the PKCS#11 configuration file.
Stef Walter [Tue, 4 Jan 2011 22:57:48 +0000 (16:57 -0600)]
[gcr] Redo the PKCS#11 configuration file.

Use /etc/pkcs11/pkcs11-options and pkcs11-options.defaults files
instead. Don't use XDG style stuff if we're not going to follow
the XDG base dir specification.

13 years ago[gck] Update PKCS#11 URI to add library support.
Stef Walter [Fri, 31 Dec 2010 14:06:31 +0000 (08:06 -0600)]
[gck] Update PKCS#11 URI to add library support.

Add library-description and library-description and library-manufacturer
parts. And refactor to support parsing in different contexts better.

13 years agoI18N fix - using ngettext
Marek Černocký [Sat, 15 Jan 2011 16:04:09 +0000 (17:04 +0100)]
I18N fix - using ngettext

13 years agolibgcr.so: Only export symbols that begin with gcr_
Emilio Pozuelo Monfort [Tue, 28 Dec 2010 18:19:07 +0000 (18:19 +0000)]
libgcr.so: Only export symbols that begin with gcr_

Bug #638216

13 years agolibgck.so: Only export symbols that begin with gck_
Emilio Pozuelo Monfort [Tue, 28 Dec 2010 18:17:00 +0000 (18:17 +0000)]
libgck.so: Only export symbols that begin with gck_

Bug #638216

13 years ago[gcr] More fixes for GTK+ 2.91.7
Stef Walter [Wed, 22 Dec 2010 21:14:13 +0000 (21:14 +0000)]
[gcr] More fixes for GTK+ 2.91.7

 * gtk_widget_render_icon()
 * gdk_cursor_unref()

13 years ago[gcr] Make tests use pkcs11.conf.defaults from srcdir.
Stef Walter [Wed, 22 Dec 2010 17:16:49 +0000 (17:16 +0000)]
[gcr] Make tests use pkcs11.conf.defaults from srcdir.

So that make distcheck passes, and tests run without
a prior 'make install'

13 years agoMerge branch 'trust-store'
Stef Walter [Wed, 22 Dec 2010 16:36:37 +0000 (16:36 +0000)]
Merge branch 'trust-store'

13 years ago[gcr] PKCS#11 conf file is now in /etc/xdg
Stef Walter [Wed, 22 Dec 2010 16:00:28 +0000 (16:00 +0000)]
[gcr] PKCS#11 conf file is now in /etc/xdg

And install a pkcs11.conf.defaults file which is updated along
with gnome-keyring, and then a pkcs11.conf file which is editable
and can be overridden by admin/user.

13 years ago[egg] Don't try to encode optional sequences if empty.
Stef Walter [Wed, 22 Dec 2010 15:56:36 +0000 (15:56 +0000)]
[egg] Don't try to encode optional sequences if empty.

13 years ago[egg] Remove non-deterministic checks in spawn tests.
Stef Walter [Wed, 22 Dec 2010 15:55:55 +0000 (15:55 +0000)]
[egg] Remove non-deterministic checks in spawn tests.

These complete in a different thread, and the check is vulnerable
to a race condition.

13 years ago[egg] Fix uninitialized list pointers.
Stef Walter [Wed, 22 Dec 2010 15:22:09 +0000 (15:22 +0000)]
[egg] Fix uninitialized list pointers.

13 years agoAdd missing files to distribution.
Stef Walter [Wed, 22 Dec 2010 15:17:58 +0000 (15:17 +0000)]
Add missing files to distribution.

13 years ago[gcr] Add config file for setting trust slot origin/storage
Stef Walter [Sat, 18 Dec 2010 18:21:02 +0000 (12:21 -0600)]
[gcr] Add config file for setting trust slot origin/storage

Looks up which PKCS#11 slots to use for trust assertion lookups
and storage in /etc/pkcs11.conf