-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTPS by Default (logic + desktop UI) #27141
Comments
should probably open a sec review for this? |
Definitely: https://github.com/brave/security/issues/1134 |
(removed comment on wrong ticket) |
Here is a description that I hope can facilitate QA testing: The following are insecure websites: The following is an upgradable site: The following are possible setting for https upgrades. These settings can be applied per-site or globally:
[Shields DOWN also has the same behavior as Disabled mode.] The resulting behaviors of the above are:
Normal windows and Incognito windows use Standard mode by default. Tor windows use Strict mode by default (and cannot be downgraded). Tor window settings and Incognito windows only inherit settings from normal windows if a user has tightened the normal window settings. |
@brave/qa-team can find some context of what was checked via brave/brave-variations#522 (comment). Please ping me when we're going to start verifications on the above as we'll need to push this out via Griffin on |
Verification
|
Brave | 1.50.106 Chromium: 112.0.5615.39 (Official Build) beta (x86_64) |
---|---|
Revision | a0e7b9718a92bcd1cf33b7c95316caff3fc20714-refs/branch-heads/5615@{#753} |
OS | macOS Version 11.7.4 (Build 20G1120) |
Griffin study - PASSED
- installed
1.50.106
- launched Brave
- restarted
- opened
brave://version
- confirmed I saw
BraveHttpsByDefaultRolloutStudy:Enabled
- opened
brave://flags/#https-by-default
- confirmed I saw
Default
brave://version |
brave://flags |
---|---|
Default - Upgrade connections to HTTPS
, Standard
- PASSED
- installed
1.50.106
- launched Brave
- confirmed
Upgrade connections to HTTPS
is set toStandard
inbrave://settings/shields
- loaded
http://insecure.arthuredelstein.net
- loaded
http://http.badssl.com
- loaded
http://upgradeable.arthuredelstein.net
- opened a
New Private Window with Tor
and loaded each of the above
default |
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|---|
Tor
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|
Upgrade connections to HTTPS
, Strict
- PASSED
- installed
1.50.106
- launched Brave
- changed
Upgrade connections to HTTPS
toStrict
inbrave://settings/shields
- loaded
http://insecure.arthuredelstein.net
- loaded
http://http.badssl.com
- loaded
http://upgradeable.arthuredelstein.net
- opened a
New Private Window with Tor
and loaded each of the above
Upgrade connections, Strict |
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|---|
Tor
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|
Upgrade connections to HTTPS
, Disabled
- PASSED
- installed
1.50.106
- launched Brave
- changed
Upgrade connections to HTTPS
toDisabled
inbrave://settings/shields
- loaded
http://insecure.arthuredelstein.net
- loaded
http://http.badssl.com
- loaded
http://upgradeable.arthuredelstein.net
- opened a
New Private Window with Tor
and loaded each of the above
Upgrade connections, Disabled |
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|---|
Tor
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|
Between-window-type preferences
- PASSED
Regular --> Private
window, upgrade - PASSED
- loaded
http://insecure.arthuredelstein.net
in a normal window - clicked on the
Shields
icon - changed
Upgrade connections to HTTPS
in theAdvanced controls
view toOnly connect with HTTPS
- loaded
http://insecure.arthuredelstein.net
in a Private (not Tor) window - clicked on the
Shields
icon - confirmed I saw the
The connection to insecure.arthuredelstein.net is not secure
interstitial warning - clicked through via
Continue to site
- confirmed it loaded, printing
Hello
example | example | example | example |
---|---|---|---|
Regular --> Private
window, downgrade: - PASSED
- loaded
http://insecure.arthuredelstein.net
in a normal window - clicked on the
Shields
icon - changed
Upgrade connections to HTTPS
in theAdvanced controls
view toDon't upgrade HTTP connections
- loaded
http://insecure.arthuredelstein.net
in a Private (not Tor) window - clicked on the
Shields
icon - confirmed it loaded, printing
Hello
normal window | Private window |
---|---|
Shields down - PASSED
- installed
1.50.106
- launched Brave
- loaded
http://insecure.arthuredelstein.net
- loaded
http://http.badssl.com
- loaded
http://upgradeable.arthuredelstein.net
- clicked on the
Brave Shields
icon in the URL bar - toggled each of the above loaded sites' Shields to
DOWN
- opened a
New Private Window with Tor
and loaded each of the above
Global Shields pref |
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|---|
Tor
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|
(Pref) Migrations - PASSED
defaults - PASSED
- installed
1.49.128
- confirmed default of
Always use secure connections
set toOff
inbrave://settings/security
- upgraded to
1.50.106
by renamingBrave-Browser
profile toBrave-Browser-Beta
- launched Brave
- confirmed via
brave://settings/shields
thatUpgrade connections to HTTPS
is set toStandard
1.49.128 |
1.50.106 |
---|---|
Always use secure connections
set to On
- PASSED
- installed
1.49.128
- clicked to toggle
Always use secure connections
set toOn
inbrave://settings/security
- upgraded to
1.50.106
by renamingBrave-Browser
profile toBrave-Browser-Beta
- launched Brave
- confirmed via
brave://settings/shields
thatUpgrade connections to HTTPS
is set toStrict
1.49.128 |
1.50.106 |
---|---|
@stephendonner looking good 👍 The main commented that I wanted to make/check with @arthuredelstein is if we need #28792 uplifted into |
Thanks for the feedback! I'll also be sure to add "Confirmed {expectation}" to each of the cases, before calling it 👍 |
Verification
Testcase 1: Griffin study -
|
before restart | brave://version |
brave://flags |
---|---|---|
Test Case 2: HTTPS Default UI in brave://settings/shields and Shields panel - PASSED
Test Case 3: Set Global settings for Https Default - PASSED
Case 1: Upgrade connections to HTTPS
- Standard
; default setting - PASSED
- continued from Testcase 1
- launched Brave
- confirmed
Upgrade connections to HTTPS
is set toStandard
inbrave://settings/shields
- loaded http://insecure.arthuredelstein.net
- loaded http://http.badssl.com
- loaded http://upgradable.arthuredelstein.net
- opened a
New private window
- opened a
New private window with Tor
and loaded each of the above
Normal window
default |
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|---|
New private window
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|
New private window with Tor
Confirmed since Tor windows always use Strict mode
though Normal window setting is Standard
Confirmed Shields panel do not show HTTPS Upgrade connections dropdown in the Advanced controls
Confirmed insecure connection
interstitial page displayed for `http://insecure.arthuredelstein.net/
Confirmed when clicked on interstitial page, http://insecure.arthuredelstein.net/ loads without any issues
Confirmed insecure connection
interstitial page displayed for http://http.badssl.com/
Confirmed when clicked on interstitial page, http://insecure.arthuredelstein.net/ loads without any issues
Confirmed that http://upgradable.arthuredelstein.net/ -> https://upgradable.arthuredelstein.net/ (connection upgraded)
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|
Case 2: Upgrade connections to HTTPS
- Strict - PASSED
- new profile
- launched Brave
- relaunched Brave to pull in griffin (from Case 1)
- changed
Upgrade connections to HTTPS
toStrict
inbrave://settings/shields
- loaded http://insecure.arthuredelstein.net in a new tab
- click on Shields icon to open Shields panel for the site
- confirmed
only connect with Https
selection is selected - loaded http://http.badssl.com
- loaded http://upgradable.arthuredelstein.net
- opened a
New private window
- opened a
New Private Window with Tor
and loaded each of the above
New window
Upgrade connections, Strict |
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|---|
New private window
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|
New private window with Tor
Confirmed since Tor windows always use Strict mode
and Normal window setting is Strict
Confirmed Shields panel do not show HTTPS Upgrade connections dropdown in the Advanced controls
Confirmed insecure connection
interstitial page displayed for `http://insecure.arthuredelstein.net/
Confirmed when clicked on interstitial page, http://insecure.arthuredelstein.net/ loads without any issues
Confirmed insecure connection
interstitial page displayed for http://http.badssl.com/
Confirmed when clicked on interstitial page, http://insecure.arthuredelstein.net/ loads without any issues
Confirmed that http://upgradable.arthuredelstein.net/ -> https://upgradable.arthuredelstein.net/ (connection upgraded)
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|
Case 3: Upgrade connections to HTTPS
- Disabled - PASSED
- new profile
- launched Brave
- relaunched Brave to pull in griffin (from Case 1)
- changed
Upgrade connections to HTTPS
toDisabled
inbrave://settings/shields
- loaded http://insecure.arthuredelstein.net
- loaded http://http.badssl.com
- loaded http://upgradable.arthuredelstein.net
- opened a
New Private Window with Tor
and loaded each of the above
Upgrade connections, Disabled |
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|---|
New private window
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|
New private window with Tor
Confirmed since Tor windows always use Strict mode
though Normal window setting is Disabled
- confirmed Shields panel do not show HTTPS Upgrade connections dropdown in the Advanced controls
- confirmed
insecure connection
interstitial page displayed for `http://insecure.arthuredelstein.net/ - confirmed when clicked on interstitial page, http://insecure.arthuredelstein.net/ loads without any issues
- confirmed
insecure connection
interstitial page displayed for http://http.badssl.com/ - confirmed when clicked on interstitial page, http://insecure.arthuredelstein.net/ loads without any issues
- confirmed that http://upgradable.arthuredelstein.net/ -> https://upgradable.arthuredelstein.net/ (connection upgraded)
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|
Testcase 4: Between-window-type preferences
- PASSED
Case 1: Regular --> Private
window, upgrade - PASSED
- loaded
http://insecure.arthuredelstein.net
in a normal window - clicked on the
Shields
icon - default option
Upgrade connections to HTTPS
is shown in the Advanced controls - changed from
Upgrade connections to HTTPS
toOnly connect with HTTPS
- loaded
http://insecure.arthuredelstein.net
in a Private (not Tor) window - confirmed the
The connection to insecure.arthuredelstein.net is not secure
interstitial warning is displayed - clicked through via
Continue to site
- confirmed it loaded, printing
Hello
- clicked on the
Shields
icon
confirmed Only connect with HTTPS
selection was shown in the Advance Controls
step 3 | step 4 | step 8 | result |
---|---|---|---|
Case 2: Regular --> Private
window, downgrade: - PASSED
- loaded
http://insecure.arthuredelstein.net
in a normal window - clicked on the
Shields
icon - default option
Upgrade connections to HTTPS
is shown in the Advanced controls - changed from
Upgrade connections to HTTPS
toDon't upgrade HTTP connections
- loaded
http://insecure.arthuredelstein.net
in a Private (not Tor) window - confirmed it loaded, printing
Hello
- clicked on the
Shields
icon
Confirmed Normal window selection i.e. Don't upgrade HTTP connections
selection was not leaked/shown in the Advance Controls
for Private window
step 3 | step 4 | result |
---|---|---|
Brave | 1.50.110 Chromium: 112.0.5615.49 (Official Build) (64-bit)
-- | --
Revision | bd2a7bcb881c11e8cfe3078709382934e3916914-refs/branch-heads/5615@{#936}
OS | Windows 11 Version 22H2 (Build 22621.1413)
Test Case 5: Set per-site settings for Https Default - PASSED
Case 1: Upgrade connections to HTTPS
- PASSED
- new profile
- launched Brave
- enabled
#Use HTTPS by Default
inbrave://flags
- visited http://insecure.arthuredelstein.net
- click on the Shields icon
- confirmed
Upgrade connections to HTTPS
is displayed as default - loaded http://http.badssl.com
- loaded http://upgradable.arthuredelstein.net
- opened a
New private window
- opened a
New private window with Tor
and loaded each of the above
Normal window
- confirmed that http://insecure.arthuredelstein.net/ loads without any issues
- confirmed that http://http.badssl.com/ loads without any issues
- confirmed that http://upgradable.arthuredelstein.net/ -> https://upgradable.arthuredelstein.net/ (connection upgraded)
insecure.arthuredelstein.net |
http://http.badssl.com/ |
upgradable.arthuredelstein.net |
---|---|---|
Private window
- confirmed that
Upgrade connections to HTTPS
is displayed as default in the Shields panel - confirmed that http://insecure.arthuredelstein.net/ loads without any issues
- confirmed that http://http.badssl.com/ loads without any issues
- confirmed that http://upgradable.arthuredelstein.net/ -> https://upgradable.arthuredelstein.net/ (connection upgraded)
insecure.arthuredelstein.net |
http://http.badssl.com/ |
upgradable.arthuredelstein.net |
---|---|---|
New private window with Tor
- confirmed Shields panel do not show Upgrade connections dropdown in the Advanced controls
- confirmed
insecure connection
interstitial page displayed for `http://insecure.arthuredelstein.net/ - confirmed when clicked on interstitial page, http://insecure.arthuredelstein.net/ loads without any issues
- confirmed
insecure connection
interstitial page displayed for http://http.badssl.com/ - confirmed when clicked on interstitial page, http://insecure.arthuredelstein.net/ loads without any issues
- confirmed that http://upgradable.arthuredelstein.net/ -> https://upgradable.arthuredelstein.net/ (connection upgraded)
insecure.arthuredelstein.net |
http://http.badssl.com/ |
upgradable.arthuredelstein.net |
---|---|---|
Case 2: Only connection with HTTPS
- PASSED
- new profile
- launched Brave
- enabled
#Use HTTPS by Default
inbrave://flags
- visited http://insecure.arthuredelstein.net
- click Shields icon
- Shields panel shows default
Upgrade connections to HTTPS
- changed
Only connection with HTTPS
in the Shields panel - confirmed
The connection to insecure.arthuredelstein.net is not secure
message displayed - clicked Continue to Site
- confirmed http://insecure.arthuredelstein.net/ loads without any issues
- loaded http://http.badssl.com
- followed step 5-7 and results are same expected in step 9
- confirmed
The connection to http.badssl.com is not secure
message shown - clicked Continue to Site
- confirmed http://http.badssl.com loads without issues
- loaded http://upgradable.arthuredelstein.net
- confirmed http://upgradable.arthuredelstein.net/ -> https://upgradable.arthuredelstein.net/ (connection upgraded)
- opened a
New private window
and verified as above - opened a
New Private Window with Tor
and verified as above
Normal window
step 6 | step 7 | step 8 | step 10 | step 11 | step 14 | step 15 | step 16 |
---|---|---|---|---|---|---|---|
Private window
- confirmed http://insecure.arthuredelstein.net/ page loads without any issues after clicking
Continue to site
- confirmed http://http.badssl.com loads without issues without any issues after clicking
Continue to site
- confirmed http://upgradable.arthuredelstein.net/ -> https://upgradable.arthuredelstein.net/ (connection upgraded)
insecure.arthuredelstein.net
ex | ex |
---|---|
http://http.badssl.com
ex | ex |
---|---|
https://upgradable.arthuredelstein.net/
New private window with Tor
- confirmed http://insecure.arthuredelstein.net/ page loads without any issues after clicking
Continue to site
- confirmed http://http.badssl.com loads without issues without any issues after clicking
Continue to site
- confirmed http://upgradable.arthuredelstein.net/ -> https://upgradable.arthuredelstein.net/ (connection upgraded)
insecure.arthuredelstein.net
ex | ex |
---|---|
http://http.badssl.com
ex | ex |
---|---|
https://upgradable.arthuredelstein.net/
ex | ex |
---|
Case 3: Don't upgrade HTTP connections
- PASSED
- new profile
- launched Brave
- enabled
#Use HTTPS by Default
inbrave://flags
- visited http://insecure.arthuredelstein.net
- click Shields icon
- Shields panel shows default
Upgrade connections to HTTPS
- changed
Don't upgrade HTTP connections
in the Shields panel - confirmed the site http://insecure.arthuredelstein.net is not upgraded and loaded without issues
- loaded http://http.badssl.com
- confirmed the site http://http.badssl.com is not upgraded and loaded without issues
- loaded http://upgradable.arthuredelstein.net
- changed to
Don't upgrade HTTP connections
- close the tab and reload http://upgradable.arthuredelstein.net
- confirmed http://upgradable.arthuredelstein.net/ is not upgraded to HTTPS and site loaded without issues
- opened a
New private window
and verified as above - opened a
New Private Window with Tor
and verified as above
Normal window
step 6 | step 8 | step 9 | step 14 |
---|---|---|---|
Private windows
- Confirmed
Don't upgrade HTTP connections
from normal window not leaked/downgraded andUpgrade connections to HTTPS
, which is default, is shown in the Shields panel for http://insecure.arthuredelstein.net` and the site loaded without issues - Confirmed
Don't upgrade HTTP connections
from normal window not leaked/downgraded andUpgrade connections to HTTPS
, which is default, is shown in the Shields panel for for http://http.badssl.com and site loaded without issues - Confirmed
Don't upgrade HTTP connections
from normal window not leaked/downgraded andUpgrade connections to HTTPS
, which is default, is shown in the Shields panel for http://upgradable.arthuredelstein.net
insecure.arthuredelstein.net |
http://http.badssl.com |
http://upgradable.arthuredelstein.net |
---|---|---|
New private window with Tor
- confirmed http://insecure.arthuredelstein.net/ page loads without any issues after clicking
Continue to site
- confirmed http://http.badssl.com loads without issues without any issues after clicking
Continue to site
- confirmed http://upgradable.arthuredelstein.net/ -> https://upgradable.arthuredelstein.net/ (connection upgraded)
http://insecure.arthuredelstein.net
ex | ex |
---|---|
http://http.badssl.com
ex | ex |
---|---|
Test Case 6: Shields down - PASSED
- installed
1.50.106
- launched Brave
- loaded
http://insecure.arthuredelstein.net
- loaded
http://http.badssl.com
- loaded
http://upgradable.arthuredelstein.net
- clicked on the
Brave Shields
icon in the URL bar - toggled each of the above loaded sites' Shields to
DOWN
- opened a
New Private Window with Tor
and loaded each of the above
- Confirmed Shields
DOWN
behavior shown same behavior as Disabled mode for all three sites. - Confirmed the site http://insecure.arthuredelstein.net is not upgraded and loaded without issues
- Confirmed the site http://http.badssl.com is not upgraded and loaded without issues
- Confirmed http://upgradable.arthuredelstein.net/ is not upgraded to HTTPS and site loaded without issues
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|
Private window
- Confirmed Shields
Down
selection shown in the Shields panel for http://insecure.arthuredelstein.net` and the site loaded without issues - Confirmed Shields
Down
selection shown in the Shields panel for http://http.badssl.com and site loaded without issues - Confirmed Shield
Down
selection shown in the Shields panel for http://upgradable.arthuredelstein.net- Confirmed http://upgradable.arthuredelstein.net NOT upgraded
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|
Private window with Tor
- confirmed http://insecure.arthuredelstein.net/ page loads without any issues after clicking
Continue to site
- confirmed http://http.badssl.com loads without issues without any issues after clicking
Continue to site
- confirmed http://upgradable.arthuredelstein.net/ -> https://upgradable.arthuredelstein.net/ (connection upgraded)
insecure.arthuredelstein.net
ex | ex |
---|---|
http.badssl.com
ex | ex |
---|---|
Testcase 7: (Pref) Migrations - PASSED
Case 1: defaults - PASSED
- installed
1.49.128
- confirmed default of
Always use secure connections
set toOff
inbrave://settings/security
- visited http://upgradable.arthuredelstein.net in a new tab
- Shields panel shows
Upgrade connections to HTTPS
enabled - upgraded to
1.50.110
- launched Brave
- Confirmed Shields panel shows new UI with 3 options for Https by default.
- Confirmed brave://settings/shields show new UI with 3 options for
Upgrade connections to HTTPS
- Confirmed via
brave://settings/shields
thatUpgrade connections to HTTPS
is set toStandard
- Confirmed http://upgradable.arthuredelstein.net shows
Upgrade connections to HTTPS
149.132 |
1.50.110 |
Shields panel |
---|---|---|
Case 2" Always use secure connections
set to On
- PASSED
- installed
1.49.128
- clicked to toggle
Always use secure connections
set toOn
inbrave://settings/security
- visited http://insecure.arthuredelstein.net/ in a new tab
- Shields panel shows
Upgrade connections to HTTPS
enabled - upgraded to
1.50.110
- launched Brave
- Confirmed via
brave://settings/shields
thatUpgrade connections to HTTPS
is set toStrict
- Confirmed Shields panel shows
only connect with HTTPS
option selected
step 2 | step 4` | result (1.50.x) | result(1.50.x) |
---|---|---|---|
NOTE: I plan on tackling brave/brave-core#17801 for brave/brave-core#17421 on its own in the |
Verification
Testcase 1: Griffin study -
|
brave://flags |
brave://version |
---|---|
Test Case 2: HTTPS Default UI in brave://settings/shields and Shields panel - PASSED
Test Case 3: Set Global settings for Https Default - PASSED
Case 1: Upgrade connections to HTTPS
- Standard
; default setting - PASSED
- continued from Testcase 1
- launched Brave
- confirmed
Upgrade connections to HTTPS
is set toStandard
inbrave://settings/shields
- loaded http://insecure.arthuredelstein.net
- loaded http://http.badssl.com
- loaded http://upgradable.arthuredelstein.net
- opened a
New private window
- opened a
New private window with Tor
and loaded each of the above
Normal window
default |
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|---|
New private window
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|
New private window with Tor
Confirmed since Tor windows always use Strict mode
though Normal window setting is Standard
Confirmed Shields panel do not show HTTPS Upgrade connections dropdown in the Advanced controls
Confirmed insecure connection
interstitial page displayed for `http://insecure.arthuredelstein.net/
Confirmed when clicked on interstitial page, http://insecure.arthuredelstein.net/ loads without any issues
Confirmed insecure connection
interstitial page displayed for http://http.badssl.com/
Confirmed when clicked on interstitial page, http://insecure.arthuredelstein.net/ loads without any issues
Confirmed that http://upgradable.arthuredelstein.net/ -> https://upgradable.arthuredelstein.net/ (connection upgraded)
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|
Case 2: Upgrade connections to HTTPS
- Strict - PASSED
- new profile
- launched Brave
- relaunched Brave to pull in griffin (from Case 1)
- changed
Upgrade connections to HTTPS
toStrict
inbrave://settings/shields
- loaded http://insecure.arthuredelstein.net in a new tab
- click on Shields icon to open Shields panel for the site
- confirmed
only connect with Https
selection is selected - loaded http://http.badssl.com
- loaded http://upgradable.arthuredelstein.net
- opened a
New private window
- opened a
New Private Window with Tor
and loaded each of the above
New window
Upgrade connections, Strict |
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|---|
New private window
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|
New private window with Tor
Confirmed since Tor windows always use Strict mode
and Normal window setting is Strict
Confirmed Shields panel do not show HTTPS Upgrade connections dropdown in the Advanced controls
Confirmed insecure connection
interstitial page displayed for `http://insecure.arthuredelstein.net/
Confirmed when clicked on interstitial page, http://insecure.arthuredelstein.net/ loads without any issues
Confirmed insecure connection
interstitial page displayed for http://http.badssl.com/
Confirmed when clicked on interstitial page, http://insecure.arthuredelstein.net/ loads without any issues
Confirmed that http://upgradable.arthuredelstein.net/ -> https://upgradable.arthuredelstein.net/ (connection upgraded)
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|
Case 3: Upgrade connections to HTTPS
- Disabled - PASSED
- new profile
- launched Brave
- relaunched Brave to pull in griffin (from Case 1)
- changed
Upgrade connections to HTTPS
toDisabled
inbrave://settings/shields
- loaded http://insecure.arthuredelstein.net
- loaded http://http.badssl.com
- loaded http://upgradable.arthuredelstein.net
- opened a
New Private Window with Tor
and loaded each of the above
Upgrade connections, Disabled |
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|---|
New private window
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|
New private window with Tor
Confirmed since Tor windows always use Strict mode
though Normal window setting is Disabled
- confirmed Shields panel do not show HTTPS Upgrade connections dropdown in the Advanced controls
- confirmed
insecure connection
interstitial page displayed for `http://insecure.arthuredelstein.net/ - confirmed when clicked on interstitial page, http://insecure.arthuredelstein.net/ loads without any issues
- confirmed
insecure connection
interstitial page displayed for http://http.badssl.com/ - confirmed when clicked on interstitial page, http://insecure.arthuredelstein.net/ loads without any issues
- confirmed that http://upgradable.arthuredelstein.net/ -> https://upgradable.arthuredelstein.net/ (connection upgraded)
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|
Testcase 4: Between-window-type preferences
- PASSED
Case 1: Regular --> Private
window, upgrade - PASSED
- loaded
http://insecure.arthuredelstein.net
in a normal window - clicked on the
Shields
icon - default option
Upgrade connections to HTTPS
is shown in the Advanced controls - changed from
Upgrade connections to HTTPS
toOnly connect with HTTPS
- loaded
http://insecure.arthuredelstein.net
in a Private (not Tor) window - confirmed the
The connection to insecure.arthuredelstein.net is not secure
interstitial warning is displayed - clicked through via
Continue to site
- confirmed it loaded, printing
Hello
- clicked on the
Shields
icon
confirmed Only connect with HTTPS
selection was shown in the Advance Controls
step 3 | step 4 | step 8 | result |
---|---|---|---|
Case 2: Regular --> Private
window, downgrade: - PASSED
- loaded
http://insecure.arthuredelstein.net
in a normal window - clicked on the
Shields
icon - default option
Upgrade connections to HTTPS
is shown in the Advanced controls - changed from
Upgrade connections to HTTPS
toDon't upgrade HTTP connections
- loaded
http://insecure.arthuredelstein.net
in a Private (not Tor) window - confirmed it loaded, printing
Hello
- clicked on the
Shields
icon
Confirmed Normal window selection i.e. Don't upgrade HTTP connections
selection was not leaked/shown in the Advance Controls
for Private window
step 3 | step 4 | result |
---|---|---|
Test Case 5: Set per-site settings for Https Default - PASSED
Case 1: Upgrade connections to HTTPS
- PASSED
- new profile
- launched Brave
- enabled
#Use HTTPS by Default
inbrave://flags
- visited http://insecure.arthuredelstein.net
- click on the Shields icon
- confirmed
Upgrade connections to HTTPS
is displayed as default - loaded http://http.badssl.com
- loaded http://upgradable.arthuredelstein.net
- opened a
New private window
- opened a
New private window with Tor
and loaded each of the above
Normal window
- confirmed that http://insecure.arthuredelstein.net/ loads without any issues
- confirmed that http://http.badssl.com/ loads without any issues
- confirmed that http://upgradable.arthuredelstein.net/ -> https://upgradable.arthuredelstein.net/ (connection upgraded)
insecure.arthuredelstein.net |
http://http.badssl.com/ |
upgradable.arthuredelstein.net |
---|---|---|
Private window
- confirmed that
Upgrade connections to HTTPS
is displayed as default in the Shields panel - confirmed that http://insecure.arthuredelstein.net/ loads without any issues
- confirmed that http://http.badssl.com/ loads without any issues
- confirmed that http://upgradable.arthuredelstein.net/ -> https://upgradable.arthuredelstein.net/ (connection upgraded)
insecure.arthuredelstein.net |
http://http.badssl.com/ |
upgradable.arthuredelstein.net |
---|---|---|
New private window with Tor
- confirmed Shields panel do not show Upgrade connections dropdown in the Advanced controls
- confirmed
insecure connection
interstitial page displayed for `http://insecure.arthuredelstein.net/ - confirmed when clicked on interstitial page, http://insecure.arthuredelstein.net/ loads without any issues
- confirmed
insecure connection
interstitial page displayed for http://http.badssl.com/ - confirmed when clicked on interstitial page, http://insecure.arthuredelstein.net/ loads without any issues
- confirmed that http://upgradable.arthuredelstein.net/ -> https://upgradable.arthuredelstein.net/ (connection upgraded)
insecure.arthuredelstein.net |
http://http.badssl.com/ |
upgradable.arthuredelstein.net |
---|---|---|
Case 2: Only connection with HTTPS
- PASSED
- new profile
- launched Brave
- enabled
#Use HTTPS by Default
inbrave://flags
- visited http://insecure.arthuredelstein.net
- click Shields icon
- Shields panel shows default
Upgrade connections to HTTPS
- changed
Only connection with HTTPS
in the Shields panel - confirmed
The connection to insecure.arthuredelstein.net is not secure
message displayed - clicked Continue to Site
- confirmed http://insecure.arthuredelstein.net/ loads without any issues
- loaded http://http.badssl.com
- followed step 5-7 and results are same expected in step 9
- confirmed
The connection to http.badssl.com is not secure
message shown - clicked Continue to Site
- confirmed http://http.badssl.com loads without issues
- loaded http://upgradable.arthuredelstein.net
- confirmed http://upgradable.arthuredelstein.net/ -> https://upgradable.arthuredelstein.net/ (connection upgraded)
- opened a
New private window
and verified as above - opened a
New Private Window with Tor
and verified as above
Normal window
step 6 | step 7 to step 8 | step 10 | step 11 | step 14 to step 15 | step 16 |
---|---|---|---|---|---|
Private window
- confirmed http://insecure.arthuredelstein.net/ page loads without any issues after clicking
Continue to site
- confirmed http://http.badssl.com loads without issues without any issues after clicking
Continue to site
- confirmed http://upgradable.arthuredelstein.net/ -> https://upgradable.arthuredelstein.net/ (connection upgraded)
insecure.arthuredelstein.net
ex | ex |
---|---|
http://http.badssl.com
ex | ex |
---|---|
https://upgradable.arthuredelstein.net/
New private window with Tor
- confirmed http://insecure.arthuredelstein.net/ page loads without any issues after clicking
Continue to site
- confirmed http://http.badssl.com loads without issues without any issues after clicking
Continue to site
- confirmed http://upgradable.arthuredelstein.net/ -> https://upgradable.arthuredelstein.net/ (connection upgraded)
insecure.arthuredelstein.net
ex | ex |
---|---|
http://http.badssl.com
ex | ex |
---|---|
https://upgradable.arthuredelstein.net/
Case 3: Don't upgrade HTTP connections
- PASSED
- new profile
- launched Brave
- enabled
#Use HTTPS by Default
inbrave://flags
- visited http://insecure.arthuredelstein.net
- click Shields icon
- Shields panel shows default
Upgrade connections to HTTPS
- changed
Don't upgrade HTTP connections
in the Shields panel - confirmed the site http://insecure.arthuredelstein.net is not upgraded and loaded without issues
- loaded http://http.badssl.com
- confirmed the site http://http.badssl.com is not upgraded and loaded without issues
- loaded http://upgradable.arthuredelstein.net
- changed to
Don't upgrade HTTP connections
- close the tab and reload http://upgradable.arthuredelstein.net
- confirmed http://upgradable.arthuredelstein.net/ is not upgraded to HTTPS and site loaded without issues
- opened a
New private window
and verified as above - opened a
New Private Window with Tor
and verified as above
Normal window
step 6 | step 7 to 8 | step 9 | step 14 |
---|---|---|---|
Private windows
- Confirmed
Don't upgrade HTTP connections
from normal window not leaked/downgraded andUpgrade connections to HTTPS
, which is default, is shown in the Shields panel for http://insecure.arthuredelstein.net` and the site loaded without issues - Confirmed
Don't upgrade HTTP connections
from normal window not leaked/downgraded andUpgrade connections to HTTPS
, which is default, is shown in the Shields panel for for http://http.badssl.com and site loaded without issues - Confirmed
Don't upgrade HTTP connections
from normal window not leaked/downgraded andUpgrade connections to HTTPS
, which is default, is shown in the Shields panel for http://upgradable.arthuredelstein.net
insecure.arthuredelstein.net |
http://http.badssl.com |
http://upgradable.arthuredelstein.net |
---|---|---|
New private window with Tor
- confirmed http://insecure.arthuredelstein.net/ page loads without any issues after clicking
Continue to site
- confirmed http://http.badssl.com loads without issues without any issues after clicking
Continue to site
- confirmed http://upgradable.arthuredelstein.net/ -> https://upgradable.arthuredelstein.net/ (connection upgraded)
http://insecure.arthuredelstein.net
ex | ex |
---|---|
http://http.badssl.com
ex | ex |
---|---|
Test Case 6: Shields down - PASSED
- installed
1.50.106
- launched Brave
- loaded
http://insecure.arthuredelstein.net
- loaded
http://http.badssl.com
- loaded
http://upgradable.arthuredelstein.net
- clicked on the
Brave Shields
icon in the URL bar - toggled each of the above loaded sites' Shields to
DOWN
- opened a
New Private Window with Tor
and loaded each of the above
- Confirmed Shields
DOWN
behavior shown same behavior as Disabled mode for all three sites. - Confirmed the site http://insecure.arthuredelstein.net is not upgraded and loaded without issues
- Confirmed the site http://http.badssl.com is not upgraded and loaded without issues
- Confirmed http://upgradable.arthuredelstein.net/ is not upgraded to HTTPS and site loaded without issues
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|
Private window
- Confirmed Shields
Down
selection shown in the Shields panel for http://insecure.arthuredelstein.net` and the site loaded without issues - Confirmed Shields
Down
selection shown in the Shields panel for http://http.badssl.com and site loaded without issues - Confirmed Shield
Down
selection shown in the Shields panel for http://upgradable.arthuredelstein.net- Confirmed http://upgradable.arthuredelstein.net NOT upgraded
insecure.arthuredelstein.net |
http.badssl.com |
upgradable.arthuredelstein.net |
---|---|---|
Private window with Tor
- confirmed http://insecure.arthuredelstein.net/ page loads without any issues after clicking
Continue to site
- confirmed http://http.badssl.com loads without issues without any issues after clicking
Continue to site
- confirmed http://upgradable.arthuredelstein.net/ -> https://upgradable.arthuredelstein.net/ (connection upgraded)
insecure.arthuredelstein.net
ex | ex |
---|---|
http.badssl.com
ex | ex |
---|---|
upgradable.arthuredelstein.net
Testcase 7: (Pref) Migrations - PASSED
Case 1: defaults - PASSED
- installed
1.49.128
- confirmed default of
Always use secure connections
set toOff
inbrave://settings/security
- visited http://upgradable.arthuredelstein.net in a new tab
- Shields panel shows
Upgrade connections to HTTPS
enabled - upgraded to
1.50.110
- launched Brave
- Confirmed Shields panel shows new UI with 3 options for Https by default.
- Confirmed brave://settings/shields show new UI with 3 options for
Upgrade connections to HTTPS
- Confirmed via
brave://settings/shields
thatUpgrade connections to HTTPS
is set toStandard
- Confirmed http://upgradable.arthuredelstein.net shows
Upgrade connections to HTTPS
- Ensured that the
Always use secure connections
settings is removed frombrave://settings/security
in 1.50.x
149.132 |
149.132 |
1.50.110 |
1.50.110 |
1.50.110 |
---|---|---|---|---|
Case 2" Always use secure connections
set to On
- PASSED
- installed
1.49.128
- clicked to toggle
Always use secure connections
set toOn
inbrave://settings/security
- visited http://insecure.arthuredelstein.net/ in a new tab
- Shields panel shows
Upgrade connections to HTTPS
enabled - upgraded to
1.50.110
- launched Brave
- Confirmed via
brave://settings/shields
thatUpgrade connections to HTTPS
is set toStrict
- Confirmed Shields panel shows
only connect with HTTPS
option selected - Ensured that the
Always use secure connections
settings is removed frombrave://settings/security
in 1.50.x
step 2 | step 4 | step 4.1 | result (1.50.x) | result(1.50.x) | result(1.50.x) |
---|---|---|---|---|---|
HTTPS by Default is a mode intermediate between traditional HTTP(S) handling and HTTPS-Only Mode. In HTTPS by Default, we attempt HTTPS connections first and then fall back to HTTP if HTTPS is not available for a given website.
Here's the spec and the UI design.
The text was updated successfully, but these errors were encountered: