Skip to content

Conversation

JamesNK
Copy link
Member

@JamesNK JamesNK commented Jan 20, 2024

Data protection keys used by Aspire dashboard could change. This is a problem because values protected by data protection are set in browser local storage and persisted.

If keys change, then we don't want to throw errors trying to access previously set values in browser local storage.

If a crypto error occurs then return default (non-success).

Microsoft Reviewers: Open in CodeFlow

@JamesNK JamesNK changed the title Add safe helper methods for accessing protected storage Add safe helper method for accessing protected storage Jan 20, 2024
Copy link
Member

@kvenkatrajan kvenkatrajan left a comment

Choose a reason for hiding this comment

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

Approved

@mitchdenny mitchdenny added this to the preview 3 (Feb) milestone Jan 21, 2024
@JamesNK JamesNK merged commit 7794997 into main Jan 22, 2024
@JamesNK JamesNK deleted the jamesnk/safe-dataprotection branch January 22, 2024 01:19
@github-actions github-actions bot locked and limited conversation to collaborators Apr 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants