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

DXCDT-301: Storing client secret in keyring (2/2) #578

Merged
merged 1 commit into from
Jan 5, 2023

Conversation

willvedd
Copy link
Contributor

@willvedd willvedd commented Jan 4, 2023

🔧 Changes

Building off of #577 , this PR introduces the storage of a client secret in the OS keyring. Previously, this client secret was being written in to a plaintext config file, but this is not ideal for obvious security reasons.

During this PR it was discovered that there are size limitations when using go-keyring but the client secret is small enough to comply with all the platform restrictions.

📚 References

Parent PR: #577

🔬 Testing

Adding unit tests for new functionality.

📝 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

@willvedd willvedd requested a review from a team as a code owner January 4, 2023 21:02
@willvedd willvedd force-pushed the DXCDT-301-store-client-secret-in-keyring branch from b0c1a84 to db24bef Compare January 4, 2023 22:11
Base automatically changed from DXCDT-301-refactor-secret-storage to v1 January 5, 2023 16:46
@sergiught sergiught force-pushed the DXCDT-301-store-client-secret-in-keyring branch from e50f72f to 4c4f2f8 Compare January 5, 2023 16:50
@willvedd willvedd enabled auto-merge (squash) January 5, 2023 16:51
@willvedd willvedd merged commit 8c4301c into v1 Jan 5, 2023
@willvedd willvedd deleted the DXCDT-301-store-client-secret-in-keyring branch January 5, 2023 17:03
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.

2 participants