- Posted In
- Red Hat Enterprise Linux
Hi esteemed colleagues,
I am sure many had the same problem before:
Encrypt the basic auth password in a yum .repo file (via hash or some keystore, or something similar)
My research could not find the answer if yum package manager can support hashed passwords in .repo config files for repositories.
So far, I see following options being used:
a) Provide username and password directly in /etc/yum.repos.d/myrepo.repo:
b) Create file with just the password string in /etc/yum/vars/mypass, and then set /etc/yum.repos.d/myrepo.repo:
Anybody has better ideas? Having password saved in plain-text is still very "unconformable".
I also wonder if Red Hat is thinking about making this more robust and secure in RHEL 8 (I did not see it in DNF documentation)?
Dusan Baljevic (amateur radio VK2COT)