microsoft/busiotools

How to disable debug mode?

Opened this issue · 0 comments

In btvs I once clicked on "Set or Extend Debug Mode" and indeed Windows now uses the debug Diffie-Hellman private / public key pair written at the end of section Core Spec v5.2 Vol 3 Part H Section 2.3.5.6.1.

The problem is that this setting is sticky and, while it can be useful for debugging, keeping this setting afterwards prevents any further pairing on this PC with production devices which implemented the security requirement to not accept this debug key.

Therefore, could you please explain how this sticky setting can be disabled?

Additional related questions/improvements:

  • documentation about this button is overall missing (what else does it do?) - probably an information pop-up that is shown when hovering over the button would help.
  • how to enable (and disable) this feature directly in WPR?
  • rather than a push button, a radio button (or slider) that keeps and shows the current state, and allows to disable this setting, would be welcome.