for example - networkmanager-openvpn. Openvpn certfiles are usually shared by vpn providers and then when trying to load them, throws selinux errors.
Here's the bounty to fix it - https://www.bountysource.com/issues/41582244-doesn-t-copy-re...
for example - networkmanager-openvpn. Openvpn certfiles are usually shared by vpn providers and then when trying to load them, throws selinux errors.
Here's the bounty to fix it - https://www.bountysource.com/issues/41582244-doesn-t-copy-re...
Not that selinux is wrong.. my point is that these files should never have been used in the first place.
Linux keyring is a kernel level infrastructure. However, we still have ssh keyfiles being stored in ~/.ssh . Not sure if I'm right, but it seems to me that openssh wants to be cross platform friendly. So it doesnt play with linuxism very well.
AFAIK - its the same story on OSX. I dont begrudge openssh - I'm not sure how it would work with multiple systems, but I dont know if it was ever a priority.
But in this day and age of a "reloaded" Lavabit... these are infrastructure decisions that must be solved !
Interestingly, for all the hate that Lennart gets, he refused to implement "systemd-keyring" and suggested people should use the kernel level keyring service that already exists [1]. You can test it out using "keyctl". Remember however, that IMHO kernel keys do not persist across powercycles.. There is some kind of funky interplay between ecryptfs, kernel keyring and gnome-keyring that I dont completely understand (and is the basis of encrypted home directory in Linux)
[1] https://lists.freedesktop.org/archives/systemd-devel/2014-Ju...
It also doesn't limit access in any way. Anyone who can connect to the keyring socket gets access to everything. How is this better than storing it in files?
That is not something im personally qualified to answer. However, ypu should ask that question of selinux.
Assuming something like selinux makes sense, and gnome-keyring is protected by selinux.. my point is to use builtin infrastructure.
Fedora's default policy prevents openvpn from accessing your SSH keys.
It is NOT asking you to do some specific openvpn restricted setting. Its basically setting it to the same permission level as gnome-keyring. Except - not even password protected. And the biggest issue - obviously an end-user has to muck about this stuff.
OpenVPN runs confined, so the only thing it's allowed to access in your profile directory is the certificate files.
The OpenVPN SELinux policy says "OpenVPN may only access files marked home_cert_t".
With gnome-keyring, it would have access to all your secrets.
It hasn't been GNOME-specific for around 5 years.
Quoting https://wiki.gnome.org/Projects/Libsecret:
"libsecret is a library for storing and retrieving passwords and other secrets. It communicates with the "Secret Service" using DBus. gnome-keyring and ksecretservice are both implementations of a Secret Service.
libsecret replaces libgnome-keyring."