diff --git a/cli/selfsign/selfsign.go b/cli/selfsign/selfsign.go index a4d8f7c44..4b70ecb06 100644 --- a/cli/selfsign/selfsign.go +++ b/cli/selfsign/selfsign.go @@ -87,6 +87,9 @@ func selfSignMain(args []string, c cli.Config) (err error) { if c.Profile != "" && c.CFG.Signing.Profiles != nil { profile = c.CFG.Signing.Profiles[c.Profile] } + if profile == nil { + profile = c.CFG.Signing.Default + } } if profile == nil {