【发布时间】: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_CONTROL 或GNOME_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
【问题讨论】: