将 SVN 与 kwallet 集成 [英] Integrating SVN with kwallet

查看:29
本文介绍了将 SVN 与 kwallet 集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我终生无法让 SVN 读取存储在 kwallet 中的密码并使用它来停止询问我何时执行任何操作.谷歌没有帮助找到答案,所以我回到你身边.

I can't for my life make SVN read the password stored at kwallet and use it to stop asking when I do anything. Google has not helped finding the answer, so I turn back to you.

我现在运行的是 Kubuntu 16.04 完全升级,SVN 是 1.9.3 版本 (r1718519),并说它支持 KWALLET

I'm running right now Kubuntu 16.04 fully upgraded, SVN is version 1.9.3 (r1718519), and it says that it has support for KWALLET

以下身份验证凭据缓存可用:

The following authentication credential caches are available:

* Plaintext cache in /home/ssol/.subversion
* Gnome Keyring
* GPG-Agent
* KWallet (KDE)

我的.subversion/config有如下配置:

[auth]
password-stores = kwallet

我的 .subversion/servers 有以下配置:

[global]
store-passwords = yes

KWallet 已安装,钱包管理器显示版本 15.12.3.我只有 1 个钱包,默认的 kdewallet 有一堆文件夹.我知道它有效,因为我将它与 ksshaskpass 一起使用并且它完美无缺.在 Subversion 上,有些东西不能正常工作.

KWallet is installed, the Wallet manager says Version 15.12.3. I only have 1 wallet, the default kdewallet with a bunch of folders there. I know it works because I use it with ksshaskpass and it works flawless. On Subversion, something is not working right.

添加配置后,我对我拥有的项目进行了 svn 更新,它要求输入密码.输入后,弹出附件提示,允许 subversion 连接到钱包.我输入钱包密码并允许它.但钱包内没有任何条目更新.

After I added the configurations, I did an svn update on a project I have, it asked for the password. After typing it, the annexed prompt popped, to allow subversion to connect to the wallet. I type the wallet password and allowed it. But no entry was update inside the wallet.

我尝试了第二种类型,它再次询问相同的提示.并且,这一次,SVN 将密码作为 纯文本保存在 .subversion/auth/svn.simple/ 中.

I tried a second type, it asked again for the same prompt. And, this time, SVN saved the password as a plain-text inside the .subversion/auth/svn.simple/.

那么,我做错了什么?

推荐答案

您需要安装 libsvn_auth_kwallet-1-0.

You need to have libsvn_auth_kwallet-1-0 installed.

这篇关于将 SVN 与 kwallet 集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