svn - gnome-keyring 不适用于 svn 1.9

标签 svn centos gnome

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

我可以更改 ~/.subversion/中的配置以存储未加密的密码,但尝试将它们加密存储在 gnome-keyring 中是行不通的。 svn 甚至不要求 key 环密码。

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

谢谢!

[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

最佳答案

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

关于svn - gnome-keyring 不适用于 svn 1.9,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34245507/

相关文章:

gnome:如何在屏幕保护程序激活时执行命令?

带有 "Dependencies"的 SVN 多个分支

svn - Web 开发的 Subversion

svn - Maven : Commit single artifact to svn repository

ColdFusion 10 计划任务无法暂停

linux - 如何在 bash shell 中为不同的用户创建自定义提示?

vim - 为什么我的 gnome 终端无法设置颜色方案

linux - svn 取消删除和更改文件夹和文件的状态

mysql - 需要有关连接到数据库 mysql 的支持

linux - 安装脚本需要设置一个程序在 Linux 中登录时运行