summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-09-13egg: Fix libgcrypt initialization for libgcrypt older than 1.6HEADmasterStef Walter1-0/+1
A header was missing
2014-09-13egg: Move file tracker code to egg/ directoryStef Walter10-133/+149
So that it can be used in other parts of gnome-keyring.
2014-09-09Release version 3.13.91Stef Walter2-1/+7
2014-09-09configure: Use subdir-objects automake optionStef Walter1-1/+1
In order to shut up automake 1.14
2014-09-09build: Fix tap-driver to respect tests that skip completelyStef Walter1-3/+6
2014-09-09gkm: Fix test for libgcrypt 1.6+ versionStef Walter1-0/+6
2014-09-09egg: Accomodate thread-safe libgcrypt 1.6+Stef Walter1-37/+8
libcrypt no longer supports setting our own threading callbacks, and is thread-safe if we call gcry_check_version() before creating threads. Unfortunately we can't guarantee that we call gcry_check_version() early enough, we try our best. Most of the callers of Gcr either don't use libgcrypt, or also initialize it appropriately themselves. Bump libgcrypt dependency to 1.4.5+, and have earlier versions use the native pthread implementation of locking.
2014-09-08l10n: Update Japanese translationJiro Matsuzawa1-3/+3
2014-09-08l10n: Update Japanese translationJiro Matsuzawa1-111/+111
Merge the latest pot.
2014-09-04gkr-pam-module: Don't use password to determine whether this is a loginJasper St. Pierre1-4/+6
NULL or empty passwords are also valid passwords, so add a separate flag to determine whether to pass --login. https://bugzilla.gnome.org/show_bug.cgi?id=736085
2014-08-29Updated Russian translationYuri Myasoedov1-72/+67
2014-08-13Updated Greek translationTom Tryfonidis1-117/+119
2014-08-11pam: Don't use geteuid() to get uid for authenticated userStef Walter1-12/+16
Instead we use the 'struct passwd' that we looked up earlier. This causes issues when the PAM stack is not running as the user but as root or someone else. https://bugzilla.gnome.org/show_bug.cgi?id=733418
2014-07-31doap: add <programming-language>Piotr Drąg1-0/+1
2014-07-30doap category coreOlav Vitters1-1/+1
2014-05-19autogen.sh: Change CVS to Git in error messageJohannes Löthberg1-1/+1
GNOME has migrated to Git, so the error message should no longer refer to the GNOME CVS. https://bugzilla.gnome.org/show_bug.cgi?id=730340
2014-05-13Release version 3.12.2Stef Walter2-1/+4
2014-05-13Fix build when configure is called with --disable-docStef Walter2-1/+5
2014-05-13Remove useless output from configure statusStef Walter1-1/+0
2014-05-13Revert "Revert "Add docs/ directory back into Makefile""Stef Walter2-15/+20
This reverts commit b324fe2d976512b7705beca57ff9a62630cc6c83.
2014-05-01Revert "Add docs/ directory back into Makefile"Jasper St. Pierre2-11/+8
This reverts commit 8ac66bf0d2befdef3b8c96ef147e4e60fa7df0f7. This broke the build. Probably srcdir != builddir troubles.
2014-05-01Add docs/ directory back into MakefileStef Walter2-8/+11
https://bugzilla.gnome.org/show_bug.cgi?id=727010
2014-04-04doap: update URLsPiotr Drąg2-6/+6
2014-03-23Release version 3.12.0Stef Walter2-1/+4
2014-03-23build: Use /usr/bin/env to find pythonStef Walter2-2/+2
https://bugzilla.gnome.org/show_bug.cgi?id=726909
2014-03-19gkm: A testing reliability fixStef Walter1-1/+1
2014-03-19Makefile.am: Fixes for building with/without optional componentsStef Walter1-3/+5
Make build with --disable-pam work again. And enforce that we have all the optional components when doing a 'make distcheck'
2014-03-16Release version 3.11.92Stef Walter2-1/+19
2014-03-14pam: Fix issue with changed password not unlocking keyringStef Walter2-15/+76
If a user (needs to) change their password while authenticating (via GDM for example), and pam_gnome_keyring is configured to start the daemon from the session PAM stage, then we were failing to pass the changed password to our session handler. Fix this issue so that this workflow works. https://bugzilla.gnome.org/show_bug.cgi?id=726196
2014-03-14pam: Pass XDG_RUNTIME_DIR to new processStef Walter2-1/+16
If XDG_RUNTIME_DIR is not in the PAM envlist, but *is* in the process environment, then steal it from there similar to how we handle DISPLAY. https://bugzilla.gnome.org/show_bug.cgi?id=726196
2014-03-14pam: Allow unlock_keyring() to be called with a NULL passwordStef Walter2-1/+30
This happens when doing auto-login. The various side effects of unlock_keyring (including setting *need_daemon) are valuable even in the cases where password is NULL. Add a test that checks that the daemon starts as expected when the user did not authenticate. http://bugzilla.gnome.org/show_bug.cgi?id=726245
2014-03-14pam: Export a pam_sm_close_session() function entry pointStef Walter1-0/+7
Some PAM callers want this even though we don't do anything interesting in here. https://bugzilla.gnome.org/show_bug.cgi?id=726245
2014-03-14daemon: Provide caller syncronization for quitting the daemonStef Walter5-19/+66
Quit control messages are a bit strange because the daemon will quit shortly afterwards. There are three syncronization issues here. 1. We need the response to be written right away, because if we wait for the main loop it might not be written. 2. Callers may want to wait for the daemon to exit, so keep the socket open until we do. 3. Prevent additional connections on the control socket.
2014-03-06daemon: Stop exposing a GNOME_KEYRING_PID variableStef Walter4-88/+34
We exit with the DBus session bus. Remove this clutter from the environment. PAM module no longer cares about the lifetime of the deamon, except in one case: where it started the daemon in order to change a password and the auto_start argument wasn't set. https://bugzilla.gnome.org/show_bug.cgi?id=725801
2014-03-06daemon: Stop exporting the $GNOME_KEYRING_CONTROL env variableStef Walter10-177/+252
In cases where we're using $XDG_RUNTIME_DIR to create a predictable control socket directory, stop setting the $GNOME_KEYRING_CONTROL environment variable. Note that we don't use the $XDG_RUNTIME_DIR fallback. This is because two of our clients don't link in GLib, both the pam and pkcs11 modules. Getting involved in the whole tree of fallback possibilities for how to resolve $XDG_RUNTIME_DIR is not something I'm interested in duplicating. So instead what we do is if $XDG_RUNTIME_DIR is not set, we fall back to using the old $GNOME_KEYRING_CONTROL environment variable. We use the GLib logic when looking for XDG_RUNTIME_DIR. The variable is considered present even when empty. https://bugzilla.gnome.org/show_bug.cgi?id=725801
2014-03-06daemon: Use $XDG_RUNTIME_DIR to create keyring socket directoryStef Walter2-31/+87
We create a predictable location under $XDG_RUNTIME_DIR. GNOME does not support multiple GUI sessions per user, so using a predictable directory works well for us. If someone somewhere still wants an alternate location use the --control-directory argument. https://bugzilla.gnome.org/show_bug.cgi?id=725801
2014-03-06pam: Fix starting the daemon to change passwordStef Walter1-10/+19
This was broken and would cause the daemon to fail internally. The daemon wasn't being initialized due to the --login argument.
2014-03-06pam: Add some tests for the PAM moduleStef Walter9-0/+729
These require you to install some pam configs into /etc/pam.d. You can do it with the following commands: $ make enable-pam-tests $ make disable-pam-tests
2014-03-06daemon: Don't log debug messages to syslogStef Walter1-5/+7
https://bugzilla.gnome.org/show_bug.cgi?id=711537
2014-03-06egg: Add egg_tests_copy_scratch_file() method for fixture filesStef Walter2-4/+7
2014-03-06daemon: Don't initialize in an idle handler, this is racyStef Walter1-21/+16
This races with things connecting over the control socket and trying to initialize the daemon
2014-03-06daemon: During testing write aliases to right directoryStef Walter1-0/+10
2014-03-06daemon: More indicative preconditions when startup ordering goes badStef Walter2-2/+12
2014-03-06rpc-layer: Add tests of initializing with/without daemonStef Walter2-1/+160
2014-03-06daemon: Use GLib unix signal handlingStef Walter3-93/+67
Rather than our own home rolled version.
2014-03-06daemon: Exit gnome-keyring-daemon when the DBus connection closesStef Walter6-9/+152
We don't do this via the standard mechanism, as it means that libdbus just calls _exit() (not even exit()) when the connection goes away. This can lead to inconsistent state. Shutdown should be orderly. https://bugzilla.gnome.org/show_bug.cgi?id=708765
2014-03-06daemon: Add a test of the control directory and environment variablesStef Walter6-26/+369
Combine some code for starting a test daemon into a new internal utility functions.
2014-03-06HACKING: Update with description of how to run testsStef Walter1-0/+12
2014-03-06egg: Support nested directories in egg_tests_remove_scratch_directory()Stef Walter1-16/+8
Call 'rm' to cleanup the directory instead of removing files ourselves. We want to use nested directories in some tests.
2014-03-06daemon: When in foreground mode, close stdout when done initializingStef Walter1-0/+13
This indicates to the caller both that it's the end of the environment variables, and also provides a synchronization point where tests can wait for the daemon.