platform/upstream/gcr.git
12 years agogcr: Proper flags for GcrColumnFlags
Stef Walter [Fri, 2 Sep 2011 11:43:13 +0000 (13:43 +0200)]
gcr: Proper flags for GcrColumnFlags

 * Include GCR_COLUMN_NONE
 * Use << instead of hex numbers

12 years agogcr: Add support for getting friendly name out of a PKCS#12 file.
Stef Walter [Thu, 1 Sep 2011 11:39:54 +0000 (13:39 +0200)]
gcr: Add support for getting friendly name out of a PKCS#12 file.

12 years agogcr: Support multiple items inside a PKCS#12 bag.
Stef Walter [Thu, 1 Sep 2011 10:50:01 +0000 (12:50 +0200)]
gcr: Support multiple items inside a PKCS#12 bag.

 * This is how (at least) openssl sends along additional certs in
   a PKCS#12 file.
 * Create a new file personal.p12 to test this.

12 years agogcr: Use place holder text in viewer unlock prompt.
Stef Walter [Thu, 1 Sep 2011 10:10:40 +0000 (12:10 +0200)]
gcr: Use place holder text in viewer unlock prompt.

 * Displays 'Password' in the box where the user types the password.

12 years agogcr: Documentation, testing and distcheck fixes
Stef Walter [Thu, 1 Sep 2011 09:29:49 +0000 (11:29 +0200)]
gcr: Documentation, testing and distcheck fixes

 * Update symbols for new APIs
 * Update docs with new APIs
 * Change how tests find fixture files.

12 years agogcr: Expose correct outer block for PEM in GcrParser
Stef Walter [Wed, 31 Aug 2011 19:06:43 +0000 (21:06 +0200)]
gcr: Expose correct outer block for PEM in GcrParser

12 years agoegg: Make OpenSSL PEM routines return outer block as well.
Stef Walter [Wed, 31 Aug 2011 19:06:00 +0000 (21:06 +0200)]
egg: Make OpenSSL PEM routines return outer block as well.

 * We expose this in GcrParser so that we can reparse a block that needs
   a password.

12 years agogcr: Display errors in the gcr-viewer
Stef Walter [Wed, 31 Aug 2011 13:57:02 +0000 (15:57 +0200)]
gcr: Display errors in the gcr-viewer

 * Add GcrFailureRenderer which shows errors with reason and icon

12 years agogcr: Add support for unlocking files in gcr-viewer
Stef Walter [Wed, 31 Aug 2011 13:30:58 +0000 (15:30 +0200)]
gcr: Add support for unlocking files in gcr-viewer

 * Add a GcrRenderer which displays unlock widgets
 * Add method to GcrViewer which allows insertion of renderer before another
 * Functionality in GcrDisplayView for showing dialog like widgets in view
 * Fixes for removing renderer from view
 * Parser fixes for enabling all formats
 * Parser fixes for PKCS#12 parsing with locked data

12 years agogcr: Support get surrounding data block from GcrParser
Stef Walter [Thu, 25 Aug 2011 14:50:03 +0000 (16:50 +0200)]
gcr: Support get surrounding data block from GcrParser

 * This is needed for importing parsed data into other places
   than PKCS#11 tokens.
 * Going to use this in seahorse.

12 years agogcr: Test GcrParser with null and empty data
Stef Walter [Thu, 25 Aug 2011 14:34:25 +0000 (16:34 +0200)]
gcr: Test GcrParser with null and empty data

12 years agogcr: Refactor the parser tests
Stef Walter [Thu, 25 Aug 2011 14:19:22 +0000 (16:19 +0200)]
gcr: Refactor the parser tests

 * Make one test per file, and give them descriptive names.
 * Make the tests quieter as well.

12 years agoTypo in translatable string
Friedel Wolff [Wed, 31 Aug 2011 08:00:18 +0000 (10:00 +0200)]
Typo in translatable string

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

12 years agogck: Fix tests for new PKCS#11 URI revesion
Stef Walter [Wed, 31 Aug 2011 07:36:01 +0000 (09:36 +0200)]
gck: Fix tests for new PKCS#11 URI revesion

 * Some of the attribute names changed to include dashes

