You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
rage
Changed
MSRV is now 1.59.0.
Fixed
Encryption now returns an error if the file would be encrypted to no recipients. This can occur if only -R/--recipients-file flags are provided, and they all point to files that contain only "#" prefixed comments and empty lines.
age
Added
age::armor::ArmoredReadError, used to wrap armor-specific read errors inside std::io::Error.
age::ssh:
impl Clone for Identity
Changed
MSRV is now 1.59.0.
age::Encryptor::with_recipients now returns Option<Encryptor>, with None returned if the provided list of recipients is empty (to prevent files being encrypted to no recipients). The recipients argument is also now Vec<Box<dyn age::Recipient + Send>>.
age::encrypted::Identity::recipients now returns Vec<Box<dyn age::Recipient + Send>>.
Fixed
age::Decryptor now rejects invalid or non-canonical scrypt recipient stanzas (instead of ignoring or accepting them respectively), matching the age specification.
age::armor::ArmoredReader:
It now correctly implements strict parsing as defined in RFC 7468, and rejects armored files with non-canonical final lines (where padding bytes are omitted).
It now rejects armored files with non-whitespace characters after the end marker.
It now accepts armored files with no newline after the end marker. Previously these were rejected by the synchronous API, and would cause the async API to hang.
The async API now correctly rejects some classes of invalid armoring that previously would cause it to hang.