Skip to content

Commit

Permalink
signs the vsix data, not the manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
Emyrk committed Dec 13, 2024
1 parent 28f3728 commit 717b3be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/signature.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func signature() *cobra.Command {

func verifySig() *cobra.Command {
cmd := &cobra.Command{
Use: "verify",
Use: "verify <extension.vsix> <signature.p7s>",
Short: "Decode & verify a signature archive.",
Args: cobra.ExactArgs(2),
RunE: func(cmd *cobra.Command, args []string) error {
Expand All @@ -49,7 +49,7 @@ func verifySig() *cobra.Command {
return xerrors.Errorf("read %q: %w", p7sFile, err)
}

msg, err := easyzip.GetZipFileReader(data, ".signature.manifest")
msg, err := easyzip.GetZipFileReader(data, extensionVsix)
if err != nil {
return xerrors.Errorf("get manifest: %w", err)
}
Expand Down

0 comments on commit 717b3be

Please sign in to comment.