12 years agogck: Add gck_modules_tokens_for_uri() function
Stef Walter [Wed, 31 Aug 2011 07:35:05 +0000 (09:35 +0200)]
gck: Add gck_modules_tokens_for_uri() function

 * Returns multilpe tokens matching a URI
 * We use this when looking up the trust slots

12 years agogck: Add debug output to GckEnumerator and bits of GckSession
Stef Walter [Wed, 31 Aug 2011 07:33:11 +0000 (09:33 +0200)]
gck: Add debug output to GckEnumerator and bits of GckSession

 * Also fix up Gcr debugging
 * And add debugging to trust stuff.

12 years agogcr: Fix library initialization bugs, and add some debug statements.
Stef Walter [Tue, 30 Aug 2011 20:22:38 +0000 (22:22 +0200)]
gcr: Fix library initialization bugs, and add some debug statements.

 * Fix problems loading trust URIS and initializing modules.
 * Better debug output about library initialization.

12 years agoFix compile warnings when building with --disable-debug
Stef Walter [Tue, 30 Aug 2011 11:36:15 +0000 (13:36 +0200)]
Fix compile warnings when building with --disable-debug

12 years agogcr: Fix up GcrViewerWindow documentation
Stef Walter [Tue, 30 Aug 2011 10:27:10 +0000 (12:27 +0200)]
gcr: Fix up GcrViewerWindow documentation

12 years agoRelease 3.1.90
Stef Walter [Tue, 30 Aug 2011 09:30:30 +0000 (11:30 +0200)]
Release 3.1.90

 * Fix build issues to do with mime database
 * Fix testing issues in pkcs11 trust assertion database
 * Fix distribution issues.

12 years agogcr: Add better xdg-mime files for identifying crypto related file types
Stef Walter [Mon, 22 Aug 2011 13:39:19 +0000 (15:39 +0200)]
gcr: Add better xdg-mime files for identifying crypto related file types

 * Add hook up gcr-viewer to view most of those types.
 * Rename test file extensions to match the proper ones

12 years agogcr: Fix up GcrDisplayView bugs and look
Stef Walter [Mon, 22 Aug 2011 09:05:34 +0000 (11:05 +0200)]
gcr: Fix up GcrDisplayView bugs and look

 * Separators between items.
 * Clicking details doesn't remove items when more than one
   is displayed.
 * Better spacing.

12 years agoAdd function for registering well known renderers.
Stef Walter [Thu, 31 Mar 2011 07:08:55 +0000 (09:08 +0200)]
Add function for registering well known renderers.

Renderers for certificates and keys are registered.

12 years agoImplement basic little viewer window.
Stef Walter [Fri, 25 Mar 2011 11:20:51 +0000 (12:20 +0100)]
Implement basic little viewer window.

Doesn't yet layout correctly, and is pretty plain, but displays
certificates.

12 years agoFix up documentation warning.
Stef Walter [Thu, 25 Aug 2011 12:32:37 +0000 (14:32 +0200)]
Fix up documentation warning.

12 years agogcr: Don't initialize pkcs11 modules automatically.
Stef Walter [Thu, 25 Aug 2011 12:25:58 +0000 (14:25 +0200)]
gcr: Don't initialize pkcs11 modules automatically.

Only load and initialize the pkcs11 modules when they're needed rather
than when anything in gcr is touched. For starters this is lighter,
and secondly modules can block while loading.

Add async initialization functions, and treat the initialization
of PkcS#11 modules as something that can block.

12 years agoDon't keep going after tests fail
Stef Walter [Thu, 25 Aug 2011 12:24:25 +0000 (14:24 +0200)]
Don't keep going after tests fail

 * Remove -k from gtester arguments

12 years agogck: Cleanup gck API for consistency
Stef Walter [Thu, 25 Aug 2011 10:33:48 +0000 (12:33 +0200)]
gck: Cleanup gck API for consistency

 * The GCK library is incrementing its major library version number
   this release cycle. So take that advantage to cleanup the API
   a little bit before stable releases.

12 years agogcr: ABI fixes for gcr library
Stef Walter [Thu, 25 Aug 2011 10:32:30 +0000 (12:32 +0200)]
gcr: ABI fixes for gcr library

 * The gcr library has not iterated its major version
 * Move deprecated stuff into separate headers
 * Also fix problem with enum-types header.

