gnome-keyring不使用svn 1.9

时间:2015-12-12 22:02:22

标签: svn centos gnome

我在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

1 个答案:

答案 0 :(得分:0)

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