-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rootless podman supports credHelper #4123
Comments
Hi, |
I can’t see why this should not work in principle, c/image does nothing interesting about privileges/credentials. That bug is almost certainly reported by the |
This issue had no activity for 30 days. In the absence of activity or the "do-not-close" label, the issue will be automatically closed within 7 days. |
Going to keep this one alive. |
Hi:). Do you think this issue will be included in the short-term roadmap? To know if should switch back on Docker. |
@QiWang19, do you have cycles to look into it? |
@sdouche do you have a specific credhelper you are looking for? |
yes, I want to look into this |
Yes, that is exactly what I was looking for. |
I forgot, feel free to ping me for testing :). Thanks for your work. |
A friendly reminder that this issue had no activity for 30 days. |
@QiWang19 Can you look into this? |
@QiWang19 Working on this one? |
@QiWang19 What is the status on this one? |
@giuseppe verified this is an issue with secret-tools using d-bus hardcodes the euid() inside the EXTERNAL request itself. I think he has a patch for fixing this. |
Merge Request here: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1403 |
Thanks. Should this issue be closed now or should wait for the fix to be included in some release? For now the rootless podman with credential helper configuration still can't work.
|
Keep it open. If this gets merged we are going to have to ask for a back port to RHEL8 as well. |
I got some comments on the merge request but I am not able at the moment to take care of them. @alexlarsson do you know who could help us to move the gnome MR forward? |
@giuseppe Seems like simon is looking at it? He is the upstream dbus maintainer, and also often involved in gnome stuff. |
@giuseppe @alexlarsson @QiWang19 Any update on this? Has dbus been fixed? |
I'll ping some people about it |
@QiWang19 What should happen with this one? |
We also have an interest in this. We use ECR with HPC, and want to use rootless podman for security. Though this is a show-stopper for us. |
I have it working on my system but I guess there are no complete instructions for using Let me write them here. Guide on using
|
Yeah, that’s one of the downsides of using an ephemeral (swap-only) credential file as the default: it can’t reasonably contain a credential helper configuration because it is erased on every reboot. (It shouldn’t be much of a risk, because it is supposed to be only stored in RAM and on the swap; assuming encrypted swap, both is protected using exactly the same kinds of credentials necessary to attack a credential helper process running under the same UID — but that depends on details of your threat model and mitigations, if any.) An alternative to this is to configure the credential helper in |
Yeah, that is true. Hopefully, using a credential helper like
Thanks for mentioning this, I see this is quite a new thing: containers/image#1193. |
This screams out for a Blog to be written. Podman and Credential helpers. |
A friendly reminder that this issue had no activity for 30 days. |
@lsm5 @mtrmac @vrothberg PTAL |
A friendly reminder that this issue had no activity for 30 days. |
A friendly reminder that this issue had no activity for 30 days. |
@vrothberg @mtrmac where are we on this? |
I've no idea to be honest. We're in bug-scrubbing mode for months. |
No change for a long time: We have the feature in The default of storing OTOH there are some reports that suggest that supporting the It’s not immediately obvious to me what’s the best thing to do here, especially WRT the risk of the user configuring a “hardened” credential helper in |
I think we should require registries.conf for this or registries.conf.d/file. |
If anyone is looking to use |
A friendly reminder that this issue had no activity for 30 days. |
c/image and podman already support
"credHelpers"
, but only works for config in/run/user/0/auth.json
andsudo podman login
with config in
/run/user/1000/auth.json
and podman login got errorThe text was updated successfully, but these errors were encountered: