Skip to content

Introduce ISignService - #75200

Merged
Isidor Nikolic (isidorn) merged 4 commits into
masterfrom
isidorn/signservice
Jun 11, 2019
Merged

Isidor Nikolic (isidorn) merged 4 commits into
masterfrom
isidorn/signservice

Conversation

@isidorn

Copy link
Copy Markdown

This PR introduces the ISignService and provides two implementations: one for the browser and one for node.

This PR also adopts the ISignService for the RemoteAgentConnection and for the Debug handshake.

Note that this PR does not change how we actually sign. Just restructures the code such that we have a centralized place where we do this - a service.

Fixes #74398

fyi Andre Weinand (@weinand) Martin Aeschlimann (@aeschli)

Comment thread src/vs/code/electron-main/app.ts Resolved
Co-Authored-By: Benjamin Pasero <[email protected]>

@weinand Andre Weinand (weinand) 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.

LGTM

isidor added 2 commits June 11, 2019 11:47
…rted multiple times, The ones after the first will not throw an error. And this will break the contract of the sign method
@isidorn
Isidor Nikolic (isidorn) merged commit 18f4630 into master Jun 11, 2019
@isidorn
Isidor Nikolic (isidorn) deleted the isidorn/signservice branch June 11, 2019 10:57
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Avoid __nodeRequire()

3 participants