commit 2ac257db441417eb2a521c77937e7ab7e09efef2 Author: Stef Walter Date: 2011-04-25 Release version 3.0.1 NEWS | 10 ++++++++++ configure.in | 2 +- 2 files changed, 11 insertions(+), 1 deletions(-) commit f3fe9e23eb27fa264d33e4c38453b4701a2c46ca Author: Stef Walter Date: 2011-04-25 secret-store: Add more example keyrings to parse. * From RHEL and Solaris OpenCSW https://bugzilla.gnome.org/show_bug.cgi?id=647766 .../tests/files/created-on-rhel.keyring | Bin 0 -> 105 bytes .../tests/files/created-on-solaris-opencsw.keyring | Bin 0 -> 105 bytes pkcs11/secret-store/tests/test-secret-binary.c | 74 +++++++++++++------- 3 files changed, 48 insertions(+), 26 deletions(-) commit 9454565c1c17d38a7720da433d9eeb8a436a4ceb Author: Stef Walter Date: 2011-04-24 ui: Fix clicking buttons in 'unsafe storage' dialog on GTK+3 https://bugzilla.gnome.org/show_bug.cgi?id=646178 ui/gku-prompt-tool.c | 53 +++++++++++++++++++++++++++++++++++-------------- 1 files changed, 38 insertions(+), 15 deletions(-) commit 1746971a616aa822c08992ac59a2d38e75197f47 Author: Stef Walter Date: 2011-04-24 Build with GTK+3 by default. * Accept arguments like --with-gtk=2 and --with-gtk=3 instead of strict --with-gtk=3.0. configure.in | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) commit 24983752cb3e452b255306695fd7217256add905 Author: Stef Walter Date: 2011-04-24 Modernize the remainder of the tests. * Bring up to date with gtester running and individual binaries. * Make the tests run in make distcheck .gitignore | 42 + Makefile.am | 4 +- daemon/control/tests/Makefile.am | 32 +- daemon/control/tests/frob-control-change.c | 31 + daemon/control/tests/frob-control-init.c | 31 + daemon/control/tests/frob-control-quit.c | 26 + daemon/control/tests/frob-control-unlock.c | 25 + daemon/control/tests/test-control-change.c | 30 - daemon/control/tests/test-control-init.c | 30 - daemon/control/tests/test-control-quit.c | 25 - daemon/control/tests/test-control-unlock.c | 24 - daemon/dbus/tests/Makefile.am | 4 +- egg/tests/Makefile.am | 10 +- egg/tests/test-asn1.c | 10 +- egg/tests/test-asn1x.c | 23 +- egg/tests/test-cleanup.c | 2 +- egg/tests/test-dh.c | 6 +- egg/tests/test-dn.c | 12 +- egg/tests/test-hex.c | 2 +- egg/tests/test-hkdf.c | 6 +- egg/tests/test-oid.c | 2 +- egg/tests/test-openssl.c | 10 +- egg/tests/test-padding.c | 4 +- egg/tests/test-secmem.c | 2 +- egg/tests/test-spawn.c | 20 +- egg/tests/test-symkey.c | 6 +- gck/tests/Makefile.am | 8 +- gck/tests/test-gck-crypto.c | 8 +- gck/tests/test-gck-enumerator.c | 8 +- gck/tests/test-gck-module.c | 10 +- gck/tests/test-gck-modules.c | 8 +- gck/tests/test-gck-object.c | 8 +- gck/tests/test-gck-session.c | 8 +- gck/tests/test-gck-slot.c | 8 +- gck/tests/test-gck-uri.c | 6 - gcr/tests/Makefile.am | 8 +- gcr/tests/frob-certificate.c | 2 +- gcr/tests/frob-key.c | 2 +- gcr/tests/test-certificate-chain.c | 12 +- gcr/tests/test-certificate.c | 12 +- gcr/tests/test-parser.c | 10 +- gcr/tests/test-pkcs11-certificate.c | 12 +- gcr/tests/test-simple-certificate.c | 10 +- gcr/tests/test-trust.c | 10 +- pkcs11/gkm/tests/Makefile.am | 10 +- pkcs11/gkm/tests/mock-module.c | 2 +- pkcs11/gkm/tests/test-data-asn1.c | 2 +- pkcs11/gkm/tests/test-data-der.c | 12 +- pkcs11/gkm/tests/test-object.c | 2 +- pkcs11/gnome2-store/tests/Makefile.am | 56 +- pkcs11/gnome2-store/tests/check-gnome2-module.c | 68 + pkcs11/gnome2-store/tests/dump-gnome2-file.c | 96 - .../tests/files/data-file-private.store | Bin 0 -> 494 bytes .../tests/files/data-file-public.store | Bin 0 -> 216 bytes pkcs11/gnome2-store/tests/frob-gnome2-file.c | 98 + .../tests/test-data/data-file-private.store | Bin 494 -> 0 bytes .../tests/test-data/data-file-public.store | Bin 216 -> 0 bytes pkcs11/gnome2-store/tests/test-gnome2-file.c | 642 +++++ pkcs11/gnome2-store/tests/test-module.c | 34 - pkcs11/gnome2-store/tests/unit-test-gnome2-file.c | 592 ----- pkcs11/roots-store/tests/Makefile.am | 40 +- pkcs11/roots-store/tests/check-roots-module.c | 68 + .../tests/files/RSA_Root_Certificate_1.pem | 19 + .../tests/files/RSA_Security_1024_v3.pem | 16 + .../tests/files/RSA_Security_2048_v3.pem | 22 + .../tests/files/Thawte_Personal_Basic_CA.pem | 20 + .../tests/files/Thawte_Personal_Freemail_CA.pem | 21 + .../tests/files/Thawte_Personal_Premium_CA.pem | 21 + .../tests/files/Thawte_Premium_Server_CA.pem | 21 + .../roots-store/tests/files/Thawte_Server_CA.pem | 20 + .../tests/files/Thawte_Time_Stamping_CA.pem | 18 + pkcs11/roots-store/tests/files/ca-certificates.crt | 2560 ++++++++++++++++++++ pkcs11/roots-store/tests/files/cacert.org.pem | 41 + pkcs11/roots-store/tests/files/der-certificate.crt | Bin 0 -> 747 bytes .../tests/test-data/RSA_Root_Certificate_1.pem | 19 - .../tests/test-data/RSA_Security_1024_v3.pem | 16 - .../tests/test-data/RSA_Security_2048_v3.pem | 22 - .../tests/test-data/Thawte_Personal_Basic_CA.pem | 20 - .../test-data/Thawte_Personal_Freemail_CA.pem | 21 - .../tests/test-data/Thawte_Personal_Premium_CA.pem | 21 - .../tests/test-data/Thawte_Premium_Server_CA.pem | 21 - .../tests/test-data/Thawte_Server_CA.pem | 20 - .../tests/test-data/Thawte_Time_Stamping_CA.pem | 18 - .../tests/test-data/ca-certificates.crt | 2560 -------------------- pkcs11/roots-store/tests/test-data/cacert.org.pem | 41 - .../tests/test-data/der-certificate.crt | Bin 747 -> 0 bytes pkcs11/roots-store/tests/test-module.c | 34 - pkcs11/secret-store/gkm-secret-binary.c | 4 +- pkcs11/secret-store/gkm-secret-binary.h | 4 +- pkcs11/secret-store/gkm-secret-collection.c | 2 +- pkcs11/secret-store/gkm-secret-textual.c | 4 +- pkcs11/secret-store/gkm-secret-textual.h | 4 +- pkcs11/secret-store/tests/Makefile.am | 61 +- pkcs11/secret-store/tests/files/encrypted.keyring | Bin 0 -> 733 bytes .../tests/files/plain-bad-number.keyring | 23 + pkcs11/secret-store/tests/files/plain.keyring | 55 + pkcs11/secret-store/tests/mock-secret-module.c | 300 +++ pkcs11/secret-store/tests/mock-secret-module.h | 51 + .../secret-store/tests/test-data/encrypted.keyring | Bin 733 -> 0 bytes .../tests/test-data/plain-bad-number.keyring | 23 - pkcs11/secret-store/tests/test-data/plain.keyring | 55 - pkcs11/secret-store/tests/test-secret-binary.c | 222 ++ pkcs11/secret-store/tests/test-secret-collection.c | 598 +++++ pkcs11/secret-store/tests/test-secret-compat.c | 130 + pkcs11/secret-store/tests/test-secret-data.c | 245 ++ pkcs11/secret-store/tests/test-secret-fields.c | 439 ++++ pkcs11/secret-store/tests/test-secret-item.c | 482 ++++ pkcs11/secret-store/tests/test-secret-module.c | 267 -- pkcs11/secret-store/tests/test-secret-module.h | 50 - pkcs11/secret-store/tests/test-secret-object.c | 302 +++ pkcs11/secret-store/tests/test-secret-search.c | 380 +++ pkcs11/secret-store/tests/test-secret-textual.c | 205 ++ .../secret-store/tests/unit-test-secret-binary.c | 200 -- .../tests/unit-test-secret-collection.c | 563 ----- .../secret-store/tests/unit-test-secret-compat.c | 115 - pkcs11/secret-store/tests/unit-test-secret-data.c | 215 -- .../secret-store/tests/unit-test-secret-fields.c | 387 --- pkcs11/secret-store/tests/unit-test-secret-item.c | 438 ---- .../secret-store/tests/unit-test-secret-object.c | 269 -- .../secret-store/tests/unit-test-secret-search.c | 353 --- .../secret-store/tests/unit-test-secret-textual.c | 184 -- pkcs11/ssh-store/gkm-ssh-openssh.c | 5 +- pkcs11/ssh-store/gkm-ssh-openssh.h | 4 +- pkcs11/ssh-store/tests/Makefile.am | 58 +- pkcs11/ssh-store/tests/check-ssh-module.c | 68 + pkcs11/ssh-store/tests/files/id_dsa_encrypted | 15 + pkcs11/ssh-store/tests/files/id_dsa_encrypted.pub | 1 + pkcs11/ssh-store/tests/files/id_dsa_plain | 12 + pkcs11/ssh-store/tests/files/id_dsa_plain.pub | 1 + pkcs11/ssh-store/tests/files/id_dsa_test.pub | 7 + pkcs11/ssh-store/tests/files/id_rsa_encrypted | 30 + pkcs11/ssh-store/tests/files/id_rsa_encrypted.pub | 1 + pkcs11/ssh-store/tests/files/id_rsa_plain | 27 + pkcs11/ssh-store/tests/files/id_rsa_plain.pub | 1 + pkcs11/ssh-store/tests/files/id_rsa_test.pub | 1 + pkcs11/ssh-store/tests/mock-ssh-module.c | 110 + pkcs11/ssh-store/tests/mock-ssh-module.h | 43 + pkcs11/ssh-store/tests/test-data/id_dsa_encrypted | 15 - .../ssh-store/tests/test-data/id_dsa_encrypted.pub | 1 - pkcs11/ssh-store/tests/test-data/id_dsa_plain | 12 - pkcs11/ssh-store/tests/test-data/id_dsa_plain.pub | 1 - pkcs11/ssh-store/tests/test-data/id_dsa_test.pub | 7 - pkcs11/ssh-store/tests/test-data/id_rsa_encrypted | 30 - .../ssh-store/tests/test-data/id_rsa_encrypted.pub | 1 - pkcs11/ssh-store/tests/test-data/id_rsa_plain | 27 - pkcs11/ssh-store/tests/test-data/id_rsa_plain.pub | 1 - pkcs11/ssh-store/tests/test-data/id_rsa_test.pub | 1 - pkcs11/ssh-store/tests/test-private-key.c | 102 + pkcs11/ssh-store/tests/test-ssh-module.c | 113 - pkcs11/ssh-store/tests/test-ssh-module.h | 43 - pkcs11/ssh-store/tests/test-ssh-openssh.c | 134 + pkcs11/ssh-store/tests/unit-test-private-key.c | 97 - pkcs11/ssh-store/tests/unit-test-ssh-openssh.c | 117 - pkcs11/wrap-layer/tests/Makefile.am | 52 +- pkcs11/wrap-layer/tests/mock-secret-store.c | 4 +- pkcs11/wrap-layer/tests/test-create-credential.c | 88 +- pkcs11/wrap-layer/tests/test-init-pin.c | 60 +- pkcs11/wrap-layer/tests/test-login-auto.c | 129 +- pkcs11/wrap-layer/tests/test-login-hints.c | 19 +- pkcs11/wrap-layer/tests/test-login-keyring.c | 92 +- pkcs11/wrap-layer/tests/test-login-specific.c | 74 +- pkcs11/wrap-layer/tests/test-login-user.c | 94 +- pkcs11/wrap-layer/tests/test-set-pin.c | 58 +- pkcs11/xdg-store/tests/Makefile.am | 65 +- pkcs11/xdg-store/tests/check-xdg-module.c | 68 + pkcs11/xdg-store/tests/diddle-trust-file.c | 233 -- .../xdg-store/tests/files/test-certificate-1.cer | Bin 0 -> 813 bytes .../xdg-store/tests/files/test-certificate-2.cer | Bin 0 -> 813 bytes pkcs11/xdg-store/tests/files/test-refer-1.trust | Bin 0 -> 241 bytes pkcs11/xdg-store/tests/frob-trust-file.c | 233 ++ pkcs11/xdg-store/tests/mock-xdg-module.c | 214 ++ pkcs11/xdg-store/tests/mock-xdg-module.h | 51 + .../tests/test-data/test-certificate-1.cer | Bin 813 -> 0 bytes .../tests/test-data/test-certificate-2.cer | Bin 813 -> 0 bytes .../xdg-store/tests/test-data/test-refer-1.trust | Bin 241 -> 0 bytes pkcs11/xdg-store/tests/test-xdg-module.c | 257 +-- pkcs11/xdg-store/tests/test-xdg-module.h | 45 - pkcs11/xdg-store/tests/test-xdg-trust.c | 352 ++-- testing/Makefile.am | 18 +- testing/testing-build.sh | 139 -- testing/testing.c | 394 --- testing/testing.h | 104 - testing/testing.make | 77 - ui/tests/Makefile.am | 35 +- ui/tests/files/prompt-empty | 4 + ui/tests/files/prompt-full | 17 + ui/tests/files/prompt-test | 8 + ui/tests/test-data/prompt-empty | 4 - ui/tests/test-data/prompt-full | 17 - ui/tests/test-data/prompt-test | 8 - ui/tests/test-util.c | 164 ++ ui/tests/unit-test-util.c | 136 -- 192 files changed, 9664 insertions(+), 9248 deletions(-) commit eedfc9755323f68a26c39ff2374a11dbc18ada32 Author: Stef Walter Date: 2011-04-23 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. configure.in | 25 ++++++++++++++----------- daemon/dbus/gkd-dbus-secrets.c | 2 +- daemon/dbus/gkd-dbus.c | 2 +- daemon/dbus/tests/Makefile.am | 4 +--- daemon/gkd-main.c | 4 ++-- daemon/gkd-pkcs11.c | 2 +- egg/tests/Makefile.am | 4 +--- egg/tests/test-dh.c | 7 +++++-- gck/Makefile.am | 21 +++++++++++++-------- gck/gck-mock.h | 6 +----- gck/gck-test.h | 4 ---- gck/tests/Makefile.am | 13 ++++++------- gcr/Makefile.am | 13 ++++++++----- gcr/tests/Makefile.am | 10 ++++------ pkcs11/gkm/tests/Makefile.am | 4 +--- pkcs11/wrap-layer/tests/Makefile.am | 5 ++++- ui/Makefile.am | 9 +++++++-- ui/gku-prompt.c | 4 ++-- ui/gku-prompt.h | 4 ++-- 19 files changed, 74 insertions(+), 69 deletions(-) commit 17d6b046561220bc80f9d6cf0306f70b2f8c6fa7 Author: Marc Plano-Lesay Date: 2011-04-23 Fix more gcc 4.6 warnings. https://bugzilla.gnome.org/show_bug.cgi?id=647315 daemon/gkd-main.c | 2 -- daemon/ssh-agent/gkd-ssh-agent-ops.c | 2 -- pkcs11/gkm/tests/test-data-der.c | 3 --- pkcs11/gnome2-store/gkm-gnome2-file.c | 3 --- pkcs11/roots-store/gkm-roots-module.c | 3 +-- pkcs11/rpc-layer/gkm-rpc-module.c | 10 +++++++--- pkcs11/secret-store/gkm-secret-textual.c | 4 ---- pkcs11/ssh-store/gkm-ssh-module.c | 3 --- 8 files changed, 8 insertions(+), 22 deletions(-) commit 8ebab4dac01ac4c8895ccc4f91589f921287c297 Author: Theppitak Karoonboonyanan Date: 2011-04-22 Updated Thai translation. po/th.po | 1048 +++++++++++++++++++++++++++++++++++--------------------------- 1 files changed, 585 insertions(+), 463 deletions(-) commit fab2b464b3cc73bc3c2f42ac34fb5a2bf03ece2b Author: Stef Walter Date: 2011-04-15 gcr: Implement tool for playing with the parser .gitignore | 1 + gcr/tests/Makefile.am | 1 + gcr/tests/frob-parser.c | 134 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 136 insertions(+), 0 deletions(-) commit 433e014654564fb7dfe013c7968c4b9c027a6f34 Author: Stef Walter Date: 2011-04-21 gck: Fix linking issue due to type in Makefile. https://bugzilla.gnome.org/show_bug.cgi?id=648338 gck/tests/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit fcfe39834e3581819a592e4393201958211a29a0 Author: Laurent Bigonville Date: 2011-04-20 Expand path in gnome-keyring-prompt.desktop properly https://bugzilla.gnome.org/show_bug.cgi?id=647385 configure.in | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 22c86f22dc3441af04daf9c82cf44f1d85a9ffec Author: Stef Walter Date: 2011-04-20 egg: Run the hkdf tests * These seem to have dropped out during a previous refactoring .gitignore | 1 + egg/tests/Makefile.am | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) commit 33c2185da08e665eb949b155f9edaa8c4618d0f0 Author: Marc Plano-Lesay Date: 2011-04-09 fix unused-but-set-variable warnings https://bugzilla.gnome.org/show_bug.cgi?id=647315 egg/egg-hkdf.c | 4 ++-- gck/gck-slot.c | 3 --- gcr/tests/test-parser.c | 2 ++ pkcs11/gkm/gkm-attributes.c | 3 --- pkcs11/gkm/gkm-null-mechanism.c | 4 ---- 5 files changed, 4 insertions(+), 12 deletions(-) commit c8bdfed5775dccb7e255107dfd627a78c25233ff Author: Kjartan Maraas Date: 2011-03-29 Remove #include from headers to make sure it's not included more than once egg/egg-libgcrypt.h | 2 -- pkcs11/rpc-layer/gkm-rpc-private.h | 2 -- testing/testing.h | 2 -- 3 files changed, 0 insertions(+), 6 deletions(-) commit 1079959f96c4526386d4bc2be7bfcd4a35b6e2cf Author: Stef Walter Date: 2011-04-19 gcr: Fix remaining references to test-data directory gcr/tests/Makefile.am | 2 +- gcr/tests/frob-certificate.c | 2 +- gcr/tests/frob-key.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit eb11123302e70c1b81a346db0b713d9ec0c99929 Author: Stef Walter Date: 2011-04-19 gcr: In test-parser don't try to parse directories. gcr/tests/test-parser.c | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) commit 2c7a6d8bcab79aa4262dc29c028f0bbb792f2bfa Author: Corentin Chary Date: 2011-04-18 rpc-layer: Fix bad handshake length macro. https://bugzilla.gnome.org/show_bug.cgi?id=648105 pkcs11/rpc-layer/gkm-rpc-private.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 00052136a0fd42b23956dfd76892912f7fb58e00 Author: Stef Walter Date: 2011-04-18 pkcs11: Fix up gkm tests to more modern gtest style tests. .gitignore | 13 + pkcs11/gkm/tests/Makefile.am | 94 +- pkcs11/gkm/tests/files/ca-certificates.crt | 3601 ++++++++++++++++++++ pkcs11/gkm/tests/files/der-pkcs8-PBE-MD5-DES.key | Bin 0 -> 677 bytes pkcs11/gkm/tests/files/der-pkcs8-PBE-SHA1-3DES.key | Bin 0 -> 678 bytes pkcs11/gkm/tests/files/der-pkcs8-PBE-SHA1-DES.key | Bin 0 -> 677 bytes .../gkm/tests/files/der-pkcs8-PBE-SHA1-RC2-40.key | Bin 0 -> 678 bytes .../gkm/tests/files/der-pkcs8-PBE-SHA1-RC4-128.key | Bin 0 -> 673 bytes pkcs11/gkm/tests/files/der-pkcs8-dsa.key | Bin 0 -> 335 bytes .../gkm/tests/files/der-pkcs8-encrypted-pkcs5.key | Bin 0 -> 677 bytes pkcs11/gkm/tests/files/der-pkcs8-v2-des.key | Bin 0 -> 711 bytes pkcs11/gkm/tests/files/der-pkcs8-v2-des3.key | Bin 0 -> 714 bytes pkcs11/gkm/tests/files/der-pkcs8.key | Bin 0 -> 635 bytes pkcs11/gkm/tests/files/pem-rsa-enc.key | 18 + pkcs11/gkm/tests/files/test-certificate-1.der | Bin 0 -> 813 bytes pkcs11/gkm/tests/files/test-certificate-2.der | Bin 0 -> 1346 bytes pkcs11/gkm/tests/mock-locked-object.h | 4 +- pkcs11/gkm/tests/mock-module.c | 126 + pkcs11/gkm/tests/mock-module.h | 45 + pkcs11/gkm/tests/test-attributes.c | 913 +++++ pkcs11/gkm/tests/test-credential.c | 314 ++ pkcs11/gkm/tests/test-data-asn1.c | 111 + pkcs11/gkm/tests/test-data-der.c | 601 ++++ pkcs11/gkm/tests/test-data/ca-certificates.crt | 3601 -------------------- .../gkm/tests/test-data/der-pkcs8-PBE-MD5-DES.key | Bin 677 -> 0 bytes .../tests/test-data/der-pkcs8-PBE-SHA1-3DES.key | Bin 678 -> 0 bytes .../gkm/tests/test-data/der-pkcs8-PBE-SHA1-DES.key | Bin 677 -> 0 bytes .../tests/test-data/der-pkcs8-PBE-SHA1-RC2-40.key | Bin 678 -> 0 bytes .../tests/test-data/der-pkcs8-PBE-SHA1-RC4-128.key | Bin 673 -> 0 bytes pkcs11/gkm/tests/test-data/der-pkcs8-dsa.key | Bin 335 -> 0 bytes .../tests/test-data/der-pkcs8-encrypted-pkcs5.key | Bin 677 -> 0 bytes pkcs11/gkm/tests/test-data/der-pkcs8-v2-des.key | Bin 711 -> 0 bytes pkcs11/gkm/tests/test-data/der-pkcs8-v2-des3.key | Bin 714 -> 0 bytes pkcs11/gkm/tests/test-data/der-pkcs8.key | Bin 635 -> 0 bytes pkcs11/gkm/tests/test-data/pem-rsa-enc.key | 18 - pkcs11/gkm/tests/test-data/test-certificate-1.der | Bin 813 -> 0 bytes pkcs11/gkm/tests/test-data/test-certificate-2.der | Bin 1346 -> 0 bytes pkcs11/gkm/tests/test-file-tracker.c | 244 ++ pkcs11/gkm/tests/test-memory-store.c | 482 +++ pkcs11/gkm/tests/test-module.c | 114 - pkcs11/gkm/tests/test-module.h | 45 - pkcs11/gkm/tests/test-object.c | 305 ++ pkcs11/gkm/tests/test-secret.c | 206 ++ pkcs11/gkm/tests/test-sexp.c | 154 + pkcs11/gkm/tests/test-store.c | 102 + pkcs11/gkm/tests/test-timer.c | 175 + pkcs11/gkm/tests/test-transaction.c | 477 +++ pkcs11/gkm/tests/unit-test-attributes.c | 779 ----- pkcs11/gkm/tests/unit-test-credential.c | 285 -- pkcs11/gkm/tests/unit-test-data-asn1.c | 95 - pkcs11/gkm/tests/unit-test-data-der.c | 550 --- pkcs11/gkm/tests/unit-test-file-tracker.c | 221 -- pkcs11/gkm/tests/unit-test-memory-store.c | 438 --- pkcs11/gkm/tests/unit-test-object.c | 277 -- pkcs11/gkm/tests/unit-test-secret.c | 178 - pkcs11/gkm/tests/unit-test-sexp.c | 132 - pkcs11/gkm/tests/unit-test-store.c | 85 - pkcs11/gkm/tests/unit-test-timer.c | 144 - pkcs11/gkm/tests/unit-test-transaction.c | 432 --- 59 files changed, 7957 insertions(+), 7422 deletions(-) commit aa2c68cac2fb76a3b3d1dc1115d608e5a1b9e402 Author: Stef Walter Date: 2011-04-18 Use gpointer instead of guchar in several places. This makes for cleaner and simpler code. egg/egg-openssl.c | 8 +++--- egg/egg-openssl.h | 2 +- pkcs11/gkm/gkm-data-der.c | 58 ++++++++++++++++++++++---------------------- pkcs11/gkm/gkm-data-der.h | 58 ++++++++++++++++++++++---------------------- 4 files changed, 63 insertions(+), 63 deletions(-) commit 908351a45a37e66fc2bc45883961f21385789045 Author: Stef Walter Date: 2011-04-13 gcr: Implement debug tracing * Instrument the certificate chain code. docs/reference/gcr/gcr-sections.txt | 4 +- gcr/Makefile.am | 3 +- gcr/gcr-certificate-chain.c | 46 ++++++++++++++- gcr/gcr-debug.c | 106 +++++++++++++++++++++++++++++++++++ gcr/gcr-debug.h | 86 ++++++++++++++++++++++++++++ gcr/gcr-library.c | 4 + gcr/tests/frob-certificate.c | 1 + gcr/tests/frob-key.c | 1 + gcr/tests/frob-unlock-options.c | 1 + gcr/tests/test-certificate-chain.c | 1 + gcr/tests/test-certificate.c | 1 + gcr/tests/test-parser.c | 1 + gcr/tests/test-pkcs11-certificate.c | 1 + gcr/tests/test-simple-certificate.c | 1 + gcr/tests/test-trust.c | 1 + 15 files changed, 254 insertions(+), 4 deletions(-) commit e21d614b6e4a6560b9a4de196089d8e40bd09b38 Author: Takayoshi OKANO Date: 2011-04-14 Updated Japanese translation po/ja.po | 648 +++++++++++++++++++++++++++++++++++--------------------------- 1 files changed, 370 insertions(+), 278 deletions(-) commit 771b9b90900ef5c8800483d22b56bd5ad53e6c1c Author: Stef Walter Date: 2011-04-09 Remove accidentally committed file. gcr/tests/frob-selector | 148 ----------------------------------------------- 1 files changed, 0 insertions(+), 148 deletions(-) commit 98af3a2f4b79c88ba91f7a9f8a0668bd0eec8d8e Author: Kristjan SCHMIDT Date: 2011-04-09 Add Esperanto translation po/LINGUAS | 1 + po/eo.po | 1112 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 1113 insertions(+), 0 deletions(-) commit af8002698e7c381024864da108c0ced10fe72e8b Author: Stef Walter Date: 2011-04-09 Fix the building of the tests when not explicitly enabled. configure.in | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 8d2c4d90144d85937d31c7c5739cfa6594b3dbfb Author: Stef Walter Date: 2011-04-08 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). gcr/gcr-certificate-widget.c | 13 ++++++++++++- gcr/gcr-certificate-widget.h | 15 ++++----------- gcr/gcr-key-widget.c | 13 ++++++++++++- gcr/gcr-key-widget.h | 15 ++++----------- gcr/gcr-unlock-options-widget.c | 13 +++++++++++-- gcr/gcr-unlock-options-widget.h | 14 ++++---------- 6 files changed, 47 insertions(+), 36 deletions(-) commit 122c6a6c541fd7cb323525f4c9a96d9386ea5b24 Author: Stef Walter Date: 2011-04-08 Fine tune debug and test build options * Enable test building by default, use --disable-tests to disable * Enable logging by default, use --disable-debug to disable * Use --enable-debug=full to build without optimizations and with disabled deprecated symbols, etc. configure.in | 42 +++++++++++++++++++++++++----------------- 1 files changed, 25 insertions(+), 17 deletions(-) commit a6db3ef195bc38d6d655807aa4d5bc35b0669c90 Author: Stef Walter Date: 2011-04-06 gcr: Complete documentation docs/reference/gcr/Makefile.am | 15 ++- docs/reference/gcr/gcr-docs.sgml | 10 +- docs/reference/gcr/gcr-sections.txt | 214 ++++++++++++++++++------ gcr/gcr-certificate-chain.c | 32 ++++ gcr/gcr-certificate-chain.h | 2 + gcr/gcr-certificate-renderer.c | 65 +++++++- gcr/gcr-certificate-renderer.h | 6 +- gcr/gcr-certificate-widget.c | 74 ++++++++- gcr/gcr-certificate-widget.h | 7 +- gcr/gcr-certificate.c | 12 ++ gcr/gcr-certificate.h | 1 + gcr/gcr-importer.c | 170 ++++++++++++++++++- gcr/gcr-importer.h | 6 +- gcr/gcr-initializer.h | 85 ---------- gcr/gcr-key-renderer.c | 40 +++++ gcr/gcr-key-renderer.h | 2 + gcr/gcr-key-widget.c | 53 ++++++ gcr/gcr-key-widget.h | 3 + gcr/gcr-library.c | 16 +- gcr/gcr-parser.c | 312 ++++++++++++++++++++++++++++++----- gcr/gcr-parser.h | 25 ++-- gcr/gcr-pkcs11-certificate.c | 12 ++ gcr/gcr-pkcs11-certificate.h | 3 + gcr/gcr-renderer.c | 80 +++++++++ gcr/gcr-renderer.h | 1 + gcr/gcr-simple-certificate.c | 13 ++ gcr/gcr-simple-certificate.h | 2 + gcr/gcr-trust.c | 2 +- gcr/gcr-types.h | 22 +-- gcr/gcr-unlock-options-widget.c | 132 +++++++++++++++ gcr/gcr-unlock-options-widget.h | 2 + gcr/gcr-viewer.c | 81 +++++++++- gcr/gcr-viewer.h | 3 +- 33 files changed, 1266 insertions(+), 237 deletions(-) commit e61a7b36b008541843fc7385e45d157701232ed1 Author: Stef Walter Date: 2011-04-06 gcr: Modernize tests. Use standard gtest type setup. .gitignore | 9 + gcr/gcr-parser.c | 2 +- gcr/gcr-parser.h | 2 +- gcr/tests/Makefile.am | 92 +- gcr/tests/files/RSA_Root_Certificate_1.pem | 19 + gcr/tests/files/RSA_Security_1024_v3.pem | 16 + gcr/tests/files/RSA_Security_2048_v3.pem | 22 + gcr/tests/files/Thawte_Personal_Basic_CA.pem | 20 + gcr/tests/files/Thawte_Personal_Freemail_CA.pem | 21 + gcr/tests/files/Thawte_Personal_Premium_CA.pem | 21 + gcr/tests/files/Thawte_Premium_Server_CA.pem | 21 + gcr/tests/files/Thawte_Server_CA.pem | 20 + gcr/tests/files/Thawte_Time_Stamping_CA.pem | 18 + gcr/tests/files/ca-certificates.crt | 2560 ++++++++++++++++++++ gcr/tests/files/cacert.org.pem | 41 + gcr/tests/files/collabora-ca.cer | Bin 0 -> 1536 bytes gcr/tests/files/der-certificate-dsa.cer | Bin 0 -> 1639 bytes gcr/tests/files/der-certificate.crt | Bin 0 -> 747 bytes gcr/tests/files/der-dsa-1024.key | Bin 0 -> 447 bytes gcr/tests/files/der-pkcs8-PBE-MD5-DES.key | Bin 0 -> 677 bytes gcr/tests/files/der-pkcs8-PBE-SHA1-3DES.key | Bin 0 -> 678 bytes gcr/tests/files/der-pkcs8-PBE-SHA1-DES.key | Bin 0 -> 677 bytes gcr/tests/files/der-pkcs8-PBE-SHA1-RC2-40.key | Bin 0 -> 678 bytes gcr/tests/files/der-pkcs8-PBE-SHA1-RC4-128.key | Bin 0 -> 673 bytes gcr/tests/files/der-pkcs8-dsa.key | Bin 0 -> 335 bytes gcr/tests/files/der-pkcs8-encrypted-pkcs5.key | Bin 0 -> 677 bytes gcr/tests/files/der-pkcs8-v2-des.key | Bin 0 -> 711 bytes gcr/tests/files/der-pkcs8-v2-des3.key | Bin 0 -> 714 bytes gcr/tests/files/der-pkcs8.key | Bin 0 -> 635 bytes gcr/tests/files/der-rsa-1024.key | Bin 0 -> 609 bytes gcr/tests/files/dhansak-collabora.cer | Bin 0 -> 1200 bytes gcr/tests/files/email.p12 | Bin 0 -> 2488 bytes gcr/tests/files/pem-dsa-1024.key | 12 + gcr/tests/files/pem-pkcs8.key | 17 + gcr/tests/files/pem-rsa-enc.key | 18 + gcr/tests/files/test-x509-swiss.p7b | Bin 0 -> 1002 bytes gcr/tests/files/unclient.p12 | Bin 0 -> 1476 bytes gcr/tests/frob-certificate.c | 111 + gcr/tests/frob-key.c | 109 + gcr/tests/frob-selector | 148 ++ gcr/tests/frob-unlock-options.c | 105 + gcr/tests/test-certificate-chain.c | 227 ++- gcr/tests/test-certificate.c | 197 +- gcr/tests/test-data/RSA_Root_Certificate_1.pem | 19 - gcr/tests/test-data/RSA_Security_1024_v3.pem | 16 - gcr/tests/test-data/RSA_Security_2048_v3.pem | 22 - gcr/tests/test-data/Thawte_Personal_Basic_CA.pem | 20 - .../test-data/Thawte_Personal_Freemail_CA.pem | 21 - gcr/tests/test-data/Thawte_Personal_Premium_CA.pem | 21 - gcr/tests/test-data/Thawte_Premium_Server_CA.pem | 21 - gcr/tests/test-data/Thawte_Server_CA.pem | 20 - gcr/tests/test-data/Thawte_Time_Stamping_CA.pem | 18 - gcr/tests/test-data/ca-certificates.crt | 2560 -------------------- gcr/tests/test-data/cacert.org.pem | 41 - gcr/tests/test-data/collabora-ca.cer | Bin 1536 -> 0 bytes gcr/tests/test-data/der-certificate-dsa.cer | Bin 1639 -> 0 bytes gcr/tests/test-data/der-certificate.crt | Bin 747 -> 0 bytes gcr/tests/test-data/der-dsa-1024.key | Bin 447 -> 0 bytes gcr/tests/test-data/der-pkcs8-PBE-MD5-DES.key | Bin 677 -> 0 bytes gcr/tests/test-data/der-pkcs8-PBE-SHA1-3DES.key | Bin 678 -> 0 bytes gcr/tests/test-data/der-pkcs8-PBE-SHA1-DES.key | Bin 677 -> 0 bytes gcr/tests/test-data/der-pkcs8-PBE-SHA1-RC2-40.key | Bin 678 -> 0 bytes gcr/tests/test-data/der-pkcs8-PBE-SHA1-RC4-128.key | Bin 673 -> 0 bytes gcr/tests/test-data/der-pkcs8-dsa.key | Bin 335 -> 0 bytes gcr/tests/test-data/der-pkcs8-encrypted-pkcs5.key | Bin 677 -> 0 bytes gcr/tests/test-data/der-pkcs8-v2-des.key | Bin 711 -> 0 bytes gcr/tests/test-data/der-pkcs8-v2-des3.key | Bin 714 -> 0 bytes gcr/tests/test-data/der-pkcs8.key | Bin 635 -> 0 bytes gcr/tests/test-data/der-rsa-1024.key | Bin 609 -> 0 bytes gcr/tests/test-data/dhansak-collabora.cer | Bin 1200 -> 0 bytes gcr/tests/test-data/email.p12 | Bin 2488 -> 0 bytes gcr/tests/test-data/pem-dsa-1024.key | 12 - gcr/tests/test-data/pem-pkcs8.key | 17 - gcr/tests/test-data/pem-rsa-enc.key | 18 - gcr/tests/test-data/test-x509-swiss.p7b | Bin 1002 -> 0 bytes gcr/tests/test-data/unclient.p12 | Bin 1476 -> 0 bytes gcr/tests/test-parser.c | 167 ++ gcr/tests/test-pkcs11-certificate.c | 130 +- gcr/tests/test-simple-certificate.c | 63 +- gcr/tests/test-trust.c | 150 +- gcr/tests/ui-test-certificate.c | 111 - gcr/tests/ui-test-key.c | 109 - gcr/tests/ui-test-unlock-options.c | 105 - gcr/tests/unit-test-parser.c | 142 -- 84 files changed, 4015 insertions(+), 3616 deletions(-) commit 3fe36de1ef0e93c86021d7a0a256db189ce1e4f1 Author: Stef Walter Date: 2011-04-05 gck: Cleanup the documentation docs/reference/gck/Makefile.am | 14 +- docs/reference/gck/gck-docs.sgml | 6 +- docs/reference/gck/gck-pkcs11-links.xml | 25 +++ docs/reference/gck/gck-sections.txt | 137 +++++++++++-- docs/reference/gck/gck.types | 4 - gck/gck-attributes.c | 125 ++++++++----- gck/gck-dump.c | 12 ++ gck/gck-enumerator.c | 68 ++++++- gck/gck-misc.c | 34 +++- gck/gck-module.c | 47 +++-- gck/gck-modules.c | 123 ++++++++++-- gck/gck-object.c | 154 ++++++++------- gck/gck-session.c | 267 +++++++++++++------------ gck/gck-slot.c | 103 ++++------- gck/gck-uri.c | 23 ++- gck/gck.h | 331 +++++++------------------------ 16 files changed, 812 insertions(+), 661 deletions(-) commit a4f19ca990862b67712107b89eb2768b8c1a4a1d Author: Stef Walter Date: 2011-04-05 prompt: Make sure to run the appropriate GTK version of prompt tool. ui/Makefile.am | 4 +--- ui/gku-prompt.c | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) commit f8a5d4161fbba864b8ccb631f14e61bfe83315a5 Author: Stef Walter Date: 2011-03-31 gcr: Fix invalid assertions when using gcr_parser_parse_stream_xxx() gcr/gcr-parser.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 284c5399f278a13b3f8b31abd297649fbbe9ab47 Author: Stef Walter Date: 2011-03-30 gcr: Implement gcr_certificate_basics_xxx() stubs properly. gcr/gcr-certificate-basics-widget.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) commit 053ee388aa32cc9c46cd30909600e7827936c606 Author: Stef Walter Date: 2011-03-25 Add correct version numbers to documentation. .gitignore | 2 ++ configure.in | 4 +++- docs/reference/gck/gck-docs.sgml | 10 ++++++---- docs/reference/gck/version.xml.in | 1 + docs/reference/gcr/gcr-docs.sgml | 12 +++++++----- docs/reference/gcr/version.xml.in | 1 + 6 files changed, 20 insertions(+), 10 deletions(-) commit 2649d459708c6177ffd2f67444dd4f8e70ed812e Author: Stef Walter Date: 2011-03-23 Modernise the gck tests. .gitignore | 11 ++ egg/Makefile.am | 12 ++- gck/tests/Makefile.am | 51 +++--- gck/tests/test-gck-attributes.c | 148 ++++++++++++--- gck/tests/test-gck-crypto.c | 375 ++++++++++++++++++++++++--------------- gck/tests/test-gck-enumerator.c | 151 ++++++++++++----- gck/tests/test-gck-module.c | 169 ++++++++---------- gck/tests/test-gck-modules.c | 130 +++++++++++--- gck/tests/test-gck-object.c | 323 ++++++++++++++++++++-------------- gck/tests/test-gck-session.c | 230 ++++++++++++++++-------- gck/tests/test-gck-slot.c | 137 ++++++++++---- gck/tests/test-gck-uri.c | 148 ++++++++++++---- gck/tests/test-gck.h | 43 ----- 13 files changed, 1240 insertions(+), 688 deletions(-) commit 4120b036fb7f1938845ab7bd1a6fc35603ca4a8e Author: Stef Walter Date: 2011-03-20 Remove unused files. gcr/gkm-test.c | 60 ------------------------------------------------------ gcr/gkm-test.h | 62 -------------------------------------------------------- 2 files changed, 0 insertions(+), 122 deletions(-)