CreatePassphraseUnlocker already encrypts and writes the long-term private key to longterm.age. The Init command was doing this a second time, overwriting the file with a functionally equivalent but separately encrypted blob. This was wasteful and a maintenance hazard. |
||
|---|---|---|
| .. | ||
| cli_test.go | ||
| cli.go | ||
| completion.go | ||
| completions.go | ||
| crypto.go | ||
| generate.go | ||
| info_helper.go | ||
| info.go | ||
| init.go | ||
| integration_test.go | ||
| root.go | ||
| secrets_size_test.go | ||
| secrets.go | ||
| stdout_stderr_test.go | ||
| test_helpers.go | ||
| test_output_test.go | ||
| unlockers.go | ||
| vault.go | ||
| version_test.go | ||
| version.go | ||