Skip to content

Commit 2e67d14

Browse files
authored
plugin: Skip keyless verification for private third-party plugins (#2292)
* plugin: Skip keyless verification for private third-party plugins Comparable to #2223, which became ineffective in #2224. #2209 (comment) * Revert "plugin: Skip keyless verification for private third-party plugins" This reverts commit dcf3526. * Prevent failure at the end of the function if plugin could not be verified
1 parent 0ef759c commit 2e67d14

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/init.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ func (cli *CLI) init(opts Options) int {
5454
if err != nil {
5555
if errors.Is(err, plugin.ErrPluginNotVerified) {
5656
_, _ = color.New(color.FgYellow).Fprintln(cli.outStream, `No signing key configured. Set "signing_key" to verify that the release is signed by the plugin developer`)
57+
err = nil
5758
} else {
5859
return fmt.Errorf("Failed to install a plugin; %w", err)
5960
}

0 commit comments

Comments
 (0)