Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux svn——如何保存密码,而不是明文?_Linux_Svn - Fatal编程技术网

Linux svn——如何保存密码,而不是明文?

Linux svn——如何保存密码,而不是明文?,linux,svn,Linux,Svn,我正在fluxbox上使用svn 1.8。似乎我必须设置存储明文密码=是,以使密码保存工作正常。但是我不想用纯文本保存我的密码 在~/.subversion/config文件中,只需添加有效的密码存储。例如,我的配置: ### Section for authentication and authorization customizations. [auth] ### Set password stores used by Subversion. They should be ### delim

我正在fluxbox上使用svn 1.8。似乎我必须设置
存储明文密码=是
,以使密码保存工作正常。但是我不想用纯文本保存我的密码

~/.subversion/config
文件中,只需添加有效的密码存储。例如,我的配置:

### Section for authentication and authorization customizations.
[auth]
### Set password stores used by Subversion. They should be
### delimited by spaces or commas. The order of values determines
### the order in which password stores are used.
### Valid password stores:
### gnome-keyring (Unix-like systems)
### kwallet (Unix-like systems)
### gpg-agent (Unix-like systems)
### keychain (Mac OS X)
### windows-cryptoapi (Windows)
password-stores = gpg-agent,gnome-keyring,kwallet
### To disable all password stores, use an empty list:
password-stores = yes

根据您的桌面环境,subversion可以支持其他密码存储。@Petesh这种情况让我困惑——为什么它依赖于桌面环境?我在fluxbox上,我想这不起作用?你应该能够让gnome钥匙圈在fluxbox上起作用-谷歌在这方面是你的朋友。一旦您有了一个安全的keyring,那么您就可以配置subversion来使用它。无论出于何种原因,keyring存储通常与桌面环境捆绑在一起(并共享多个库)。但通常,您也可以使用任何具有不同DE的keyring存储(尽管您可能需要搜索一个不包含GB依赖项的存储…)