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

Bc/add keyring unlock #33

Closed
wants to merge 4 commits into from
Closed

Bc/add keyring unlock #33

wants to merge 4 commits into from

Conversation

ben-c-at-moz
Copy link
Collaborator

@ben-c-at-moz ben-c-at-moz commented May 24, 2024

Description

Adds a fixture called unlock_keyring which can be requested in tests that need an unlocked keyring. If a keyring password exists on the OS under test, the user will be prompted in the command line. This should not cause a problem for CI, as we will not set a keyring password there.

Usage is just to add unlock_keyring to the signature of any test function that needs it.

  • Quality of life / deflake

Comments / Concerns

Created the possible future need for secrets management. Not implemented for Linux or Windows.

@ben-c-at-moz ben-c-at-moz marked this pull request as ready for review May 24, 2024 20:25
@ben-c-at-moz ben-c-at-moz marked this pull request as draft May 24, 2024 21:15
@ben-c-at-moz
Copy link
Collaborator Author

Doesn't seem to actually fix the problem, we'll have to come back to this.

Tracy-Walker
Tracy-Walker previously approved these changes May 31, 2024
Copy link
Collaborator

@Tracy-Walker Tracy-Walker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This successfully bypasses the system lock. I double checked that the bug occurs against main.

Excellent!

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.

None yet

3 participants