diff --git a/cmd/cmd.go b/cmd/cmd.go index 78808194..9591bf3c 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -877,6 +877,9 @@ type pullFn func(ctx context.Context, name string, fn api.PullProgressFunc) erro func getLocalPuller(insecure bool) (p pullFn, err error) { p = func(ctx context.Context, name string, fn api.PullProgressFunc) error { + if err := initializeKeypair(); err != nil { + return err + } opts := &server.RegistryOptions{ Insecure: insecure, }