Enable DECRQCRA at compile time for all Terminal builds (#19606)

Support for DECRQCRA Request Checksum of Rectangular Area was added in
#14989, but left disabled at build time because it could be considered a
security risk.

In #17895, we unconditionally added a toggle for it to Terminal's
settings UI and settings schema (`compatibility.allowDECRQCRA`). For
users on Stable and Preview, it didn't actually enable anything. Whoops.

Since we have a way to turn it off (and in so doing, mitigate the risk)
in Terminal, it's high time for us to remove the feature gating.

Conhost doesn't support turning it off for now and so conhost can still
have it compiled out, as a treat.
This commit is contained in:
Dustin L. Howett 2025-12-02 14:25:07 -06:00 committed by GitHub
parent afb4752102
commit 3e29d2a316
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -115,10 +115,14 @@
<name>Feature_VtChecksumReport</name>
<description>Enables the DECRQCRA checksum report, which can be used to read the screen contents</description>
<id>14974</id>
<stage>AlwaysDisabled</stage>
<alwaysEnabledBrandingTokens>
<brandingToken>Dev</brandingToken>
</alwaysEnabledBrandingTokens>
<stage>AlwaysEnabled</stage>
<alwaysDisabledBrandingTokens>
<!--
Since we have a way to turn this on and off in Terminal, we don't need to hide it behind a feature
flag any longer; however, conhost has no way to turn it off so let's just compile it out for now.
-->
<brandingToken>WindowsInbox</brandingToken>
</alwaysDisabledBrandingTokens>
</feature>
<feature>