12 years agoPut ABI symbol checks into 'make check'
Stef Walter [Thu, 25 Aug 2011 09:50:18 +0000 (11:50 +0200)]
Put ABI symbol checks into 'make check'

 * We have files in which all public symbols for the gck and gcr
   libraries, and then check these against the linked libraries.
 * Not a panacea for ABI changes, but at least a simple check

12 years agogck: Add async initialization functions.
Stef Walter [Thu, 25 Aug 2011 09:21:24 +0000 (11:21 +0200)]
gck: Add async initialization functions.

 * PKCS#11 modules can take indeterminate time to initialize
 * Allow initialization in a separate thread

12 years agoMerge branch 'parse-other-names'
Stef Walter [Wed, 17 Aug 2011 16:40:37 +0000 (18:40 +0200)]
Merge branch 'parse-other-names'

12 years agogcr: Display otherName subject-alt-name for xmppAddr and DNS SRV
Stef Walter [Wed, 3 Aug 2011 13:11:54 +0000 (15:11 +0200)]
gcr: Display otherName subject-alt-name for xmppAddr and DNS SRV

 * Display the xmppAddr and DNS SRV otherName type subject alt names
   correctly. These are displayed as simple strings.
 * Also fix the critical warning when these were encountered.

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

12 years agogcr: Reorganize how gcr oids are generated
Stef Walter [Wed, 3 Aug 2011 13:08:01 +0000 (15:08 +0200)]
gcr: Reorganize how gcr oids are generated

 * Use script gcr-mkoids to generate oid quark code.
 * Call _gcr_oids_init() before using any GCR_OID_XXX symbols.

12 years agoschema: Add support for keyservers in o.g.crypto.pgp schema
Stef Walter [Wed, 27 Jul 2011 13:16:01 +0000 (15:16 +0200)]
schema: Add support for keyservers in o.g.crypto.pgp schema

 * This is needed by seahorse's GSettings migration.
 * This keyservers setting is here, because it's a desktop
   wide setting, rather than seahorse specific.

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

12 years agoRelease version 3.1.4
Stef Walter [Mon, 25 Jul 2011 08:15:58 +0000 (10:15 +0200)]
Release version 3.1.4

 * Include some changes to make comparing symbols easier.
 * Fix some issues that came up when doing make distcheck

12 years agogcr: install the enum headers
Ross Burton [Tue, 19 Jul 2011 08:54:26 +0000 (09:54 +0100)]
gcr: install the enum headers

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

12 years agogck: Fix PKCS#11 URI documentation.
Stef Walter [Mon, 18 Jul 2011 10:04:35 +0000 (12:04 +0200)]
gck: Fix PKCS#11 URI documentation.

12 years agogcr: Use glib-mkenums to generate types for enums and flags
Stef Walter [Mon, 18 Jul 2011 09:54:04 +0000 (11:54 +0200)]
gcr: Use glib-mkenums to generate types for enums and flags

 * And remove manually coded type registration in GcrCertificateChain

12 years agoCleanup doc sections a bit.
Stef Walter [Mon, 18 Jul 2011 08:00:51 +0000 (10:00 +0200)]
Cleanup doc sections a bit.

12 years agoMerge branch 'list-selector'
Stef Walter [Mon, 18 Jul 2011 07:58:53 +0000 (09:58 +0200)]
Merge branch 'list-selector'

13 years agogcr: Better markup for PGP keys.
Stef Walter [Wed, 13 Jul 2011 09:25:07 +0000 (11:25 +0200)]
gcr: Better markup for PGP keys.

13 years agogcr: Document GcrListSelector
Stef Walter [Tue, 12 Jul 2011 16:50:10 +0000 (18:50 +0200)]
gcr: Document GcrListSelector

13 years agogcr: Add the list selector and live search.
Stef Walter [Tue, 12 Jul 2011 14:47:05 +0000 (16:47 +0200)]
gcr: Add the list selector and live search.

 * Use live search from Empathy.
 * Selector has [x] boxes next to each object.

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

