Skip to content

Commit 5445616

Browse files
committed
signs the vsix data, not the manifest
1 parent 13a5775 commit 5445616

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: cli/signature.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func signature() *cobra.Command {
3333

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

52-
msg, err := easyzip.GetZipFileReader(data, ".signature.manifest")
52+
msg, err := easyzip.GetZipFileReader(data, extensionVsix)
5353
if err != nil {
5454
return xerrors.Errorf("get manifest: %w", err)
5555
}

0 commit comments

Comments
 (0)