Skip to content

rage v0.9.0

Compare
Choose a tag to compare
@github-actions github-actions released this 27 Oct 05:02
· 323 commits to main since this release
ff4b020

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.

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.