commit be97b6cc709de49f6a81dbdd27e9aeba6860d670 Author: Daiki Ueno Date: 2018-03-05 Release 3.27.92 NEWS | 5 +++++ configure.ac | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit cadd39e3bb537249a4e1379a9e2f17512f13d717 Author: Piotr Drąg Date: 2018-03-04 Update POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit 72b95a43ca4902c9b8c41c4962094e301278797e Author: Daiki Ueno Date: 2018-03-04 build: Improve ssh-agent command detection With this patch, configure skips the checks for the commands when --disable-ssh-agent; otherwise, error out if any of those commands ias unavailable. In either case, set SSH_AGENT and SSH_ADD macros so that ssh-agent code compile. configure.ac | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) commit 8db2b978e485d7349a46c734dd51fc30196da01a Author: Stef Walter Date: 2018-02-23 ssh-agent: Use stock ssh-agent This patch removes our own implementation of ssh-agent and switches to using the ssh-agent program provided by OpenSSH. We can't simply drop the ssh-agent functionality from gnome-keyring, as it enables the following: * Automatic loading and unlocking of keys * Prompting in the UI Instead we wrap the ssh-agent program as a subprocess and augment the protocol as we need. Co-authored-by: Daiki Ueno https://bugzilla.gnome.org/show_bug.cgi?id=775981 configure.ac | 17 +- daemon/Makefile.am | 2 +- daemon/gkd-glue.c | 38 +- daemon/gkd-pkcs11.c | 49 +- daemon/gkd-pkcs11.h | 2 - daemon/ssh-agent/Makefile.am | 78 +- daemon/ssh-agent/gkd-ssh-agent-ops.c | 1492 ------------------------- daemon/ssh-agent/gkd-ssh-agent-preload.c | 279 +++++ daemon/ssh-agent/gkd-ssh-agent-preload.h | 50 + daemon/ssh-agent/gkd-ssh-agent-private.h | 152 --- daemon/ssh-agent/gkd-ssh-agent-process.c | 291 +++++ daemon/ssh-agent/gkd-ssh-agent-process.h | 45 + daemon/ssh-agent/gkd-ssh-agent-proto.c | 914 --------------- daemon/ssh-agent/gkd-ssh-agent-service.c | 661 +++++++++++ daemon/ssh-agent/gkd-ssh-agent-service.h | 54 + daemon/ssh-agent/gkd-ssh-agent-standalone.c | 126 --- daemon/ssh-agent/gkd-ssh-agent-util.c | 163 +++ daemon/ssh-agent/gkd-ssh-agent-util.h | 43 + daemon/ssh-agent/gkd-ssh-agent.c | 451 -------- daemon/ssh-agent/gkd-ssh-agent.h | 40 - daemon/ssh-agent/test-common.c | 347 ++++++ daemon/ssh-agent/test-common.h | 94 ++ daemon/ssh-agent/test-communication.c | 449 -------- daemon/ssh-agent/test-gkd-ssh-agent-preload.c | 166 +++ daemon/ssh-agent/test-gkd-ssh-agent-process.c | 217 ++++ daemon/ssh-agent/test-gkd-ssh-agent-service.c | 617 ++++++++++ daemon/ssh-agent/test-gkd-ssh-agent-util.c | 84 ++ daemon/ssh-agent/test-keytypes.c | 197 ---- daemon/test-startup.c | 4 + 29 files changed, 3194 insertions(+), 3928 deletions(-) commit 43f9d81d9a0b3279bb3d7e0a8dc495169b69ddb0 Author: Daiki Ueno Date: 2018-02-16 configure: Require gcr 3.27.90 https://bugzilla.gnome.org/show_bug.cgi?id=775981 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5cbfcd6b51b32d5d9ecbed20e5dff46e46fd39cc Author: Daiki Ueno Date: 2018-02-23 ssh-agent: Add GkdSshAgentInteraction API This could be used by the new implementation of ssh-agent, through the GcrSshAskpass and GkdLoginInteraction. https://bugzilla.gnome.org/show_bug.cgi?id=775981 daemon/ssh-agent/Makefile.am | 9 +- daemon/ssh-agent/gkd-ssh-agent-interaction.c | 204 ++++++++++++++++++++++ daemon/ssh-agent/gkd-ssh-agent-interaction.h | 37 ++++ daemon/ssh-agent/test-gkd-ssh-agent-interaction.c | 196 +++++++++++++++++++++ po/POTFILES.in | 1 + 5 files changed, 446 insertions(+), 1 deletion(-) commit 9ec7de589a32e9f8409c5e2a04efb75a11cc1620 Author: Daiki Ueno Date: 2018-02-16 egg: Import mock-interaction.[ch] from gcr https://bugzilla.gnome.org/show_bug.cgi?id=775981 egg/Makefile.am | 4 ++- egg/mock-interaction.c | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++ egg/mock-interaction.h | 42 ++++++++++++++++++++++ 3 files changed, 141 insertions(+), 1 deletion(-) commit 66288946435307fff618ca8cef5bb6bca7b8c209 Author: Daiki Ueno Date: 2018-02-16 login: Add GkdLoginInteraction API This decorates underlying GTlsInteraction with a capability of retrieving/storing passwords in the login keyring. https://bugzilla.gnome.org/show_bug.cgi?id=775981 daemon/login/Makefile.am | 4 + daemon/login/gkd-login-interaction.c | 271 +++++++++++++++++++++++++++++++++++ daemon/login/gkd-login-interaction.h | 37 +++++ daemon/login/gkd-login-password.c | 143 ++++++++++++++++++ daemon/login/gkd-login-password.h | 39 +++++ 5 files changed, 494 insertions(+) commit 5f7ab25b695153b29bcda7924df00cd29c64aa4f Author: Daiki Ueno Date: 2018-02-16 login: Add non-varargs version of gkd_login_*_password() functions Those functions could be used in GkdLoginInteraction where the fields are stored in a table. https://bugzilla.gnome.org/show_bug.cgi?id=775981 daemon/login/gkd-login.c | 123 +++++++++++++++++++++++++++++++++++------------ daemon/login/gkd-login.h | 13 +++++ 2 files changed, 104 insertions(+), 32 deletions(-) commit 162a180e0bcf22cc7bfd4b3b6eaedf8fc85a8282 Author: Daiki Ueno Date: 2018-02-16 configure: Require GLib 2.44 https://bugzilla.gnome.org/show_bug.cgi?id=775981 configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 1864f1e14bfd41a51fac8324cac8cbd2b31cc3cc Author: Daiki Ueno Date: 2018-03-01 gkm-timer: Use monotonic time exclusively Previously, it used g_get_real_time(), g_get_current_time(), and g_get_monotonic_time() in a mixed manner. To measure the elapsed time, it would be sufficient to use g_get_monotonic_time() only. https://bugzilla.gnome.org/show_bug.cgi?id=791932 pkcs11/gkm/gkm-timer.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) commit 5d8326eaf1ebce1cde2ee797c03f261da3159aae Author: Ray Strode Date: 2017-12-08 pkcs11: Don't install p11-kit module configuration It doesn't work well in multithreaded environments, and it overlaps with better maintained options like SoftHSM. To avoid any confusion, stop installing the p11-kit configuration for that module so that it is not registered by default. https://bugzilla.gnome.org/show_bug.cgi?id=791401 .gitignore | 3 --- configure.ac | 1 - pkcs11/rpc-layer/Makefile.am | 5 ----- pkcs11/rpc-layer/gnome-keyring.module.in | 7 ------- 4 files changed, 16 deletions(-) commit ff229abca62db366c84dfe58035324f6d8ca6059 Author: Piotr Drąg Date: 2018-02-23 Fix Spanish translation header po/es.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ee9b3623fc324f1376b1fec64252f43372ac9e3f Author: GNOME Translation Robot Date: 2018-02-23 Update Scottish Gaelic translation (cherry picked from commit 66ca4f41faa3df5b19f67a1d8be1982515ecc903) po/gd.po | 487 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 268 insertions(+), 219 deletions(-) commit 8a2bee5b2ddb424a4b374f6baca4492c0679fed1 Author: Daiki Ueno Date: 2018-02-21 egg: Fix null termination behavior of egg_secure_strndup() Even if the given string is shorter than n, the result should be null terminated. This matches the behavior of strndup(). egg/egg-secure-memory.c | 1 + egg/test-secmem.c | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) commit 63b0c09c8045f59a9e14fd4362ae3567316c64e3 Author: Daiki Ueno Date: 2018-02-19 login: Fix memleak when secret store is not found daemon/login/gkd-login.c | 1 + 1 file changed, 1 insertion(+) commit bd2e0122459c19994a8a8744bf8d2724d71576a3 Author: Daiki Ueno Date: 2018-02-16 login: Don't call g_object_unref() on NULL daemon/login/gkd-login.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 634008c2a127998f2b8607c84df01575f5c52b77 Author: Daiki Ueno Date: 2018-02-16 login: Don't assume error if there is no matching token gck_modules_token_for_uri() could return NULL without setting error if there is no matching token. daemon/login/gkd-login.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 7d1380963d0baadad24ce14905fcdf7775c66c3b Author: Daiki Ueno Date: 2018-02-15 secret-store/test*: Cleanup temporary directory pkcs11/secret-store/mock-secret-module.c | 1 + 1 file changed, 1 insertion(+) commit 641c87f9508265b1f0ef544e029c19bf6d409347 Author: Jeremy Bicha Date: 2018-01-28 daemon: Set NoDisplay=true for autostart files This hides them from Ubuntu's Startup Applications app https://bugzilla.gnome.org/show_bug.cgi?id=777513 The SSH service is intentionally shown since there is no other easy GUI way currently to tell gnome-keyring to let something else handle ssh-agent. daemon/gnome-keyring-pkcs11.desktop.in.in | 1 + daemon/gnome-keyring-secrets.desktop.in.in | 1 + 2 files changed, 2 insertions(+)