Skip to content
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

Allow creation and unlock of SecretService keyring on headless systems. #1005

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matthewdva
Copy link

This pull request will enable osc to unlock a gnome-keyring when running on a headless system/session.

This problem is the supporting python modules for SecretStorage and dependencies do not have method for unlocking a gnome-keyring when not run from a GUI. As a result osc fails with python trace-back messages when attempting to use a gnome-keyring on an headless session.

This request alone is not completely self contained. To be successful both a keyring daemon and dbus will need to be running. Starting these are outside the scope. This request will allow for a graceful error/exit in this situation.

I am open to suggestions on rewording the the error messages if needed.

@pep8speaks
Copy link

pep8speaks commented Feb 21, 2022

Hello @matthewdva! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2022-03-12 00:17:24 UTC

@lgtm-com
Copy link

lgtm-com bot commented Feb 21, 2022

This pull request introduces 5 alerts when merging 78c0adc into fe6a50f - view on LGTM.com

new alerts:

  • 3 for Unused local variable
  • 1 for Testing equality to None
  • 1 for Except block handles 'BaseException'

Corrected issues related to Style guide for Python

Correct PEP8 over indentation
@marcus-h
Copy link
Member

marcus-h commented Mar 22, 2022 via email

@matthewdva
Copy link
Author

matthewdva commented Mar 23, 2022 via email

@marcus-h
Copy link
Member

marcus-h commented Mar 23, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants