Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Security: Do not persists ADA Refesh Tokens #201

Merged
merged 1 commit into from
May 5, 2016

Conversation

whoisj
Copy link
Contributor

@whoisj whoisj commented May 5, 2016

Azure Directory Refresh Tokens are over-privileged for any use the GCM would need them for, therefore they should be discarded as soon as they're no longer needed.

The only use of ADA refresh tokens is to use them to acquire VSTS personal access tokens - therefore they should only be persisted long enough to do so, then they should be discared.

Additionally, since the GCM has been caching them in the Windows Credential Manager historically, the GCM should make efforts to removed the ADA tokens it has cached.

resolves #200

@whoisj whoisj self-assigned this May 5, 2016
@whoisj whoisj added bug Marks an issue as tracking a bug, or marks a pull request as fixing a bug. enhancement Indicates general improvement or new feature. labels May 5, 2016
@whoisj whoisj added this to the v1.3.0-stable milestone May 5, 2016
Azure Directory Refresh Tokens are over-privileged for any use the GCM would need them for, therefore they should be discarded as soon as they're no longer needed.

The only use of ADA refresh tokens is to use them to acquire VSTS personal access tokens - therefore they should only be persisted long enough to do so, then they should be discared.

Additionally, since the GCM has been caching them in the Windows Credential Manager historically, the GCM should make efforts to removed the ADA tokens it has cached.
@whoisj whoisj merged commit 5145956 into microsoft:master May 5, 2016
@whoisj whoisj deleted the no-persist-ada-tokens branch August 1, 2016 15:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Marks an issue as tracking a bug, or marks a pull request as fixing a bug. enhancement Indicates general improvement or new feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ADA Refresh Tokens should not be persisted
2 participants