GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Sign the VSIX by jcansdale · Pull Request #2460 · github/VisualStudio

This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Conversation

@jcansdale

@jcansdale jcansdale commented Feb 19, 2020 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

What this PR does

  • Use vsixsigntool.exe to sign the VSIX
  • Only sign master branch builds
  • Update the certificate /sha1
  • Include certificate.pfx with the source
  • Include vsixsigntool.exe in tools folder (from Microsoft.VsSdk.VsixSignTool, v16.2.29116.78)

image

Notes

I used the following command to find /sha1 9c5a6d389e1454f2ed9ee9419cdf743689709f9c for vsixsigntool.exe:

> certutil -p PASSWORD -dump .\certificate.pfx
================ Certificate 0 ================
================ Begin Nesting Level 1 ================
Element 0:
Serial Number: 0409181b5fd5bb66755343b56f955008
Issuer: CN=DigiCert Assured ID Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US
 NotBefore: 22/10/2013 12:00 PM
 NotAfter: 22/10/2028 12:00 PM
Subject: CN=DigiCert SHA2 Assured ID Code Signing CA, OU=www.digicert.com, O=DigiCert Inc, C=US
Non-root Certificate
Cert Hash(sha1): 92c1588e85af2201ce7915e8538b492f605b80c6
----------------  End Nesting Level 1  ----------------
No key provider information
Cannot find the certificate and private key for decryption.

================ Certificate 1 ================
================ Begin Nesting Level 1 ================
Element 1:
Serial Number: 09144b52c8330f257d2512daaaa1e545
Issuer: CN=DigiCert SHA2 Assured ID Code Signing CA, OU=www.digicert.com, O=DigiCert Inc, C=US
 NotBefore: 05/02/2020 12:00 AM
 NotAfter: 09/02/2023 12:00 PM
Subject: CN=GitHub, Inc., O=GitHub, Inc., L=San Francisco, S=California, C=US
Non-root Certificate
Cert Hash(sha1): 9c5a6d389e1454f2ed9ee9419cdf743689709f9c
----------------  End Nesting Level 1  ----------------
  Provider = Microsoft Enhanced Cryptographic Provider v1.0
Encryption test passed
CertUtil: -dump command completed successfully.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jcansdale
Update certificate SHA1
0958699
ghost
ghost approved these changes Feb 20, 2020
View reviewed changes
jcansdale and others added 7 commits March 28, 2020 19:16
@jcansdale
Cert Hash(sha1) from certificate.pfx
5a7627a
Found using: certutil -p PASSWORD -dump .\certificate.pfx
@jcansdale
Merge branch 'master' into azure-pipelines/certificate-sha1
e9646f0
@jcansdale
Add vsixsigntool
cd42894
@jcansdale
Add encrypted DigiCert certificate
81db4cd
@jcansdale
Add link to GitHub Actiions workflow
4b4c40e
@jcansdale
Sign the VSIX
c4643d2
@jcansdale
Only sign master branch builds
461208a
@jcansdale jcansdale changed the title Update certificate SHA1 Sign the VSIX Mar 28, 2020
@jcansdale
jcansdale merged commit 8c5f0cf into master Mar 28, 2020
@jcansdale
jcansdale deleted the azure-pipelines/certificate-sha1 branch March 28, 2020 23:46
@github github deleted a comment Aug 5, 2020
@github github deleted a comment Aug 5, 2020
@github github deleted a comment Aug 5, 2020
@github github deleted a comment Jan 11, 2022
@github github deleted a comment Jan 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@jcansdale
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.