Search code examples
linuxsvnlinux-mint

Mint - Stored SVN password was changed and now unable to commit


I have a copy of a repo on my localhost with a saved username / password for the SVN repo.

The problem is that I changed my svn password (and would like to keep it that way) but every time I try to svn commit, it is asking for my GNOME keyring password (which I enter correctly). This is odd in the first place because I never had it ask me this before.

Then, after entering my password to the keyring, I get this error message:

svn: OPTIONS of 'PATH_TO_CHANGED_FILES': authorization failed: Could not authenticate to server: rejected Basic challenge (REPO_URL)

This is happening on 2 repos that I have but a 3rd one is just fine.

When I disable authentication on the server, everything commits just fine and if I try to update / commit from another server, it also works just fine.

I tried adding the following lines to my ~/.subversion/servers:

store-passwords = no

store-plaintext-passwords = no

And I also tried adding the following lines to my ~/.subversion/config:

store-passwords = no

store-auth-creds = no

But those config file changes do nothing.

Is there a way for my localhost svn to forget the username and passwords I have entered for these repos (they were saved before) so I can get back to everything?


Solution

  • I was able to solve this by deleting the keyring file for MATE. It is a bit of a brute way of doing it but it worked. You can delete the keyring file for MATE with the following command:

    rm ~/.config/mate/keyrings/*.keyring