13 years agogcr: Better markup for PGP keys.
Stef Walter [Wed, 13 Jul 2011 09:25:07 +0000 (11:25 +0200)]
gcr: Better markup for PGP keys.

13 years agoFix some distcheck problems
Stef Walter [Wed, 13 Jul 2011 08:48:15 +0000 (10:48 +0200)]
Fix some distcheck problems

13 years agogcr: Update doc images
Stef Walter [Wed, 13 Jul 2011 08:47:51 +0000 (10:47 +0200)]
gcr: Update doc images

 * And fix some issues with building shooter executable

13 years agogcr: Add icons for key and keypair
Stef Walter [Wed, 13 Jul 2011 07:45:10 +0000 (09:45 +0200)]
gcr: Add icons for key and keypair

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

13 years agogcr: Review fixes for gnupg icon support
Stef Walter [Tue, 12 Jul 2011 12:53:06 +0000 (14:53 +0200)]
gcr: Review fixes for gnupg icon support

 * Reviewed by Phillip Withnall
 * Memory leak fixes.
 * Documentation
 * Other minor bits.

13 years agogcr: Display photo as icon for Gnupg keys.
Stef Walter [Fri, 13 May 2011 19:30:29 +0000 (21:30 +0200)]
gcr: Display photo as icon for Gnupg keys.

 * Load the first photo uid and use as icon for Gnupg Keys.
 * Add GcrMemoryIcon which is a GLoadableIcon which loads from
   data in memory.

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

13 years agogcr: Implement loading of attributes in GcrGnupgCollection
Stef Walter [Thu, 12 May 2011 17:18:41 +0000 (19:18 +0200)]
gcr: Implement loading of attributes in GcrGnupgCollection

 * These attributes can contain photo ids.
 * Add various definitions for dealing with attributes.
 * Since we like everything in the --with-colons gnupg format,
   we implement our own record type 'xa1' and cram the attribute
   (photo id) into there, along with all data.

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

13 years agoMerge branch 'gnupg-process'
Stef Walter [Tue, 12 Jul 2011 10:55:57 +0000 (12:55 +0200)]
Merge branch 'gnupg-process'

13 years agogcr: Review changes for GcrGnupgProcess from Phillip Withnall
Stef Walter [Tue, 12 Jul 2011 10:47:39 +0000 (12:47 +0200)]
gcr: Review changes for GcrGnupgProcess from Phillip Withnall

 * Better docs
 * Disconnect signal handlers properly.
 * Cleanup tests.
 * Other bits

13 years agogcr: Refactor gnupg process execution into its own class.
Stef Walter [Thu, 12 May 2011 14:13:33 +0000 (16:13 +0200)]
gcr: Refactor gnupg process execution into its own class.

 * Support getting user attribute data from keyring.
 * Support getting status messages from gpg.
 * Better cancellation api.
 * Control over LOCALE

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

13 years agogcr: Fixes for the gcr-3.pc file
Stef Walter [Sat, 9 Jul 2011 07:40:51 +0000 (09:40 +0200)]
gcr: Fixes for the gcr-3.pc file

 * Proper Name: field
 * Fix GTK dependency

13 years agogck: Dump major version number due to recent API refactoring.
Stef Walter [Sat, 9 Jul 2011 06:53:20 +0000 (08:53 +0200)]
gck: Dump major version number due to recent API refactoring.

 * API is not yet stable, but we increase the major version so that we
   don't piss off packagers.

13 years agoMore build fixes after recent changes.
Stef Walter [Fri, 8 Jul 2011 16:21:52 +0000 (18:21 +0200)]
More build fixes after recent changes.

 * Use proper library names for gcr
 * Use lib64 properly for pam modules when default is configured.

13 years agoRemove support for GTK+2.
Stef Walter [Fri, 13 May 2011 20:39:09 +0000 (22:39 +0200)]
Remove support for GTK+2.

 * Simplifies things going forward. Now that GTK+3 is in stable distros
   we can depend on it.
 * This was raised on the mailing list a while back.

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

13 years agogck: Update GckUriFlags to match p11-kit
Stef Walter [Wed, 6 Jul 2011 15:52:54 +0000 (17:52 +0200)]
gck: Update GckUriFlags to match p11-kit

13 years agoUse p11-kit to lookup trust uris.
Stef Walter [Tue, 5 Apr 2011 14:22:57 +0000 (16:22 +0200)]
Use p11-kit to lookup trust uris.

13 years agoRemove extraneous argument from gck_module_new and gck_module_initialize
Stef Walter [Tue, 5 Apr 2011 13:21:40 +0000 (15:21 +0200)]
Remove extraneous argument from gck_module_new and gck_module_initialize

 * Since the signature of these functions changed anyway (API not yet
   stable, we are going to clean them up a bit more.
 * The xxx_full versions may be needed in the future if more options
   show up.

13 years agogck: Use p11-kit for module loading, messages, and uri parsing.
Stef Walter [Mon, 21 Feb 2011 19:45:52 +0000 (20:45 +0100)]
gck: Use p11-kit for module loading, messages, and uri parsing.

13 years agoMerge branch 'gnome-3-0'
Stef Walter [Tue, 7 Jun 2011 16:38:26 +0000 (16:38 +0000)]
Merge branch 'gnome-3-0'

13 years agoMerge remote-tracking branch 'stefw/display-extensions'
Stef Walter [Sat, 4 Jun 2011 09:37:27 +0000 (09:37 +0000)]
Merge remote-tracking branch 'stefw/display-extensions'

13 years agoMerge branch 'gnome-3-0'
Stef Walter [Tue, 31 May 2011 08:05:28 +0000 (10:05 +0200)]
Merge branch 'gnome-3-0'

13 years agogcr: Login properly when importing private keys.
Stef Walter [Mon, 30 May 2011 10:21:04 +0000 (12:21 +0200)]
gcr: Login properly when importing private keys.

13 years agogcr: Fix warnings using the importer.
Stef Walter [Mon, 30 May 2011 10:01:06 +0000 (12:01 +0200)]
gcr: Fix warnings using the importer.

13 years agoMerge branch 'gnome-3-0'
Stef Walter [Thu, 26 May 2011 16:04:45 +0000 (18:04 +0200)]
Merge branch 'gnome-3-0'

Conflicts:
NEWS
configure.ac
docs/reference/gcr/Makefile.am
docs/reference/gcr/gcr-visual-index.xml
docs/reference/gcr/gcr-widgets.c
docs/reference/gcr/images/key-widget.png
gcr/Makefile.am

13 years agogcr: Parse and display certificate extensions.
Stef Walter [Wed, 6 Apr 2011 10:22:24 +0000 (12:22 +0200)]
gcr: Parse and display certificate extensions.

 * Subject Alt Name
 * Basic Constraints
 * Extended Key Usage
 * Key Usage
 * Subject Key Identifier

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

13 years agoMerge branch 'key-fingerprints'
Stef Walter [Tue, 24 May 2011 07:37:21 +0000 (09:37 +0200)]
Merge branch 'key-fingerprints'

Conflicts:
gcr/Makefile.am

13 years agoMerge branch 'display-hex'
Stef Walter [Tue, 24 May 2011 07:33:40 +0000 (09:33 +0200)]
Merge branch 'display-hex'

13 years agoMerge branch 'split-selector'
Stef Walter [Tue, 24 May 2011 07:30:58 +0000 (09:30 +0200)]
Merge branch 'split-selector'

Conflicts:
gcr/Makefile.am
gcr/gcr-collection-model.c
gcr/gcr-tree-selector.c

13 years agogcr: Fix ununitialized memory in GcrColumns.
Stef Walter [Tue, 17 May 2011 19:19:44 +0000 (21:19 +0200)]
gcr: Fix ununitialized memory in GcrColumns.

13 years agoRelease version 3.0.2
Stef Walter [Thu, 19 May 2011 19:45:42 +0000 (21:45 +0200)]
Release version 3.0.2

13 years agogcr: Export list of symbols when making distribution.
Stef Walter [Thu, 19 May 2011 19:44:40 +0000 (21:44 +0200)]
gcr: Export list of symbols when making distribution.

13 years agoRevert "Bump libtool version of gnome-keyring library for 3.0"
Stef Walter [Thu, 19 May 2011 19:39:55 +0000 (21:39 +0200)]
Revert "Bump libtool version of gnome-keyring library for 3.0"

This reverts commit aebb7bf381694c3b72e456c2c1d19c0853d18836.

 * We also add back the deprecated symbol, and just leave it
   hanging around.

13 years agogcr: Cleanup GcrRecord after review.
Stef Walter [Mon, 16 May 2011 05:23:12 +0000 (07:23 +0200)]
gcr: Cleanup GcrRecord after review.

 * Use G_DEFINE_BOXED_TYPE
 * Fix some test corner cases.
 * Locale independent integer parsing.

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

13 years agogcr: More record functionality.
Stef Walter [Fri, 13 May 2011 19:06:30 +0000 (21:06 +0200)]
gcr: More record functionality.

 * Add boxed type for records
 * Allow parsing of space delimited records.
 * Lookup unsigned integers in records.
 * More tests for GcrRecord

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

13 years agogcr: Fix 'make dist' of doc directory.
Stef Walter [Sun, 15 May 2011 19:00:02 +0000 (21:00 +0200)]
gcr: Fix 'make dist' of doc directory.

13 years agogcr: Rename GcrColons to GcrRecord
Stef Walter [Thu, 12 May 2011 15:31:47 +0000 (17:31 +0200)]
gcr: Rename GcrColons to GcrRecord

 * These records can be used for other purposes as well. Can represent
   any data with uniform single character delimiters

13 years agogcr: Fix race condition in gnupg collection async tests.
Stef Walter [Sun, 15 May 2011 12:19:51 +0000 (14:19 +0200)]
gcr: Fix race condition in gnupg collection async tests.

13 years agogcr: Stop tests when a failure occurs
Stef Walter [Sun, 15 May 2011 11:25:52 +0000 (13:25 +0200)]
gcr: Stop tests when a failure occurs

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: Build GcrCertificateDetailsWidget and GcrCertificateBasicsWidget properly.
Stef Walter [Sat, 14 May 2011 06:07:11 +0000 (08:07 +0200)]
gcr: Build GcrCertificateDetailsWidget and GcrCertificateBasicsWidget properly.

 * Forgot to inlcude these in the build.

13 years agogcr: Fix creation of fingerprints, make tests pass.
Stef Walter [Sat, 9 Apr 2011 06:54:50 +0000 (08:54 +0200)]
gcr: Fix creation of fingerprints, make tests pass.

 * Fix encoding of test files.
 * Always encode NULL in RSA keys as the parameter.

13 years agoegg: Add support for encoding NULL in ASN.1
Stef Walter [Sat, 9 Apr 2011 06:52:29 +0000 (08:52 +0200)]
egg: Add support for encoding NULL in ASN.1

13 years agogcr: Add tests for creation of fingerprints
Stef Walter [Fri, 8 Apr 2011 20:17:56 +0000 (22:17 +0200)]
gcr: Add tests for creation of fingerprints

13 years agogcr: Make key widget scroll and size properly.
Stef Walter [Wed, 6 Apr 2011 11:49:09 +0000 (13:49 +0200)]
gcr: Make key widget scroll and size properly.

Also fix the test program.

13 years agoImplement calculation of fingerprints for keys.
Stef Walter [Wed, 9 Mar 2011 19:06:50 +0000 (20:06 +0100)]
Implement calculation of fingerprints for keys.

These are derived from subjectPublicKeyInfo

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

13 years agogcr: Add _gcr_display_view_append_hex() function.
Stef Walter [Wed, 6 Apr 2011 11:11:16 +0000 (13:11 +0200)]
gcr: Add _gcr_display_view_append_hex() function.

Displays value as a hex string, rather than just converting to hex
everywhere and duplicating the same code.

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

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 agogcr: Split GcrSelector into GcrComboSelector and GcrTreeSelector
Stef Walter [Wed, 11 May 2011 18:38:26 +0000 (20:38 +0200)]
gcr: Split GcrSelector into GcrComboSelector and GcrTreeSelector

 * GcrComboSelector allows selecting one object at a time
   and uses 'markup' property to display the object.
 * GcrTreeSelector uses various columns, and a checkbox so that multiple
   objects can be selected at once.
 * Add images for both of the above.
 * Derive directly from GtkComboBox and GtkTreeView respectively.

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.