【问题标题】:gnome-keyring not working with svn 1.9gnome-keyring 不适用于 svn 1.9
【发布时间】:2016-03-18 15:54:54
【问题描述】:

我在 CentOS 6.4 上通过命令行使用 WANdisco subversion 1.9.2。 我想存储通过 gnome-keyring 加密的存储库的 http 访问密码。

我可以更改 ~/.subversion/ 中的配置以存储未加密的密码,但尝试将它们加密存储在 gnome-keyring 中不起作用。 svn 甚至不询问密钥环密码。

可能是因为 gnome 2.28.2 与 svn 1.9.2 不兼容? svn 使用什么 API 与密钥环通信?需要设置哪些环境变量?

谢谢!

[abc@def ~]$ env |grep KEYRING
GNOME_KEYRING_SOCKET=/tmp/keyring-ic4aSc/socket

请注意,没有GNOME_KEYRING_CONTROLGNOME_KEYRING_PID 变量集。

[abc@def ~]$ env |grep DBUS
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-TuG0dBuJRX,guid=4eb7f485c19be9c8fd5801c600238bde


[abc@def ~]$ svn --version
svn, version 1.9.2 (r1703836)
   compiled Nov  2 2015, 10:52:33 on x86_64-unknown-linux-gnu

Copyright (C) 2015 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/

The following repository access (RA) modules are available:

* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  - using serf 1.3.7
  - handles 'http' scheme
  - handles 'https' scheme

The following authentication credential caches are available:

* Plaintext cache in /home/abc/.subversion
* Gnome Keyring
* GPG-Agent

【问题讨论】:

    标签: svn centos gnome


    【解决方案1】:

    根据SVNBook | Runtime Configuration Area,确保您已将password-stores 选项设置为gnome-keyring

    【讨论】:

    • 我试过了,但没用。 GPG-Agent 正在工作,但 gnome-keyring 没有。有没有办法调试这个问题?
    • 我会在 users@subversion 邮件列表中询问subversion.apache.org/mailing-lists.html
    猜你喜欢
    • 2016-03-08
    • 2019-01-04
    • 2020-04-04
    • 1970-01-01
    • 2012-11-03
    • 2017-12-21
    • 2012-06-06
    • 2017-08-30
    • 1970-01-01
    相关资源
    最近更新 更多