-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
can't Using Keyring on headless ubuntu container. #477
Comments
Sorry to hear that. Have you followed the instructions? I guess it looks like you have the Gnome Keyring Daemon installed but for some reason the "Operation not permitted". I don't know why that is. I guess inquire with that project why you're getting that error and how to work around it. |
Let me know if there's anything keyring can do here. As stated, I don't think there's any action keyring can take, so I'm going to close, but happy to revisit when there's actionable updates. |
I noticed that keyring doesn't run any tests against secretservice or kwallet in CI, so I sought to run the tests with secret service enabled and followed the instructions in the readme, and I encountered the same issue reported here.
@mitya57 Are the headless instructions not suitable for containers? Can you recommend anything for running Gnome Keyring in a container? |
@jaraco I googled and found this advice:
Can you try that? |
Good tip. Running with Also, shame on me for not searching myself. When I searched, I found this blog, which goes into detail about using keyring in Docker, delving into the details of keyring's guidance and describing how to implement it in a Docker environment. Interestingly, that blog doesn't mention I tried to piece together the steps to get keyring working in a container on Linux, but eventually gave up. It does appear to be quite complicated (as that blog illustrates). In any case, thanks for the troubleshooting tips. It does appear if it can be made to work, but not simply, but that's just the nature of the beast. I don't think there's much more that keyring can do here. |
@jaraco I also stumbled on this and this did the trick 👏 Can this be added to the docs? |
See the PR I opened here |
Fixed in #505. |
Even with
|
The text was updated successfully, but these errors were encountered: