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 ofglibc 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 thesecrecy
crate.
Changed
- MSRV is now 1.51.0.
age::IdentityFile::into_identities
now returnsVec<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 oneBox<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 toCallbacks::display_message
.age::cli_common::UiCallbacks::display_message
no longer usespinentry
(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 byIdentityFileEntry::Plugin
).
age-plugin 0.2.0
Changed
- MSRV is now 1.51.0.
age_plugin::Callbacks
methods now returnage_core::plugin::Error
instead of()
for internal errors, following changes toage_core::plugin::Result
.
age-core
Added
age_core::secrecy
, which re-exports thesecrecy
crate.age_core::plugin::Error
Changed
- MSRV is now 1.51.0.
- The
body
property ofage_core::format::AgeStanza
has been replaced by theAgeStanza::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 usesage_core::plugin::Error
for its inner error type.