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

Use filesystem for storing auth tokens #495

Merged
merged 6 commits into from
Dec 8, 2023
Merged

Conversation

hasan7n
Copy link
Contributor

@hasan7n hasan7n commented Oct 17, 2023

We have been using keyring to store access and refresh tokens. We expect that the MedPerf client will be used on remote machines that could be accessed by passwordless methods such as SSH keys. This will prevent unlocking the system keychain on remote machines and hence keyring will not work in a straightforward way. This PR replaces the TokenStore class that implements keyring with a class that implements filesystem storage.

Note: We could easily rollback to using keyring if we find a solution in the future.
closes #508

@hasan7n hasan7n requested a review from a team as a code owner October 17, 2023 23:12
@github-actions
Copy link
Contributor

github-actions bot commented Oct 17, 2023

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@hasan7n hasan7n temporarily deployed to testing-external-code November 27, 2023 19:08 — with GitHub Actions Inactive
@hasan7n hasan7n merged commit 27c7652 into mlcommons:main Dec 8, 2023
6 of 7 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use filesystem for storing auth tokens
1 participant