rage
Added
rage-mount
can now mount ASCII-armored age files.
Changed
- [
rage
]-p/--passphrase
flag can no longer be used with-d/--decrypt
(passphrase-encrypted files are now detected automatically).
Removed
-p/--passphrase
flag fromrage-mount
(passphrase-encrypted files are now
detected automatically).
Fixed
- [Unix] Files encrypted with a passphrase can now be decrypted with
rage
when
piped over stdin.
age
Added
age::Decryptor::new(R: Read)
, which parses an age file header and returns
a context-specific decryptor.age::decryptor
module containing the context-specific decryptors.- Their decryption methods return the concrete type
StreamReader<R>
,
enabling them to handle seekable readers.
- Their decryption methods return the concrete type
age::Encryptor::with_recipients(Vec<RecipientKey>)
age::Encryptor::with_user_passphrase(SecretString)
- Support for encrypted OpenSSH keys created with
ssh-keygen
prior to OpenSSH
7.6. age::cli_common::file_io::OutputWriter::is_terminal
Changed
age::Decryptor
has been refactored to auto-detect the decryption type. As a
result, both identity-based and passphrase-based decryption need to be
handled.age::StreamReader
has been moved into theage::stream
module, along with
StreamWriter
which was previously public but has now been formally exposed
in the API for documentation purposes.age::Encryptor
is now an opaque struct, and must be created via its new
constructors.age::Encryptor::wrap_output
now consumesself
, making it harder to
accidentally reuse a passphrase for multiple encrypted files.age::cli_common::read_identities
now takes an additionalfile_not_found
parameter for customising the error when an identity filename is not found.
Removed
age::Decryptor::trial_decrypt
(replaced by context-specific decryptors).age::Decryptor::trial_decrypt_seekable
(merged into the context-specific
decryptors).age::Error::ArmoredWhenSeeking
age::Error::MessageRequiresKeys
age::Error::MessageRequiresPassphrase
Fixed
- Key files with Windows line endings are now correctly parsed.
age-core
No changes; version bumped to keep it in sync with age
.