我希望subversion在Fedora服务器上加密我的密码而不运行gnome桌面。然而,我确实从gnome GUI开始进行健全性测试,并将正常模式执行到:
password-stores = gnome-keyring
store-passwords = yes
[global]
store-passwords = yes
store-plaintext-passwords = no
然后我删除了~/.subversion/auth
目录,执行了svn操作和presto,密码存储在gnome-keyring中而不是纯文本。然后我ssh到同一台服务器并运行:
export `gnome-keyring-daemon`
这给了我一个有趣的错误:
gnome-keyring-daemon: couldn't lookup ssh component setting: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Not running within active session)gnome-keyring-daemon: couldn't lookup pkcs11 component setting: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Not running within active session)
此时我被困住了。我可以说的另一件事是,当gnome桌面正在运行时,我可以在ssh客户端上导出DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-oCE5teZHWJ,guid=39013abab7d3f9e97422b8d94e45a9c2
并且可以正常工作。
答案 0 :(得分:4)
点击此处:http://technicalprose.blogspot.com/2011/06/using-subversion-with-gnome-keyring.html
Mark Bannister有很好的指导和一个很好的脚本,可以将它们整合在一起。