summaryrefslogtreecommitdiff
path: root/pkcs11
AgeCommit message (Collapse)AuthorFilesLines
2013-08-15More reliable means of checking if object was finalizedStef Walter1-1/+2
Don't try to use G_IS_OBJECT() to see if an object was finalized as this segfaults in corner cases, even with our crafty check for a pointer within our memory space.
2013-04-19egg-asn1x: Update from gcr for recent changes in libtasn1Stef Walter4-22/+70
2013-04-19Update for deprecations in GLibStef Walter3-152/+151
* Use GMutex insteod of GStaticMutex * Don't use g_thread_supported
2013-03-16pkcs11: More fixes for libtasn1 3.1 and laterStef Walter2-0/+2
* We really should be doing this diferrently. However for now just fix the build
2013-03-05secret-store: Update the Created and Modified properties correctlyStef Walter5-11/+64
* Set the Modified property before committing transactions * Set the Created property when items and collections are created * Add tests for this functionality https://bugzilla.gnome.org/show_bug.cgi?id=695052
2013-03-04pkcs11: Remove the roots-store now provided by p11-kitStef Walter25-4239/+0
This module is replaced by the p11-kit-trust module installed with p11-kit 0.16 and later.
2013-01-22Make the dump-keyring0-format work with only external depsStef Walter1-55/+356
2012-11-09egg-asn1x: More complete coverage for ASN.1 testsStef Walter4-13/+14
* Remove or change code that doesn't get executed in normal operation. * Fix a few bugs discovered during the testing.
2012-11-09Bring in fixed ASN.1 parser from gcr libraryStef Walter6-48/+26
2012-11-09egg-hex: Use a full string as the hex delimiterStef Walter1-1/+1
So that we can better print out escape encodings in our test data.
2012-11-05only print debug message if no pkcs11 socketRex Dieter1-2/+16
This is to handle the case of running gnome-keyring in environments not matching GNOME;Unity and avoid needless WARNING: couldn't connect to: /tmp/keyring-SqfLpI/pkcs11 type errors https://bugzilla.gnome.org/show_bug.cgi?id=665961
2012-10-22Fix for deprecations in glib 2.35.0Stef Walter48-0/+96
* g_type_init() was deprecated
2012-10-12secret-store: Set the schema name correctly on loaded itemsStef Walter6-6/+85
* When we loaded items from the keyring we didn't set the schema correctly. * This causes any searches for the item that include a schema in the search parameters to fail. * Also caused problems storing items, when it was expected that the item would replace any already stored. This uses a search internally. * Fix and add a test for this case, both for encrypted and plaintext keyring files. https://bugzilla.gnome.org/show_bug.cgi?id=681727
2012-09-25rpc-layer: Fix memory leak in call state poolStef Walter1-0/+7
https://bugzilla.gnome.org/show_bug.cgi?id=684351
2012-08-17Use the XDG directories for storing keysStef Walter4-6/+51
* If the new XDG directory doesn't exist, and the old ~/.gnome2/keyrings does exist, then continue to use that * Otherwise create the new directory in g_get_user_data_dir() as appropriate. https://bugzilla.gnome.org/show_bug.cgi?id=613644
2012-08-09Improve the gkm transaction testsWerner Koch1-3/+82
* pkcs11/gkm/tests/test-transaction.c (test_write_file): Run test twice. (test_write_file_abort_gone, test_write_file_abort_revert): Ditto. (test_write_large_file): New. (main): Add new tests. https://bugzilla.gnome.org/show_bug.cgi?id=657234
2012-08-09Provide fallback for file systems without working hardlinksWerner Koch1-11/+135
* pkcs11/gkm/gkm-transaction.c (O_BINARY): Add fallback for Windows. (copy_to_temp_file): New. (begin_link_temporary_if_exists): Detect failure link(2) and resort to a copy file method. -- See bug 657234 for a description of the problem. The culprit is the CIFS implementation on EMC servers. At least VFAT file systems should have the same problem, thus the patch is a general improvement. https://bugzilla.gnome.org/show_bug.cgi?id=657234
2012-08-08secret-store: Mark a secret item as 'used' when accessedStef Walter1-0/+1
* This makes the gpg-agent idle feature work correctly https://bugzilla.gnome.org/show_bug.cgi?id=681081
2012-07-24Rename the p11-kit module fileStef Walter2-1/+1
* p11-kit now wants module configs to end in .module See: https://bugs.freedesktop.org/show_bug.cgi?id=52158
2012-07-16Release version 3.5.4Stef Walter1-1/+1
* And fix various issues preventing 'make distcheck'
2012-07-16Match common old GnomeKeyringItemType schemas to xdg:schema attributeStef Walter9-56/+368
* Properly handle the case where no xdg:schema attribute is stored in the keyring, and the caller tries to search with schema names: - org.gnome.keyring.NetworkPassword - org.gnome.keyring.Note * This allows the above items stored by libgnome-keyring to be matched by libsecret.
2012-07-16Convert from EggBytes to GBytesStef Walter27-366/+357
* We were using EggBytes while GBytes was not yet in a stable glib release
2012-06-27Quiet down messages during testsStef Walter3-4/+10
* Several of these are common messages, so move them to debug logs.
2012-06-27Use GNOME_KEYRING_TEST_PROMPTER to specify prompter nameStef Walter2-5/+22
* Testing code can set GNOME_KEYRING_TEST_PROMPTER environment variable to change the prompter that is used for various prompts.
2012-06-27egg: Add methods for creating scratch directory in testsStef Walter4-120/+21
* Add egg_tests_create_scratch_directory() and egg_tests_remove_scratch_directory() methods, and use them in tests.
2012-06-27Remove support code for old glib versionsStef Walter3-35/+0
* Remove a bunch of #ifdefs for old glib versions prior to 2.32.0. * Already bumped glib dependency in a recent commit.
2012-06-27secret-store: Support the xdg:schema attribute correctlyStef Walter5-44/+136
* libsecret uses that attribute to store the 'schema' describing the other attributes. * The old way of having a special 'Type' dbus argument, or CKA_G_SCHEMA pkcs#11 attribute is deprecated ... to be more inline with the Secret Service spec.
2012-06-25Release version 3.5.3Stef Walter1-2/+1
* And fix some tests
2012-06-19gnome2-store: Test the gnome2-store with the gcr importerStef Walter6-4/+209
2012-06-19gkm: Add debug tracing for CKA_ATTRIBUTE_TYPE_INVALIDStef Walter15-14/+92
To make it a bit easier to diagnose problems.
2012-06-19gkm: Add gkm_log_xxx() functions for stringizingStef Walter10-144/+349
Move gkm_util_rv_xxx() to gkm_log_rv() and add gkm_log_attr_type()
2012-06-19Merge branch 'gnome-3-4'Stef Walter3-2/+18
2012-06-19gnome2-store: Ignore attributes that gcr-viewer setsStef Walter3-2/+18
We don't yet support all the attributes correctly, but try to not error out in gnome2-store for the ones that gcr-viewer sets.
2012-06-19gkm: Fix GKM_DEBUG environment variable for G_MESSAGES_DEBUGStef Walter2-10/+56
G_MESSAGES_DEBUG is a new environment variable that glib expects without which no debug messages are displayed. Since we also have GKM_DEBUG we reconcile the two environment variables
2012-06-19ssh-store: Don't include built p11-tests.conf fileStef Walter1-3/+0
2012-06-19xdg-store: Remove references to libtasn1.hStef Walter3-4/+0
No longer necessary, and creates a false build dependency on the libtasn1 headers
2012-04-16Merge branch 'gnome-3-4'Stef Walter3-3/+3
2012-04-16Release 3.4.1Stef Walter3-3/+3
2012-04-07Bring over new egg'd components from gcrStef Walter55-2055/+906
* Updated ASN.1, armor, bytes, openssl, etc.
2012-04-07pkcs11: Complete a bunch more testsStef Walter15-37/+606
* Add tests for the 'egg' merge coming up * Fix a few problems resulting from p11-tests tests
2012-03-16Fix copyright headers.Jordi Mallach38-110/+110
Many files were missing “Public” in “GNU Lesser General Public License”, and others replaced it with “Private”, probably due to a mass replace that went a bit too far. Restore the correct wording in all affected places. https://bugzilla.gnome.org/show_bug.cgi?id=672189
2012-03-15Build fixes to rpc-layer MakefileWilliam Jon McCann1-3/+7
2012-03-09Release 3.3.91Stef Walter1-7/+7
* Fix timer test
2012-03-08daemon: Set button labels in promptsStef Walter1-0/+12
* Use "Unlock" for unlock prompts Related to: https://bugzilla.gnome.org/show_bug.cgi?id=652459
2012-02-09Use a single ca certificates file by defaultStef Walter1-19/+50
* Defaults to either /etc/pki/tls/certs/ca-bundle.crt or /etc/ssl/certs/ca-certificates.crt like glib-networking * Also like glib-networking a different file can be specified with --with-ca-certificates=/path/to/file * To disable root CA list, use --with-ca-certificates=no * As before a full directory of certificate files can still be specified with: --with-root-certs=/etc/ssl/certs
2012-01-09gnome2-store: fix srcdir != builddir jhbuildsRyan Lortie1-0/+1
https://bugzilla.gnome.org/show_bug.cgi?id=667574
2011-12-20wrap-layer: Fix buildJürg Billeter1-2/+4
gkm-wrap-prompt.c uses g_initable_init, which is part of GIO.
2011-12-19rpc-layer: Correctly handle case where gnome-keyring-daemon not runningStef Walter1-89/+106
* In the gnome-keyring-pkcs11.so module return stand in info when the gnome-keyring-daemon info is not running. * In addition no slots will be listed https://bugzilla.gnome.org/show_bug.cgi?id=665961
2011-12-19Use GcrPrompt and GcrSystemPrompt for promptingStef Walter11-380/+423
* This is a dbus based prompting interface recently added to libgcr https://bugzilla.gnome.org/show_bug.cgi?id=656954
2011-12-15Merge branch 'gnome-3-2'Stef Walter1-0/+4