Skip to content

Commit

Permalink
fix decryption using the defaultServer
Browse files Browse the repository at this point in the history
  • Loading branch information
souleb committed Dec 9, 2021
1 parent 2fa13ce commit e1f8d5d
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 e1f8d5d

Please sign in to comment.