Skip to content

Revert root certificate changes#18527

Merged
seanbudd merged 3 commits into
betafrom
revertRoot
Jul 22, 2025
Merged

Revert root certificate changes#18527
seanbudd merged 3 commits into
betafrom
revertRoot

Conversation

@seanbudd

@seanbudd seanbudd commented Jul 22, 2025

Copy link
Copy Markdown
Member

Reverts PR

Reverts #18354
Reverts #18490
Reverts #18402

Issues fixed

Fixes #18519

Issues reopened

Reopens #15905

Reason for revert

The current implementation breaks NVDA remote and breaks add-on APIs

Can this PR be reimplemented? If so, what is required for the next attempt

  • use truststore.SSLContext directly rather than source code wide injections. It is unclear how to do that with requests. this SO answer suggestions an option.
  • perform the changes in an API breaking release, encourage authors to use inject_into_ssl, extract_from_ssl where required

Copilot AI review requested due to automatic review settings July 22, 2025 02:56
@seanbudd seanbudd requested a review from a team as a code owner July 22, 2025 02:56
@seanbudd seanbudd requested a review from SaschaCowley July 22, 2025 02:56
@seanbudd seanbudd added this to the 2025.2 milestone Jul 22, 2025

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR reverts root certificate handling changes that were causing issues with NVDA remote functionality and breaking add-on APIs. The revert removes truststore integration and returns to the previous implementation of manual Windows root certificate updates.

  • Removes truststore dependency and SSL context injection
  • Reverts to manual certificate handling for update checks and add-on downloads
  • Restores original SSL configuration for remote client connections

Reviewed Changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
user_docs/en/changes.md Removes changelog entries for the reverted certificate features
source/utils/networking.py Completely removes the networking utility module
source/updateCheck.py Restores manual certificate handling and moves structures back inline
source/core.py Removes truststore SSL injection from main initialization
source/addonStore/network.py Reverts certificate verification handling in add-on downloads
source/addonStore/dataManager.py Reverts to direct requests calls instead of networking utilities
source/_remoteClient/transport.py Restores original SSL context configuration
source/_remoteClient/server.py Removes extra whitespace
pyproject.toml Removes truststore dependency

Comment thread source/updateCheck.py
Comment thread source/updateCheck.py
Comment thread source/_remoteClient/transport.py
@seanbudd seanbudd merged commit fb97e13 into beta Jul 22, 2025
18 of 19 checks passed
@seanbudd seanbudd deleted the revertRoot branch July 22, 2025 04:42
seanbudd added a commit that referenced this pull request Jul 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants