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

fix: add workaround for libssl in core20 #175

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion craft_store/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,14 @@
import keyring.backends.fail
import keyring.errors
from keyring._compat import properties
from keyring.backends import SecretService
from xdg import BaseDirectory # type: ignore[import]

from . import errors

# workaround to prevent legacy provider loading in focal
os.environ["CRYPTOGRAPHY_OPENSSL_NO_LEGACY"] = "1"
from keyring.backends import SecretService # noqa: E402

logger = logging.getLogger(__name__)


Expand Down
Loading