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 insidestd::io::Error
.age::ssh
:impl Clone for Identity
Changed
- MSRV is now 1.59.0.
age::Encryptor::with_recipients
now returnsOption<Encryptor>
, withNone
returned if the provided list of recipients is empty (to prevent files being encrypted to no recipients). Therecipients
argument is also nowVec<Box<dyn age::Recipient + Send>>
.age::encrypted::Identity::recipients
now returnsVec<Box<dyn age::Recipient + Send>>
.
Fixed
age::Decryptor
now rejects invalid or non-canonicalscrypt
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.
age-plugin 0.4.0
Changed
- MSRV is now 1.59.0.
- Migrated to
age-core 0.9
.
age-core
Changed
- MSRV is now 1.59.0.
- Migrated to
aead 0.5
.