Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Conversation

@grokys
Copy link
Contributor

@grokys grokys commented Dec 14, 2017

Our logic for calculating the machine identifier for the OAuth fingerprint was flaky, meaning that the same fingerprint was easily created on different machines. Try fixing it by:

  • Starting from the fastest NIC (OrderByDescending instead of OrderBy) and check for length of >= 12 instead of > 12. This results in a better machine identifier on my machine at least.
  • Always including the machine name in the MachineFingerprint.

FIxes #1234

Start from the fastest NIC (`OrderByDescending` instead of `OrderBy`) and check for length of `>= 12` instead of `> 12`. This results in a better machine identifier on my machine at least.
Even if it means including it twice ;)
@grokys grokys requested a review from meaghanlewis December 14, 2017 09:34
@meaghanlewis
Copy link
Contributor

This is working great @grokys 🎉 i can now use VS2015 and VS2017 side-by-side

@grokys grokys merged commit 75ec005 into master Dec 18, 2017
@grokys grokys deleted the fixes/1234-machine-fingerprint branch December 18, 2017 12:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot be signed in to GitHub on both VS2015 and VS2017

3 participants