Skip to content

Improve error handling and logging for verification of signed extensions#174730

Merged
sandy081 merged 3 commits intomicrosoft:mainfrom
dtivel:dtivel/improve-diagnosability
Feb 22, 2023
Merged

Improve error handling and logging for verification of signed extensions#174730
sandy081 merged 3 commits intomicrosoft:mainfrom
dtivel:dtivel/improve-diagnosability

Conversation

@dtivel
Copy link
Member

@dtivel dtivel commented Feb 18, 2023

Progress on #173684, #174332, #174298, and #173250

This change:

  • emulates the error reporting for a corrupt/incomplete ZIP during installation of an unsigned extension when a corrupt/incomplete ZIP is encountered during installation of a signed extension
  • enables logging of signature verification output when trace logging is enabled
  • deletes signature archive file in all failed verification scenarios

The simplest scenario to verify is to enable trace logging and install a signed extension. Then, look in the Shared output window for verbose signature verification output.

CC @isidorn, @joaomoreno, @sandy081

Peveylun
Peveylun previously approved these changes Feb 18, 2023
Copy link

@Peveylun Peveylun left a comment

Choose a reason for hiding this comment

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

idk, i just need some commit for my university

isidorn
isidorn previously approved these changes Feb 20, 2023
@isidorn isidorn enabled auto-merge February 20, 2023 08:43
@sandy081 sandy081 self-requested a review February 20, 2023 09:53
@sandy081 sandy081 dismissed stale reviews from isidorn and Peveylun via c586071 February 20, 2023 09:59
@sandy081 sandy081 requested a review from isidorn February 20, 2023 10:00
@sandy081 sandy081 added this to the February 2023 milestone Feb 20, 2023
auto-merge was automatically disabled February 21, 2023 19:24

Head branch was pushed to by a user without write access

@dtivel dtivel force-pushed the dtivel/improve-diagnosability branch from a34717a to c82353d Compare February 21, 2023 19:24
@dtivel dtivel requested review from sandy081 and removed request for isidorn February 21, 2023 19:43
@dtivel dtivel requested a review from isidorn February 21, 2023 23:31
@sandy081 sandy081 merged commit 9b352c1 into microsoft:main Feb 22, 2023
@dtivel dtivel deleted the dtivel/improve-diagnosability branch February 27, 2023 15:46
@github-actions github-actions bot locked and limited conversation to collaborators Apr 9, 2023
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.

4 participants