summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* doap: update URLsPiotr Drąg2014-04-042-6/+6
|
* Release version 3.12.03.12.0Stef Walter2014-03-232-1/+4
|
* build: Use /usr/bin/env to find pythonStef Walter2014-03-232-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=726909
* gkm: A testing reliability fixStef Walter2014-03-191-1/+1
|
* Makefile.am: Fixes for building with/without optional componentsStef Walter2014-03-191-3/+5
| | | | | Make build with --disable-pam work again. And enforce that we have all the optional components when doing a 'make distcheck'
* Release version 3.11.923.11.92Stef Walter2014-03-162-1/+19
|
* pam: Fix issue with changed password not unlocking keyringStef Walter2014-03-142-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
* pam: Pass XDG_RUNTIME_DIR to new processStef Walter2014-03-142-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
* pam: Allow unlock_keyring() to be called with a NULL passwordStef Walter2014-03-142-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
* pam: Export a pam_sm_close_session() function entry pointStef Walter2014-03-141-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
* daemon: Provide caller syncronization for quitting the daemonStef Walter2014-03-145-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.
* daemon: Stop exposing a GNOME_KEYRING_PID variableStef Walter2014-03-064-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
* daemon: Stop exporting the $GNOME_KEYRING_CONTROL env variableStef Walter2014-03-0610-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
* daemon: Use $XDG_RUNTIME_DIR to create keyring socket directoryStef Walter2014-03-062-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
* pam: Fix starting the daemon to change passwordStef Walter2014-03-061-10/+19
| | | | | This was broken and would cause the daemon to fail internally. The daemon wasn't being initialized due to the --login argument.
* pam: Add some tests for the PAM moduleStef Walter2014-03-069-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
* daemon: Don't log debug messages to syslogStef Walter2014-03-061-5/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=711537
* egg: Add egg_tests_copy_scratch_file() method for fixture filesStef Walter2014-03-062-4/+7
|
* daemon: Don't initialize in an idle handler, this is racyStef Walter2014-03-061-21/+16
| | | | | This races with things connecting over the control socket and trying to initialize the daemon
* daemon: During testing write aliases to right directoryStef Walter2014-03-061-0/+10
|
* daemon: More indicative preconditions when startup ordering goes badStef Walter2014-03-062-2/+12
|
* rpc-layer: Add tests of initializing with/without daemonStef Walter2014-03-062-1/+160
|
* daemon: Use GLib unix signal handlingStef Walter2014-03-063-93/+67
| | | | Rather than our own home rolled version.
* daemon: Exit gnome-keyring-daemon when the DBus connection closesStef Walter2014-03-066-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
* daemon: Add a test of the control directory and environment variablesStef Walter2014-03-066-26/+369
| | | | | Combine some code for starting a test daemon into a new internal utility functions.
* HACKING: Update with description of how to run testsStef Walter2014-03-061-0/+12
|
* egg: Support nested directories in egg_tests_remove_scratch_directory()Stef Walter2014-03-061-16/+8
| | | | | Call 'rm' to cleanup the directory instead of removing files ourselves. We want to use nested directories in some tests.
* daemon: When in foreground mode, close stdout when done initializingStef Walter2014-03-061-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.
* egg: Remove egg_mkdtemp() functions and use g_mkdtemp() insteadStef Walter2014-03-068-235/+2
|
* Makefile.am: Remove coverage files when doing 'make clean'Stef Walter2014-03-061-1/+5
|
* tap-gtester: Set the HARNESS_ACTIVE environment variableStef Walter2014-03-061-4/+7
| | | | | | | This allows tests to detect whether they're running under a harness or not. In addition handle the way GTests skips better.
* configure.ac: Drop required automake to 1.12 or laterStef Walter2014-03-051-1/+1
| | | | | build.gnome.org doesn't have automake 1.13 yet and I guess others may not either.
* daemon: Add new --unlock option to prompt for login passwordStef Walter2014-03-052-3/+26
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=710187
* Makefile.am: Use parallel tests for 'make check'Stef Walter2014-03-0522-53/+1546
| | | | | Also build in a 'make check-memory' and related functionality which drives valgrind.
* Makefile.am: Don't do 'make distcheck' with silent make rulesStef Walter2014-03-051-0/+1
|
* configure.ac: Put various autofoo litter in build/ an build/m4Stef Walter2014-03-056-25/+24
| | | | Coverage also goes to build/coverage instead of testing/
* Makefile.am: Use a single non-recursive MakefileStef Walter2014-03-0572-980/+943
| | | | | | | | This allows all the code to be built in parallel, and only rebuilding stuff that's changed when developing. Much quicker. In the meantime disable the p11-tests checks, which were very rarely used. We'll need to migrate them to TAP.
* configure.ac: Modernize the autoconf/automake invocationStef Walter2014-03-051-2/+7
|
* Makefile.am: Move tests into same directories as tested codeStef Walter2014-03-05170-606/+531
| | | | | This allows for a cleaner build tree, and will provide benefits when moving to a single Makefile.
* updated kn.poShankar Prasad2014-02-051-50/+19
|
* Added Scottish Gaelic translationGunChleoc2014-01-222-1/+535
|
* Remove old FSF license from header filesStef Walter2014-01-08345-1023/+699
| | | | | | And refresh the COPYING and COPYING.LIB files https://bugzilla.gnome.org/show_bug.cgi?id=721549
* egg: Move away from deprecated g_test_trap_fork()Stef Walter2013-12-022-10/+14
| | | | Bump glib dependency to 2.38.x
* configure: Be more explicit about gnome-keyring dependenciesStef Walter2013-12-021-20/+28
|
* Add an alias man page for gnome-keyring-3Matthias Clasen2013-11-103-51/+199
| | | | | | | Signed-off-by: Stef Walter <stefw@redhat.com> - Distribute gnome-keyring-3.1 https://bugzilla.gnome.org/show_bug.cgi?id=711581
* Add a man page for the gnome-keyring toolMatthias Clasen2013-11-102-1/+97
| | | | | | Signed-off-by: Stef Walter <stefw@redhat.com> https://bugzilla.gnome.org/show_bug.cgi?id=711581
* Some man page updates for gnome-keyring-daemonMatthias Clasen2013-11-071-12/+19
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=711581
* pam: de-duplicate log message text and commentColin Walters2013-10-251-2/+2
| | | | | | I was reading the source to this for other reasons, just a drive by... https://bugzilla.gnome.org/show_bug.cgi?id=710827
* Release version 3.10.13.10.1Stef Walter2013-10-172-1/+7
|
* daemon: Add gnome-keyring-daemon manual pageStef Walter2013-10-156-11/+234
|