Skip to content

Commit

Permalink
Merge pull request #513 from souleb/fix-sops-decrypt-defaultserver
Browse files Browse the repository at this point in the history
sops: ensure proper wiring to default server
  • Loading branch information
stefanprodan authored Dec 9, 2021
2 parents 07d3c99 + 3191f49 commit 3782765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/sops/keyservice/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (ks Server) Encrypt(ctx context.Context,
Ciphertext: ciphertext,
}
default:
return ks.Encrypt(ctx, req)
return ks.DefaultServer.Encrypt(ctx, req)
}
if ks.Prompt {
err := ks.prompt(key, "encrypt")
Expand Down

0 comments on commit 3782765

Please sign in to comment.