diff options
| author | Shulhan <ms@kilabit.info> | 2023-10-24 21:22:41 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-10-25 00:52:32 +0700 |
| commit | a5b672b2792c555aa3acfb4def2cc02bd57bdbd6 (patch) | |
| tree | 70d11d0eb1ddbc4a62e120b7989964aaa531d99e /testdata/local | |
| parent | 8b66ca40783ae37a3718cfbd0897a7fed36c41e5 (diff) | |
| download | awwan-a5b672b2792c555aa3acfb4def2cc02bd57bdbd6.tar.xz | |
all: log and simplify error when source file is not exist
Previously, if the source file to be copied is not exist, awwan will
output only error for the ".vault" file, twice, for example
!!! Copy: <source>.vault: open <source>.vault not exist
Local: Copy: <source>.vault: open <source>.vault not exist
This changes make the first line output to print the original source
file first, the non-ecrypted one, and then followed by encrypted one,
??? loadFileInput "<source>": not exist
Local: Copy "<source>.vault": not exist
Diffstat (limited to 'testdata/local')
| -rw-r--r-- | testdata/local/put.data | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testdata/local/put.data b/testdata/local/put.data index ceea60f..b548ea1 100644 --- a/testdata/local/put.data +++ b/testdata/local/put.data @@ -10,7 +10,7 @@ The host name is encrypt. The secret password is this_is_a_secret. <<< encrypted_empty_passphrase.stderr -Local: Copy: encrypted.txt.vault: private key is missing or not loaded +Local: Copy: loadFileInput "encrypted.txt.vault": private key is missing or not loaded <<< encrypted_invalid_passphrase Local: NewSession: .awwan.env.vault: LoadPrivateKeyInteractive: x509: decryption password incorrect |
