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

age: Parse identity files in a single pass #458

Closed str4d closed 7 months ago

str4d commented 7 months ago

This enables identities to be passed via named pipes, because we are no longer opening the file more than once.

Closes str4d/rage#379.

codecov[bot] commented 7 months ago

Codecov Report

Attention: 34 lines in your changes are missing coverage. Please review.

Comparison is base (f2dc706) 40.47% compared to head (455cc7b) 40.28%. Report is 1 commits behind head on main.

Files Patch % Lines
age/src/cli_common.rs 33.33% 32 Missing :warning:
age/src/primitives/armor.rs 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #458 +/- ## ========================================== - Coverage 40.47% 40.28% -0.20% ========================================== Files 35 35 Lines 3212 3257 +45 ========================================== + Hits 1300 1312 +12 - Misses 1912 1945 +33 ```

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