-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'bugfix-0.9.3' into bugfix-0.10.1
- Loading branch information
Showing
8 changed files
with
226 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
rage/tests/cmd/rage/decrypt-invalid-identity-chars.in/file.age.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
-----BEGIN AGE ENCRYPTED FILE----- | ||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBHUGc3Zlhpekp0K012aXdu | ||
T1VZN0lmWlRmNjdLYVB4RldkTFVLTkNDUXlBCmJjRUcrM3E0a0U0N3IyK1JsTitG | ||
dHVTd0N6TVFRTWgzdG5uSzJmNm9YMTgKLT4gQXQ1WWAtZ3JlYXNlIDxodGFSVHJg | ||
IFg0cWYsO0ogZ2Fzc1EKZGtPSTB3Ci0tLSBKazRIaHJxdnNJcHpyclRkQjg3QW5r | ||
SVE2MHdtWkErYTNrNWJibWd1bmNBCkK9FoOkiLB93gD79vNed8L3LM9rhKm5qma2 | ||
lSiwRx/aM1DKaZO0CMmYQkoM2tPReA== | ||
-----END AGE ENCRYPTED FILE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
bin.name = "rage" | ||
args = "--decrypt --identity - file.age.txt" | ||
status = "failed" | ||
stdin = """ | ||
AGE-PLUGIN-FOOBAR/../../../../../../../USR/BIN/ECHO-1HKGPY3 | ||
""" | ||
stdout = "" | ||
stderr = """ | ||
Error: identity file contains non-identity data on line 1 | ||
[ Did rage not do what you expected? Could an error be more useful? ] | ||
[ Tell us: https://str4d.xyz/rage/report ] | ||
""" |
12 changes: 12 additions & 0 deletions
12
rage/tests/cmd/rage/decrypt-invalid-plugin-name-chars.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
bin.name = "rage" | ||
args = "--decrypt -j foobar/../../../../../../../usr/bin/echo" | ||
status = "failed" | ||
stdin = "" | ||
stdout = "" | ||
stderr = """ | ||
Error: Could not find 'foobar/../../../../../../../usr/bin/echo' on the PATH. | ||
Have you installed the plugin? | ||
[ Did rage not do what you expected? Could an error be more useful? ] | ||
[ Tell us: https://str4d.xyz/rage/report ] | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
bin.name = "rage" | ||
args = "--encrypt --recipient age1foobar/../../../../../../../usr/bin/echo1849l6e" | ||
status = "failed" | ||
stdin = "" | ||
stdout = "" | ||
stderr = """ | ||
Error: Invalid recipient 'age1foobar/../../../../../../../usr/bin/echo1849l6e'. | ||
[ Did rage not do what you expected? Could an error be more useful? ] | ||
[ Tell us: https://str4d.xyz/rage/report ] | ||
""" |