Skip to content

rage v0.7.0

Compare
Choose a tag to compare
@github-actions github-actions released this 18 Oct 17:19
· 498 commits to main since this release
c93b914

rage

Added

  • -i/--identity now accepts passphrase-encrypted age identity files.
  • The -j PLUGIN_NAME flag, which allows decrypting with a plugin using its "default mode" (in which no identity-specific information is required). This flag is equivalent to using -i/--identity with an identity file containing the default plugin identity (containing no data).

Changed

  • MSRV is now 1.51.0.
  • *-linux.tar.gz release binaries are now built with Ubuntu 18.04, and require a system with a minimum of glibc 2.27.

age

Added

  • age::encrypted::Identity, for decrypting files with passphrase-encrypted age identity files.
  • age::IdentityFileEntry enum, representing the possible kinds of entries within an age identity file.
  • age::{DecryptError, EncryptError, PluginError}: Clone bounds.
  • age::cli_common::UiCallbacks: Clone + Copy bounds.
  • age::cli_common::Passphrase::random, for generating a secure passphrase.
  • age::cli_common::ReadError
  • age::secrecy, which re-exports the secrecy crate.

Changed

  • MSRV is now 1.51.0.
  • age::IdentityFile::into_identities now returns Vec<IdentityFileEntry>.
  • age::cli_common::read_identities:
    • Encrypted age files will now be parsed and assumed to be encrypted age identities. This assumption is checked at file-decryption time.
    • New max_work_factor parameter for controlling the work factor when decrypting encrypted identities.
    • Identities are now returned in the same order as filenames (and top-to-bottom from within each file). Plugin identities are no longer coalesced; there is one Box<dyn Identity> per plugin identity.
    • age::cli_common::ReadError is now returned instead of a user-specified error type. The error constructor parameters have been removed from the function.
  • age::Callbacks::prompt has been renamed to Callbacks::display_message.
    • age::cli_common::UiCallbacks::display_message no longer uses pinentry (which displays a temporary prompt that can be dismissed), so the message is now part of the visible CLI output.

Removed

  • IdentityFile::split_into (replaced by IdentityFileEntry::Plugin).

age-plugin 0.2.0

Changed

  • MSRV is now 1.51.0.
  • age_plugin::Callbacks methods now return age_core::plugin::Error instead of () for internal errors, following changes to age_core::plugin::Result.

age-core

Added

  • age_core::secrecy, which re-exports the secrecy crate.
  • age_core::plugin::Error

Changed

  • MSRV is now 1.51.0.
  • The body property of age_core::format::AgeStanza has been replaced by the AgeStanza::body method, to enable enclosing parsers to defer Base64 decoding until the very end.
  • age_core::plugin::Result now only takes a single generic argument, and uses age_core::plugin::Error for its inner error type.