SVN encrypted password store

前端 未结 3 1893
孤独总比滥情好
孤独总比滥情好 2021-01-30 15:39

I installed SVN on a Ubuntu machine and I can\'t get my head around something.

Whenever I checkout something from the terminal I get this error about saving a non-encryp

相关标签:
3条回答
  • 2021-01-30 16:01

    By encrypting the password, you will not be able to achieve non-repudiation (other users could use your hash as you) due to OS file permissions. However, most companies have subversion setup using their domain password or some form of SSO password. By encrypting the password, you would at least mask someone from accessing a users other accounts.

    I would still be concerned about the encryption strength. If the subversion password is linked to other important accounts, someone might test the encryption strength to crack the password out.

    The best bet is to setup the subversion client to turn off stored passwords and force lazy Dev's to authenticate each time.

    0 讨论(0)
  • 2021-01-30 16:17

    It is a client issue. It warns you that the credentials used for the different servers are being stored in plain text. You can hide that warning or use an encrypted storage to cache the passwords.

    See: http://blogs.collab.net/subversion/2009/07/subversion-16-security-improvements/

    0 讨论(0)
  • 2021-01-30 16:18

    I store the credentials on an encrypted disk. (Although, while encfs is mounted the credentials are still plain-text to my account)

    $ ls -nl ~/.subversion/
    total 20K
    -rw-r--r-- 1 1000 1000 4.2K 2009-07-10 13:00 README.txt
    lrwxrwxrwx 1 1000 1000   31 2009-10-14 14:31 auth -> ~/crypt/subversion/auth/
    -rw-r--r-- 1 1000 1000 5.7K 2009-07-10 13:00 config
    -rw-r--r-- 1 1000 1000 3.6K 2009-07-10 13:00 servers
    

    Using git-svn means that I need the credentials much less often, so it may not be too onerous to not save them at all.

    0 讨论(0)
提交回复
热议问题