diff --git a/cmd/ftl/cmd_box_run.go b/cmd/ftl/cmd_box_run.go index cdbf3f5849..1fe6717591 100644 --- a/cmd/ftl/cmd_box_run.go +++ b/cmd/ftl/cmd_box_run.go @@ -67,10 +67,6 @@ func (b *boxRunCmd) Run(ctx context.Context, projConfig projectconfig.Config) er if err != nil { return fmt.Errorf("failed to register DB metrics: %w", err) } - encryptors, err := config.EncryptionKeys.Encryptors(false) - if err != nil { - return fmt.Errorf("failed to create encryptors: %w", err) - } wg := errgroup.Group{} wg.Go(func() error { diff --git a/cmd/ftl/cmd_serve.go b/cmd/ftl/cmd_serve.go index 5147ddfcb1..527e07e0cf 100644 --- a/cmd/ftl/cmd_serve.go +++ b/cmd/ftl/cmd_serve.go @@ -157,10 +157,6 @@ func (s *serveCmd) run(ctx context.Context, projConfig projectconfig.Config, ini if err != nil { return fmt.Errorf("failed to register DB metrics: %w", err) } - encryptors, err := config.EncryptionKeys.Encryptors(false) - if err != nil { - return fmt.Errorf("failed to create encryptors: %w", err) - } wg.Go(func() error { if err := controller.Start(controllerCtx, config, runnerScaling, conn); err != nil {