我在CentOS 6.4上通过命令行使用WANdisco subversion 1.9.2。我想存储通过gnome-keyring加密的http访问存储库的密码。
我可以更改~/.subversion/中的配置以存储未加密的密码,但尝试将它们加密存储在gnome-keyring中不起作用。svn甚至不要求提供密钥环密码。
会不会是因为gnome 2.28.2与svn 1.9.2不兼容?svn使用什么接口与密钥环通信?需要设置哪些环境变量?
谢谢!
[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发布于 2015-12-15 00:59:20
对于每个选项,请确保已将password-stores选项设置为gnome-keyring。
https://stackoverflow.com/questions/34245507
复制相似问题