commit 136b3785fc2f4bbfd70f3664d385bfb5b59b757d Author: Stef Walter Date: 2011-12-19 Release version 3.3.3 NEWS | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) commit 060eb446aa46fb6ad217d249af1b06397c6262b8 Author: Stef Walter Date: 2011-12-19 gcr: Build fix for Fedora packaging https://bugzilla.gnome.org/show_bug.cgi?id=666375 gcr/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 9bdd5192980ca72ed69e5a28f6d724b5d2370b4e Author: Stef Walter Date: 2011-12-19 gck: Documentation warning fixes docs/reference/gck/gck-sections.txt | 1 + gck/gck-attributes.c | 32 ++++++++++++++++---------------- 2 files changed, 17 insertions(+), 16 deletions(-) commit dd8726a73b42f82622e8ce29ee27ec42ee3c2511 Author: Stef Walter Date: 2011-12-19 gcr: Fix licensing * Remove unused gcr/gcr-menu-button.[ch] * Relicense gcr/gcr-collection-model.[ch] https://bugzilla.gnome.org/show_bug.cgi?id=666378 gcr/Makefile.am | 1 - gcr/gcr-collection-model.c | 27 ++-- gcr/gcr-collection-model.h | 27 ++-- gcr/gcr-menu-button.c | 374 -------------------------------------------- gcr/gcr-menu-button.h | 61 ------- 5 files changed, 30 insertions(+), 460 deletions(-) commit c145132df840a498cb64a6423af5c30acc3f3b1e Author: Stef Walter Date: 2011-12-19 gcr: Build fixes gcr/Makefile.am | 2 +- gcr/gcr-mock-prompter.c | 13 +++++++------ gcr/gcr-system-prompter.c | 4 ++++ 3 files changed, 12 insertions(+), 7 deletions(-) commit 6bf4da09ec89522ec1f7049976bfe503eaadaf5b Author: Stef Walter Date: 2011-12-19 gcr: Fine tune dbus prompting interface https://bugzilla.gnome.org/show_bug.cgi?id=656954 gcr/Makefile.am | 3 +- gcr/gcr-dbus-constants.h | 2 +- gcr/gcr-system-prompt.c | 3 +- gcr/gcr-system-prompter.c | 2 +- gcr/org.gnome.keyring.Prompt.xml | 6 ---- gcr/org.gnome.keyring.Prompter.xml | 57 +++++++++++++++++++++++++++++++++++- 6 files changed, 61 insertions(+), 12 deletions(-) commit 520ba851d04be7de133ef3e6d8fb7338e08b081b Author: Stef Walter Date: 2011-12-19 gcr: Correct bus names in gcr-prompter service autostart files gcr/org.gnome.keyring.PrivatePrompter.service.in | 2 +- gcr/org.gnome.keyring.SystemPrompter.service.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 14934b72afd66cccff4c1fbbd065dbc4b91d9aeb Author: Stef Walter Date: 2011-12-19 gcr: Fix issues in GcrPromptDialog display * Allow message and description to wrap * Focus password entry on startup * Put spinner on main action button gcr/gcr-prompt-dialog.c | 26 ++++++++++++++++++-------- 1 files changed, 18 insertions(+), 8 deletions(-) commit f8d85a9bfd74bc75b29a41f952c221c0d610ffe1 Author: Stef Walter Date: 2011-12-18 gcr: Add timeout to gcr-prompter process * When no prompts occur for 10 seconds, quit process docs/reference/gcr/gcr-sections.txt | 1 + gcr/Makefile.am | 3 +- gcr/gcr-base.symbols | 1 + gcr/gcr-prompter-tool.c | 114 ++++++++++++++++++++++++++++++++--- gcr/gcr-system-prompter.c | 42 ++++++++++++- gcr/gcr-system-prompter.h | 6 +- 6 files changed, 150 insertions(+), 17 deletions(-) commit 3d8fd1a2f4ed07f049784e8f5f7ec17b1893d26f Author: Stef Walter Date: 2011-12-18 gcr: Add frob-prompt tool and fix bugs * Add frob-prompt tool for playing around with prompts * Fix tons of bugs and refactor where necessary gcr/Makefile.am | 4 +- gcr/gcr-dbus-constants.h | 4 +- gcr/gcr-prompt-dialog.c | 61 +++-- gcr/gcr-prompter-tool.c | 62 ++++- gcr/gcr-system-prompt.c | 20 +- gcr/gcr-system-prompt.h | 6 +- gcr/gcr-system-prompter.c | 296 +++++++++++++--------- gcr/org.gnome.keyring.PrivatePrompter.service.in | 3 + gcr/org.gnome.keyring.Prompter.service.in | 3 - gcr/org.gnome.keyring.SystemPrompter.service.in | 3 + gcr/tests/Makefile.am | 1 + gcr/tests/files/prompt-tests/simple.prompt | 28 ++ gcr/tests/frob-prompt.c | 202 +++++++++++++++ gcr/tests/frob-system-prompt.c | 2 +- gcr/tests/test-system-prompt.c | 67 +++--- 15 files changed, 547 insertions(+), 215 deletions(-) commit 039f24d12e79d806f632e90332b50ca916ec83d6 Author: Stef Walter Date: 2011-12-17 gcr: Fix up documentation for recent prompting work docs/reference/gcr/gcr-sections.txt | 127 +++++++++- docs/reference/gcr/gcr.interfaces | 5 +- docs/reference/gcr/gcr.types | 4 + gcr/gcr-base.symbols | 1 - gcr/gcr-callback-output-stream.c | 2 + gcr/gcr-certificate-basics-widget.c | 6 + gcr/gcr-certificate-details-widget.c | 6 + gcr/gcr-certificate.c | 8 + gcr/gcr-dbus-constants.h | 1 + gcr/gcr-gnupg-importer.c | 2 + gcr/gcr-importer.c | 2 + gcr/gcr-live-search.c | 2 + gcr/gcr-menu-button.c | 2 + gcr/gcr-mock-prompter.c | 102 ++++++++ gcr/gcr-mock-prompter.h | 4 +- gcr/gcr-pkcs11-importer.c | 2 + gcr/gcr-prompt-dialog.c | 55 ++++ gcr/gcr-prompt-dialog.h | 4 +- gcr/gcr-prompt.c | 460 +++++++++++++++++++++++++++++++++- gcr/gcr-prompt.h | 6 +- gcr/gcr-prompter-tool.c | 2 +- gcr/gcr-secure-entry-buffer.c | 17 +- gcr/gcr-secure-entry-buffer.h | 7 +- gcr/gcr-system-prompt.c | 136 ++++++++-- gcr/gcr-system-prompt.h | 11 +- gcr/gcr-system-prompter.c | 84 ++++++- gcr/gcr-system-prompter.h | 6 +- gcr/gcr-viewer-widget.c | 15 ++ 28 files changed, 1009 insertions(+), 70 deletions(-) commit b548891251edd0bf2afc9651c36ac3c7d1248e00 Author: Stef Walter Date: 2011-11-21 gcr: Rework how prompter works by introducing GcrPrompt interface * GcrSystemPrompt is an implementation of GcrPrompt which calls to GcrSystemPrompter * GcrSystemPrompter creates GcrPrompt objects on its side which do the actual prompting. Makefile.decl | 4 +- gcr/Makefile.am | 10 +- gcr/gcr-base.h | 1 + gcr/gcr-base.symbols | 86 ++-- gcr/gcr-dbus-constants.h | 30 +- gcr/gcr-mock-prompter.c | 556 +++++++++------ gcr/gcr-mock-prompter.h | 4 +- gcr/gcr-prompt-dialog.c | 808 +++++++++++++++++++++ gcr/gcr-prompt-dialog.h | 61 ++ gcr/gcr-prompt.c | 441 ++++++++++++ gcr/gcr-prompt.h | 152 ++++ gcr/gcr-prompter-tool.c | 595 +--------------- gcr/gcr-secret-exchange.c | 24 +- gcr/gcr-system-prompt.c | 1333 ++++++++++++++++------------------- gcr/gcr-system-prompt.h | 76 +-- gcr/gcr-system-prompter.c | 1390 ++++++++++++++---------------------- gcr/gcr-system-prompter.h | 63 +-- gcr/gcr.h | 1 + gcr/gcr.symbols | 1 + gcr/org.gnome.keyring.Prompt.xml | 36 - gcr/org.gnome.keyring.Prompter.xml | 29 +- gcr/tests/frob-system-prompt.c | 10 +- gcr/tests/test-system-prompt.c | 227 +++++-- po/POTFILES.in | 2 + 24 files changed, 3243 insertions(+), 2697 deletions(-) commit 4f19ddbf4e1f9c84594e6967584e4ad60254f828 Author: Stef Walter Date: 2011-11-01 gcr: Fix dialog layout, and add dbus service * A bunch of bug fixes and other fixes to the default prompter tool * Add support for making the dialog transient .gitignore | 1 + configure.ac | 14 ++++ gcr/Makefile.am | 9 +++ gcr/gcr-dbus-constants.h | 2 + gcr/gcr-prompter-tool.c | 109 +++++++++++++++++++++++++---- gcr/gcr-system-prompt.c | 22 +++++- gcr/gcr-system-prompter.c | 46 +++++++++++- gcr/org.gnome.keyring.Prompter.service.in | 3 + gcr/tests/Makefile.am | 1 + 9 files changed, 186 insertions(+), 21 deletions(-) commit 6f8691b7260aa1f4c9b520b75c1a0c10170fa004 Author: Stef Walter Date: 2011-10-31 gcr: Fix a couple memory leaks in the prompter gcr/gcr-system-prompt.c | 1 + gcr/gcr-system-prompter.c | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) commit cf51303c1b38857d3aa04cece982d6e8e58fea5a Author: Stef Walter Date: 2011-10-31 gcr: Make prompter tests work properly, add debugging * Run mock prompter in a separate thread to fix blocking and concurrency issues. * Run tests in in the main process thread * Add more debugging output .gitignore | 2 + egg/egg-error.h | 10 +- egg/egg-testing.c | 85 ++++++++- egg/egg-testing.h | 2 + gcr/gcr-mock-prompter.c | 332 +++++++++++++++++++++++++++++---- gcr/gcr-mock-prompter.h | 22 +-- gcr/gcr-system-prompt.c | 195 ++++++++++++++++++-- gcr/gcr-system-prompt.h | 16 ++- gcr/gcr-system-prompter.c | 72 +++++--- gcr/gcr-system-prompter.h | 4 +- gcr/tests/frob-system-prompt.c | 106 +++++++++++ gcr/tests/test-system-prompt.c | 409 ++++++++++++++++++++++++++++++++++++++++ 12 files changed, 1161 insertions(+), 94 deletions(-) commit 4edd77e47f1f6ee6ed138a4d3f4f06cd5896cafa Author: Stef Walter Date: 2011-10-31 gcr: Fix missing bit of GcrSecureEntryBuffer symbols gcr/gcr.symbols | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 0bf6e6e710b1246072d0c4cbc05bca9a5dabafd7 Author: Stef Walter Date: 2011-10-31 gcr: Pass properties changed back in prompter dbus method responses * This is to prevent race conditions with the PropertiesChanged signal. gcr/gcr-system-prompt.c | 111 +++++++++++++++++---------------- gcr/gcr-system-prompter.c | 128 ++++++++++++++------------------------ gcr/org.gnome.keyring.Prompt.xml | 15 +++-- 3 files changed, 114 insertions(+), 140 deletions(-) commit 316bb56cadbdd56ee0e897dcc571dec7ea8ac77a Author: Stef Walter Date: 2011-10-28 gcr: Add system prompt and prompter * GcrSystemPrompt is a class used on the client. * GcrSystemPrompter is a base class for implementing the actual prompter * GcrMockPrompter is a mock prompter, which returns predefined values useful in tests configure.ac | 2 +- docs/reference/gcr/Makefile.am | 2 + docs/reference/gcr/gcr-sections.txt | 5 + gcr/Makefile.am | 40 +- gcr/gcr-base.h | 3 + gcr/gcr-base.symbols | 59 ++ gcr/gcr-dbus-constants.h | 62 ++ gcr/gcr-debug.c | 1 + gcr/gcr-debug.h | 1 + gcr/gcr-mock-prompter.c | 456 ++++++++++++ gcr/gcr-mock-prompter.h | 62 ++ gcr/gcr-prompter-tool.c | 630 +++++++++++++++++ gcr/gcr-system-prompt.c | 1330 +++++++++++++++++++++++++++++++++++ gcr/gcr-system-prompt.h | 174 +++++ gcr/gcr-system-prompter.c | 1162 ++++++++++++++++++++++++++++++ gcr/gcr-system-prompter.h | 113 +++ gcr/org.gnome.keyring.Prompt.xml | 39 + gcr/org.gnome.keyring.Prompter.xml | 15 + gcr/tests/Makefile.am | 3 +- 19 files changed, 4154 insertions(+), 5 deletions(-) commit 19f5cd44bbcb5771c1519a0f7d55b46043c5d858 Author: Stef Walter Date: 2011-10-27 gcr: Fix typo in GcrSecretExchange docs gcr/gcr-secret-exchange.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit e4b4d14fbe700e813dbdaeb058985c1ebc9c3043 Author: Stef Walter Date: 2011-10-27 gcr: Fix up the gcr-secret-exchange.h header gcr/gcr-secret-exchange.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 23ab85ea7e8844104ea7b700f276f9e494ad449e Author: Stef Walter Date: 2011-10-27 gcr: Expose GcrSecureEntryBuffer as a public class * This is a GtkEntryBuffer that uses non-pageable memory for the buffer, to be used with passwords and secrets. docs/reference/gcr/gcr-docs.sgml | 1 + docs/reference/gcr/gcr-sections.txt | 17 +++ docs/reference/gcr/gcr.types | 1 + egg/Makefile.am | 8 -- egg/egg-entry-buffer.c | 200 ------------------------------ egg/egg-entry-buffer.h | 59 --------- gcr/Makefile.am | 3 +- gcr/gcr-failure-renderer.c | 5 +- gcr/gcr-pkcs11-import-dialog.c | 4 +- gcr/gcr-secure-entry-buffer.c | 231 +++++++++++++++++++++++++++++++++++ gcr/gcr-secure-entry-buffer.h | 63 ++++++++++ gcr/gcr-unlock-renderer.c | 5 +- gcr/gcr.h | 1 + gcr/tests/Makefile.am | 1 - 14 files changed, 322 insertions(+), 277 deletions(-) commit 4ed60e05c20a644a794bf5b6de62f2899ce8d0ec Author: Stef Walter Date: 2011-12-13 gcr: Add uris to GcrImporter * This allows us to refresh the appropriate place in seahorse gcr/gcr-gnupg-importer.c | 21 ++++++++++++++++++--- gcr/gcr-importer.c | 9 +++++++++ gcr/gcr-pkcs11-importer.c | 24 +++++++++++++++++++++--- 3 files changed, 48 insertions(+), 6 deletions(-) commit 1b5dfd5d5bf2e53eb8c1edb53605bc93443e0f73 Author: Stef Walter Date: 2011-12-13 egg: Check that bytes are valid when they come into ASN.1 egg/egg-asn1x.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) commit 567cf5f4ecf914a2b949ae2014d0a27088697f65 Author: Stef Walter Date: 2011-12-13 gcr: Check for invalid attributes when creating subject public keys gcr/gcr-subject-public-key.c | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) commit 33b7694c293bf78c06136d07e9ad9744287b1c78 Author: Stef Walter Date: 2011-12-13 gcr: Fix invalid cast in GcrPkcs11Importer gcr/gcr-pkcs11-importer.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 673a4c9e42883150e9835dc8a8b4f14c805b8264 Author: Stef Walter Date: 2011-12-09 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 gcr/gcr-key-renderer.c | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 deletions(-) commit 358a4d29c50e09525591a929c4b86b168f05e31e Author: Stef Walter Date: 2011-12-09 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. configure.ac | 2 +- docs/reference/gck/gck-sections.txt | 26 +++- docs/reference/gcr/gcr-sections.txt | 1 - gck/gck-attributes.c | 375 ++++++++++++++++++++++++++++++++++- gck/gck-deprecated.h | 73 +++++++- gck/gck-misc.c | 7 + gck/gck-module.c | 8 +- gck/gck-modules.c | 2 +- gck/gck-slot.c | 19 ++- gck/gck-uri.c | 17 ++- gck/gck.h | 10 +- gck/gck.symbols | 21 ++ gck/tests/test-gck-attributes.c | 15 ++- gck/tests/test-gck-module.c | 4 +- gck/tests/test-gck-modules.c | 4 +- gck/tests/test-gck-slot.c | 2 +- gck/tests/test-gck-uri.c | 2 +- gcr/gcr-importer.c | 2 +- gcr/gcr-key-mechanisms.c | 2 +- 19 files changed, 565 insertions(+), 27 deletions(-) commit ef7e91d66839d4104ee6ba9681e49506f5dd5fa3 Author: Stef Walter Date: 2011-12-08 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. configure.ac | 2 +- docs/reference/gck/gck-sections.txt | 9 +-------- docs/reference/gcr/gcr-sections.txt | 1 + gck/gck-attributes.c | 7 ------- gck/gck-deprecated.h | 14 +------------- gck/gck-misc.c | 7 ------- gck/gck-module.c | 8 ++++---- gck/gck-modules.c | 2 +- gck/gck-slot.c | 19 +++---------------- gck/gck-uri.c | 17 +---------------- gck/gck.h | 2 +- gck/gck.symbols | 3 --- gck/tests/test-gck-module.c | 4 ++-- gck/tests/test-gck-modules.c | 4 ++-- gck/tests/test-gck-slot.c | 2 +- gck/tests/test-gck-uri.c | 2 +- gcr/gcr-key-mechanisms.c | 2 +- 17 files changed, 21 insertions(+), 84 deletions(-) commit 742d24ccecd31071a5e763c1e1884fb0dac5558b Author: Stef Walter Date: 2011-12-08 gck: Add documentation for newly functions docs/reference/gck/gck-docs.sgml | 2 +- docs/reference/gck/gck-sections.txt | 124 ++++++--- gck/gck-attributes.c | 526 ++++++++++++++++++++++++++++++++++- gck/gck-enumerator.c | 2 +- gck/gck-misc.c | 1 + gck/gck-module.c | 4 +- gck/gck-modules.c | 6 +- gck/gck-object-cache.c | 154 +++++++++-- gck/gck-object.c | 8 + gck/gck-session.c | 35 +++ gck/gck-slot.c | 4 + gck/gck.h | 10 +- gck/gck.symbols | 2 +- gck/tests/test-gck-enumerator.c | 6 +- gcr/tests/test-subject-public-key.c | 6 +- 15 files changed, 800 insertions(+), 90 deletions(-) commit 55961a2887b5636c256367a3013c662adccf5928 Author: Stef Walter Date: 2011-12-08 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. docs/reference/gck/gck.types | 2 +- gck/Makefile.am | 2 +- gck/gck-enumerator.c | 10 +- gck/gck-object-attributes.c | 111 ----------- gck/gck-object-cache.c | 352 +++++++++++++++++++++++++++++++++++ gck/gck.h | 70 ++++++-- gck/gck.symbols | 13 +- gck/tests/test-gck-enumerator.c | 27 ++- gcr/gcr-key-mechanisms.c | 23 +-- gcr/gcr-key-renderer.c | 146 +++++++++++++-- gcr/gcr-subject-public-key.c | 52 ++++-- gcr/tests/test-subject-public-key.c | 27 +++- 12 files changed, 636 insertions(+), 199 deletions(-) commit 411cc74ad88cfe1fee0ad58b05338b408fe8622b Author: Stef Walter Date: 2011-12-07 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 gck/gck-attributes.c | 60 ++++++++++++++++++++++++++++++-- gck/gck-enumerator.c | 2 +- gck/gck-mock.c | 33 ++++++++++------- gck/gck-mock.h | 2 +- gck/gck-modules.c | 2 +- gck/gck-object-attributes.c | 5 +++ gck/gck-object.c | 20 +++++++--- gck/gck-session.c | 32 +++++++++++++---- gck/gck-slot.c | 2 +- gck/gck-uri.c | 2 +- gck/gck.h | 2 + gck/gck.symbols | 1 + gck/tests/test-gck-crypto.c | 18 +++------ gck/tests/test-gck-enumerator.c | 13 +++---- gck/tests/test-gck-modules.c | 5 +-- gck/tests/test-gck-object.c | 35 +++++------------- gck/tests/test-gck-session.c | 2 +- gck/tests/test-gck-uri.c | 10 +++--- gcr/gcr-certificate-renderer.c | 5 +-- gcr/gcr-certificate-request-renderer.c | 9 +---- gcr/gcr-gnupg-importer.c | 5 +-- gcr/gcr-gnupg-renderer.c | 5 +-- gcr/gcr-key-renderer.c | 5 +-- gcr/gcr-openssh.c | 4 +- gcr/gcr-parser.c | 2 +- gcr/gcr-pkcs11-certificate.c | 2 +- gcr/gcr-pkcs11-importer.c | 23 ++++-------- gcr/gcr-renderer.c | 2 +- gcr/gcr-subject-public-key.c | 10 ++---- gcr/gcr-trust.c | 15 ++++---- gcr/tests/test-certificate-chain.c | 6 ++-- gcr/tests/test-fingerprint.c | 2 +- gcr/tests/test-pkcs11-certificate.c | 2 +- gcr/tests/test-subject-public-key.c | 10 +++--- gcr/tests/test-trust.c | 2 +- 35 files changed, 197 insertions(+), 158 deletions(-) commit cb64b5ec5ff1b7ae50bfa09267f05011f9b8de96 Author: Stef Walter Date: 2011-12-05 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 docs/reference/gck/gck.types | 2 +- gck/gck-attributes.c | 2219 ++++++++++++++++++-------------- gck/gck-dump.c | 8 +- gck/gck-enumerator.c | 24 +- gck/gck-mock.c | 251 ++-- gck/gck-object.c | 95 +- gck/gck-private.h | 14 +- gck/gck-session.c | 29 - gck/gck-uri.c | 11 +- gck/gck.h | 195 ++- gck/gck.symbols | 57 +- gck/tests/test-gck-attributes.c | 1034 ++++++++++++--- gck/tests/test-gck-crypto.c | 31 +- gck/tests/test-gck-enumerator.c | 21 +- gck/tests/test-gck-modules.c | 5 +- gck/tests/test-gck-object.c | 56 +- gck/tests/test-gck-session.c | 9 +- gck/tests/test-gck-uri.c | 33 +- gcr/gcr-base.symbols | 1 + gcr/gcr-certificate-renderer.c | 7 +- gcr/gcr-certificate-request-renderer.c | 16 +- gcr/gcr-gnupg-importer.c | 5 +- gcr/gcr-gnupg-renderer.c | 7 +- gcr/gcr-import-interaction.c | 24 +- gcr/gcr-import-interaction.h | 12 +- gcr/gcr-importer.c | 2 +- gcr/gcr-key-renderer.c | 9 +- gcr/gcr-openssh.c | 113 +- gcr/gcr-parser.c | 33 +- gcr/gcr-pkcs11-certificate.c | 15 +- gcr/gcr-pkcs11-import-dialog.c | 12 +- gcr/gcr-pkcs11-import-dialog.h | 4 +- gcr/gcr-pkcs11-import-interaction.c | 18 +- gcr/gcr-pkcs11-importer.c | 109 +- gcr/gcr-subject-public-key.c | 175 ++-- gcr/gcr-trust.c | 69 +- gcr/gcr.symbols | 1 + gcr/tests/frob-parser.c | 2 +- gcr/tests/test-certificate-chain.c | 41 +- gcr/tests/test-fingerprint.c | 13 +- gcr/tests/test-pkcs11-certificate.c | 19 +- gcr/tests/test-subject-public-key.c | 30 +- gcr/tests/test-trust.c | 15 +- 43 files changed, 2929 insertions(+), 1917 deletions(-) commit 007f81cb2856fdfa8879e39f8032057e521867b4 Author: Stef Walter Date: 2011-12-05 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. egg/Makefile.am | 4 ++ egg/egg-secure-memory.c | 69 ++++++++++++++++++++++++++-------------------- egg/egg-secure-memory.h | 42 ++++++++++++++------------- egg/tests/test-dh.c | 2 +- egg/tests/test-hkdf.c | 12 +++++++- egg/tests/test-openssl.c | 2 +- egg/tests/test-secmem.c | 2 +- egg/tests/test-symkey.c | 2 +- gck/Makefile.am | 3 +- gck/gck-misc.c | 4 ++ gck/gck.symbols | 1 + gcr/Makefile.am | 2 +- gcr/gcr-memory.c | 66 +------------------------------------------- 13 files changed, 89 insertions(+), 122 deletions(-) commit a16ba63c2d0d7018fcd19ec895160fe44fd6b8ca Author: Stef Walter Date: 2011-12-08 Bump version number for upcoming release configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 05229c49db4159fb909d4f70a3d2d4cc930b3a90 Author: Stef Walter Date: 2011-12-06 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. build/glib.supp | 27 ++++++++++++++++++++++++++- build/unknown.supp | 36 ++++++++++++++++++++++++++++++++++++ egg/egg-libgcrypt.c | 10 ++++++++++ gck/gck-enumerator.c | 10 ++++++++++ gck/gck-session.c | 10 ++++++++++ gcr/gcr-importer.c | 14 ++++++++++++++ 6 files changed, 106 insertions(+), 1 deletions(-) commit 8c11d569c94519c7bc099ec2b6ddd4d944e186eb Author: Stef Walter Date: 2011-11-30 gcr: Fix testing errors build/glib.supp | 10 ++++++++++ gcr/gcr.symbols | 2 ++ 2 files changed, 12 insertions(+), 0 deletions(-) commit e6402dc8507290d6871e337a6714dd6fa265e9c4 Author: Stef Walter Date: 2011-11-30 gcr: Parse gnupg import errors correctly to GError result * Look at first error output line, and try to get message from gnupg stderr gcr/gcr-gnupg-importer.c | 46 ++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 42 insertions(+), 4 deletions(-) commit 25b171348301141da37239078c81f3d0cfad1d68 Author: Stef Walter Date: 2011-11-30 gcr: Fix problem looking up the renderers * Fix format being copied in gcr_parsed_ref() * Add debug output to the lookup for importers gcr/gcr-importer.c | 14 ++++++++++++++ gcr/gcr-parser.c | 2 ++ 2 files changed, 16 insertions(+), 0 deletions(-) commit 8db137b0d9c747773d2e4978fb8295eaf2ec5f80 Author: Stef Walter Date: 2011-11-30 gcr: Don't show empty dates in gnupg key renderer * Also hide capabilities line if none are present gcr/gcr-gnupg-renderer.c | 2 +- gcr/gcr-record.c | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) commit 62fbbdb564bfb28addeebf060a58dd20f026b398 Author: Stef Walter Date: 2011-11-30 gcr: Show import errors in an info bar under the viewer * Add importing signal to GcrImportButton * Add a GtkInfoBar to GcrViewerWindow docs/reference/gcr/gcr-sections.txt | 8 +--- docs/reference/gcr/gcr.interfaces | 7 +-- gcr/gcr-import-button.c | 16 +++++++ gcr/gcr-import-button.h | 6 +++ gcr/gcr-viewer-widget.c | 79 ++++++++++++++++++++++++++++++----- gcr/gcr-viewer-widget.h | 11 +++-- gcr/gcr-viewer-window.c | 20 ++++++--- 7 files changed, 115 insertions(+), 32 deletions(-) commit 5b2e1e18810b48618b9e17d5c5ae9c0b6cd3438c Author: Stef Walter Date: 2011-11-30 gcr: Fix invalid memory access in _gcr_records_parse_colons() gcr/gcr-record.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 49 insertions(+), 1 deletions(-) commit b951143ba734e7b1664b5241434a96e0ce12a0fe Author: Stef Walter Date: 2011-11-30 gck: Make the gck_attributes_to_string() function public * Used for debugging and logging docs/reference/gck/gck-sections.txt | 1 + gck/gck-attributes.c | 13 ++++++++++++- gck/gck-enumerator.c | 6 +++--- gck/gck-private.h | 2 -- gck/gck-session.c | 4 ++-- gck/gck.h | 2 ++ gck/gck.symbols | 1 + 7 files changed, 21 insertions(+), 8 deletions(-) commit 42eab234b2257ac818988d64adb0781a2d62eddb Author: Stef Walter Date: 2011-11-29 gcr: Add gcr_certificate_get_basic_constraints() * Function to retrieve basic constraints info from a certificate docs/reference/gcr/gcr-sections.txt | 1 + gcr/Makefile.am | 1 + gcr/gcr-base.symbols | 1 + gcr/gcr-certificate-extensions.c | 32 ++++++++++++++++++++++++++++++ gcr/gcr-certificate-extensions.h | 4 +++ gcr/gcr-certificate.c | 37 +++++++++++++++++++++++++++++++++++ gcr/gcr-certificate.h | 4 +++ gcr/tests/test-certificate.c | 19 ++++++++++++++++- 8 files changed, 97 insertions(+), 2 deletions(-) commit 09d2d7d14b0fcadaabad6155ab635f890c957bd9 Author: Stef Walter Date: 2011-11-29 gcr: Add gcr_certificate_get_xxx_name() * To get a decent name for a certificate, using the CN, OU, and O docs/reference/gcr/gcr-sections.txt | 2 + gcr/gcr-base.symbols | 2 + gcr/gcr-certificate.c | 58 ++++++++++++++++++++++++++++++++-- gcr/gcr-certificate.h | 4 ++ 4 files changed, 62 insertions(+), 4 deletions(-) commit fcb9ad9d2a52ff32991a42ac55c29ebc5829ef94 Author: Stef Walter Date: 2011-11-29 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. gck/gck-enumerator.c | 90 ++++++++++++++++++--------------------- gck/tests/test-gck-enumerator.c | 36 +++++++++++++++- 2 files changed, 77 insertions(+), 49 deletions(-) commit 2b9854eabc343bec42c313ac5df82091d355a6c7 Author: Stef Walter Date: 2011-11-25 gcr: Fix build gulong != gsize https://bugzilla.gnome.org/show_bug.cgi?id=664832 gcr/gcr-key-mechanisms.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 248450a71a214f9aed593431e4068a71bba54c88 Author: Stef Walter Date: 2011-11-24 gcr: Update documentation and symbols docs/reference/gcr/gcr-sections.txt | 7 ++++++- gcr/gcr-base.symbols | 3 +++ gcr/gcr-certificate-request.c | 31 +++++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+), 1 deletions(-) commit df77f1b4561671791b535a89d3f39c7ded35b1e1 Author: Stef Walter Date: 2011-11-23 gcr: Support plain RSA signing * And detect the mechanisms supported on a given key. gcr/Makefile.am | 1 + gcr/gcr-certificate-request.c | 243 ++++++++++++++++++++++++++++++---- gcr/gcr-certificate-request.h | 13 ++ gcr/gcr-key-mechanisms.c | 222 +++++++++++++++++++++++++++++++ gcr/gcr-key-mechanisms.h | 56 ++++++++ gcr/tests/frob-certificate-request.c | 9 ++ 6 files changed, 515 insertions(+), 29 deletions(-) commit 2edc1fc3bdb4e014bd9188ea5ef776fda21849b0 Author: Stef Walter Date: 2011-11-23 gcr: Add support for encoding certificate requests as PEM * Add textual argument to gcr_certificate_request_encode() gcr/gcr-certificate-request.c | 28 +++++++++++++++++++++++++--- gcr/gcr-certificate-request.h | 1 + gcr/tests/frob-certificate-request.c | 14 ++++---------- 3 files changed, 30 insertions(+), 13 deletions(-) commit 84e3880d32f058a2a1c98fb750fc87fb9e3559e1 Author: Stef Walter Date: 2011-11-23 gck: Change gck_object_get attr_types arguments to const * So they can be used with const defined arrays gck/gck-object.c | 15 +++++++++++---- gck/gck.h | 4 ++-- 2 files changed, 13 insertions(+), 6 deletions(-) commit 1d2a165dfd59ab2e1b604eaba12e18790c9ed281 Author: Stef Walter Date: 2011-11-21 gcr: Add missing symbols, and build fixes docs/reference/gcr/Makefile.am | 1 + docs/reference/gcr/gcr-sections.txt | 9 --------- gcr/Makefile.am | 2 +- gcr/gcr-base.symbols | 10 ++++++++++ gcr/gcr-parser.c | 2 +- gcr/gcr-subject-public-key.c | 2 +- po/POTFILES.in | 3 ++- 7 files changed, 16 insertions(+), 13 deletions(-) commit afab17dbf9607620995f4a10304f66315469f597 Author: Stef Walter Date: 2011-11-21 gcr: Rename GcrCertificateReqRenderer to GcrCertificateRequestRenderer * Longer name is more in line with our other names gcr/Makefile.am | 2 +- gcr/gcr-certificate-req-renderer.c | 538 -------------------------------- gcr/gcr-certificate-req-renderer.h | 70 ---- gcr/gcr-certificate-request-renderer.c | 538 ++++++++++++++++++++++++++++++++ gcr/gcr-certificate-request-renderer.h | 70 ++++ gcr/gcr-renderer.c | 4 +- gcr/tests/frob-request.c | 4 +- 7 files changed, 613 insertions(+), 613 deletions(-) commit e247100fb735ff5e0650fa0f3d45785875701ca3 Author: Stef Walter Date: 2011-11-21 gcr: Document GcrCertificateRequest https://bugzilla.gnome.org/show_bug.cgi?id=663604 docs/reference/gcr/Makefile.am | 1 + docs/reference/gcr/gcr-docs.sgml | 1 + docs/reference/gcr/gcr-sections.txt | 28 ++++++++ gck/gck-session.c | 2 +- gcr/gcr-certificate-request.c | 114 +++++++++++++++++++++++++++++++++- gcr/gcr-certificate-request.h | 18 +++-- gcr/tests/frob-certificate-request.c | 2 +- 7 files changed, 154 insertions(+), 12 deletions(-) commit 6830937f195dce60a7bfe2c59846ffdda0c3e55a Author: Stef Walter Date: 2011-11-18 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 gcr/Makefile.am | 2 + gcr/gcr-base.h | 1 + gcr/gcr-certificate-request.c | 493 ++++++++++++++++++++++++++++++++++ gcr/gcr-certificate-request.h | 71 +++++ gcr/gcr-oids.list | 9 +- gcr/tests/Makefile.am | 5 + gcr/tests/console-interaction.c | 175 ++++++++++++ gcr/tests/console-interaction.h | 34 +++ gcr/tests/frob-certificate-request.c | 114 ++++++++ 9 files changed, 901 insertions(+), 3 deletions(-) commit c2c73dfc3ff6c94aa5615c1c8047ed8b862f7b6f Author: Stef Walter Date: 2011-11-18 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 docs/reference/gcr/gcr-sections.txt | 1 - egg/egg-asn1x.c | 11 +- egg/egg-testing.h | 2 + gck/gck-mock.c | 7 +- gcr/Makefile.am | 4 +- gcr/gcr-base.symbols | 1 - gcr/gcr-certificate-req-renderer.c | 16 +- gcr/gcr-certificate.c | 4 +- gcr/gcr-debug.c | 1 + gcr/gcr-debug.h | 1 + gcr/gcr-fingerprint.c | 327 +------------- gcr/gcr-fingerprint.h | 4 - gcr/gcr-key-size.c | 106 ----- gcr/gcr-key-size.h | 33 -- gcr/gcr-parser.c | 117 +++++ gcr/gcr-subject-public-key.c | 848 +++++++++++++++++++++++++++++++++++ gcr/gcr-subject-public-key.h | 55 +++ gcr/gcr-types.h | 2 + gcr/tests/Makefile.am | 1 + gcr/tests/files/client.spk | Bin 0 -> 294 bytes gcr/tests/files/generic-dsa.spk | Bin 0 -> 443 bytes gcr/tests/test-subject-public-key.c | 721 +++++++++++++++++++++++++++++ po/POTFILES.in | 1 + 23 files changed, 1785 insertions(+), 478 deletions(-) commit 07ac51b4f1c7268d807370cf63ab7de9c02d8ac1 Author: Stef Walter Date: 2011-11-17 gck: add gck_attributes_set() and gck_attributes_set_all() functions docs/reference/gck/gck-sections.txt | 3 + gck/gck-attributes.c | 77 +++++++++++++++++++++++ gck/gck.h | 8 +++ gck/gck.symbols | 3 + gck/tests/test-gck-attributes.c | 114 ++++++++++++++++++++++++++++++++--- 5 files changed, 197 insertions(+), 8 deletions(-) commit b9ce2ad2d7a24aba078238ba0e2f38726a5627c1 Author: Stef Walter Date: 2011-11-17 egg: Add support for building simple DNs egg/egg-dn.c | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++ egg/egg-dn.h | 4 ++ egg/tests/test-dn.c | 39 +++++++++++++++++++++++ 3 files changed, 128 insertions(+), 0 deletions(-) commit ef4773b8f4b00ca9b4c2fa4e73e2c6523d1f7389 Author: Stef Walter Date: 2011-11-17 egg: Fix regression of DER choice encoding egg/egg-asn1x.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit 77bbfca91cba5e9428c0c716a1a5cd82ae40717b Author: Stef Walter Date: 2011-11-17 egg: Encode DER tag classes correctly * Encode DER tag classes correctly for universal, application and private classes egg/egg-asn1x.c | 38 ++++++++++++++------ egg/tests/test-asn1.c | 95 ++++++++++++++++++++++++++++++++++++++++++++++--- egg/tests/test.asn | 2 + 3 files changed, 119 insertions(+), 16 deletions(-) commit c823c00677ddda03862adf2914a35670fa7cb0c9 Author: Stef Walter Date: 2011-11-17 egg: Rework egg_assert_cmpbytes() * Rename to more inline with other testing functions * Clearer messages egg/egg-bytes.h | 3 --- egg/egg-testing.c | 3 ++- egg/egg-testing.h | 7 +++++++ egg/tests/test-asn1.c | 22 +++++++++++----------- egg/tests/test-openssl.c | 2 +- 5 files changed, 21 insertions(+), 16 deletions(-) commit 56132c69b650504d05f485f3222263a170fb5cc1 Author: Stef Walter Date: 2011-11-17 egg: In egg_assert_cmpmem() output printable without encoding egg/egg-testing.c | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-) commit 66873180053acac68a93cb98fbc81f0bcb55a174 Author: Stef Walter Date: 2011-11-17 egg: Expose ASN.1 node types egg/egg-asn1x.c | 355 +++++++++++++++++++++++-------------------------- egg/egg-asn1x.h | 27 ++++ egg/tests/test-asn1.c | 30 ++++- 3 files changed, 225 insertions(+), 187 deletions(-) commit c5b9ceec53e3ce9346fc25d620147e998ded53ab Author: Stef Walter Date: 2011-11-17 egg: Rename egg_asn1x_xxx_raw_element() to egg_asn1x_xxx_element_raw() egg/egg-asn1x.c | 4 ++-- egg/egg-asn1x.h | 4 ++-- egg/egg-dn.c | 6 +++--- egg/egg-symkey.c | 4 ++-- egg/tests/test-asn1.c | 16 ++++++++-------- gcr/gcr-certificate-extensions.c | 4 ++-- gcr/gcr-certificate-renderer.c | 6 +++--- gcr/gcr-certificate-req-renderer.c | 4 ++-- gcr/gcr-certificate.c | 4 ++-- gcr/gcr-fingerprint.c | 8 ++++---- gcr/gcr-key-size.c | 2 +- gcr/gcr-parser.c | 24 ++++++++++++------------ gcr/tests/test-fingerprint.c | 2 +- gcr/tests/test-pkcs11-certificate.c | 2 +- 14 files changed, 45 insertions(+), 45 deletions(-) commit b189cedc1a41703dedd3e9a256e7689c34e38705 Author: Stef Walter Date: 2011-11-08 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 egg/pkix.asn | 5 + gcr/Makefile.am | 3 + gcr/gcr-certificate-renderer-private.h | 51 +++ gcr/gcr-certificate-renderer.c | 392 ++++++++++++----------- gcr/gcr-certificate-req-renderer.c | 550 +++++++++++++++++++++++++++++++ gcr/gcr-certificate-req-renderer.h | 70 ++++ gcr/gcr-certificate.c | 100 +------ gcr/gcr-crypto-types.xml | 16 + gcr/gcr-key-size.c | 106 ++++++ gcr/gcr-key-size.h | 33 ++ gcr/gcr-oids.list | 1 + gcr/gcr-renderer.c | 2 + gcr/gcr-types.h | 2 +- gcr/gcr-viewer.desktop.in | 2 +- gcr/gcr-viewer.desktop.in.in | 2 +- gcr/tests/Makefile.am | 1 + gcr/tests/files/pem-with-attributes.req | 64 ++++ gcr/tests/frob-request.c | 96 ++++++ po/POTFILES.in | 1 + 19 files changed, 1217 insertions(+), 280 deletions(-) commit c574a0f1118c713ebdfd06da77936d11e8158c04 Author: Stef Walter Date: 2011-11-07 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 certificate request format, both raw DER and encoded like OpenSSL output https://bugzilla.gnome.org/show_bug.cgi?id=663604 egg/pkix.asn | 14 +++ gcr/gcr-parser.c | 144 ++++++++++++++++++++++++++++++- gcr/gcr-types.h | 17 +++- gcr/tests/files/base64-rsa-2048.spkac | 1 + gcr/tests/files/der-rsa-2048.p10 | Bin 0 -> 681 bytes gcr/tests/files/der-rsa-2048.spkac | Bin 0 -> 592 bytes gcr/tests/files/pem-rsa-2048.req | 17 ++++ testing/ca-example/requests/email.spkac | 1 + 8 files changed, 190 insertions(+), 4 deletions(-)