Compare commits
No commits in common. "00cb4ead63c9d7164c27d6d42e60b8ee9ca3507f" and "e8cef9b66e76958b17ec8f1770d39bfccca1688e" have entirely different histories.
00cb4ead63
...
e8cef9b66e
|
|
@ -163,7 +163,6 @@ func validateRecoveryRecipient(recipient, bundlePath string) error {
|
||||||
}
|
}
|
||||||
defer os.Remove(probePath)
|
defer os.Remove(probePath)
|
||||||
cmd := exec.Command("age", "-r", recipient, "-o", probePath)
|
cmd := exec.Command("age", "-r", recipient, "-o", probePath)
|
||||||
cmd.Stdin = bytes.NewReader(nil)
|
|
||||||
if output, err := cmd.CombinedOutput(); err != nil {
|
if output, err := cmd.CombinedOutput(); err != nil {
|
||||||
return fmt.Errorf("validate OpenBao recovery recipient: %w: %s", err, bytes.TrimSpace(output))
|
return fmt.Errorf("validate OpenBao recovery recipient: %w: %s", err, bytes.TrimSpace(output))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue