str4d / rage

A simple, secure and modern file encryption tool (and Rust library) with small explicit keys, no config options, and UNIX-style composability.
https://age-encryption.org/v1
Apache License 2.0
2.53k stars 97 forks source link

rage: Give a better error message when a recipients file is missing #455

Closed str4d closed 7 months ago

str4d commented 7 months ago

This also fixes a test failure on Windows, which had a different OS error message than Unix for "file not found".

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (ff68ec4) 40.47% compared to head (dbdd34a) 40.47%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #455 +/- ## ======================================= Coverage 40.47% 40.47% ======================================= Files 35 35 Lines 3212 3212 ======================================= Hits 1300 1300 Misses 1912 1912 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

str4d commented 7 months ago

Welp, the CLI tests are passing on Windows now, but that's exposing a failure on macOS that I'm sure was working before...