Password Security: How to Enable Apache Subversion User Password Encryption on gnome-keyring on Redhat 7.x ?

Latest response

I am looking for any redhat document that lays out how to enable password encryption for svn (apache subversion) users on Gnome keyring infrastructure on Redhat Linux 7.x.

Following links have steps for setting up password encryption on gnome keyring:
https://qnaplus.com/how-to-store-svn-password-in-encrypted-form-in-linux/

https://community.wandisco.com/s/article/How-to-set-up-encrypted-svn-password-storage-using-gnome-keyring-in-an-ssh-session

I followed the procedures outlined in the above two links. But, the process did not lead to encrypted passwords on Redhat 7.x.


Additional Info:
Redhat website has posted some references to gnome-keyring password disablement or reset:
https://access.redhat.com/solutions/3560101
https://access.redhat.com/solutions/2206361

Archlinux wiki on gnome-keyring has a process described for archlinux (https://wiki.archlinux.org/index.php/GNOME/Keyring ). Will it be applicable to Redhat Linux 7.5x?

There is a link that describes use cases for gnome-keyring: https://forums.bunsenlabs.org/viewtopic.php?id=1281.

Responses

Hello Anil Kumar, and welcome to the Red Hat Discussion area

I'm not sure if this link https://qnaplus.com/how-to-store-svn-password-in-encrypted-form-in-linux/ is a fit for your issue, but please examine it. Examine the replies there.

This is for RHEL 6, but it might point you in the right direction. https://access.redhat.com/solutions/69250

This does not apply, it is for git, not svn. However, in RHEL 7.6, I saw this The helper to store credentials in a GNOME keyring is now available in the git-gnome-keyring subpackage.
I'm curious why you can't upgrade to RHEL 7.7?

Kind Regards,
RJ

Hi RJ:

You asked me "I'm curious why you can't upgrade to RHEL 7.7?". Is there documentation available on "Apache Subversion User Password Encryption on gnome-keyring" for RHEL 7.7 that I could use?

Best Regards, AK

Hi RJ,

I actually followed both "https://qnaplus.com/how-to-store-svn-password-in-encrypted-form-in-linux/" & " https://access.redhat.com/solutions/69250". Also, I am unable to find location(s) where gnome-keyring & password are stored on a redhat server. Will you know if they are hidden by kernel-level keyring subsystem ( https://www.youtube.com/watch?v=KUCwiQZuasA)?

Best Regards AK

Anil,

You mentioned that, and I missed it. Apologies.

I checked around, I think the gnome-keyring are perhaps stored at ~/.local/share/keyrings or perhaps ~/.gnome2/keyring/. or perhaps the location this link mentions gives a general idea of the location. You can do this command to verify:

This find command will look for anything with "key" in the name. I saw different locations in some research.

find /home/youruserid_goes_here -name "*key*"

Regards,
RJ

Hi RJ,

Doing find search, I find the following location:

/home/myid_here/.gnome2/keyrings

At this point, I do not see any keyring in that location.

Let me work on another redhat server and start the whole process from the very beginning.

I will update once I have the new environment ready for test.

Best Regards AK