github str4d/rage v0.2.0
rage v0.2.0

latest releases: v0.10.0, v0.9.2, v0.9.1...
pre-release4 years ago

Added

  • The library crate can be compiled to WASM.
  • When encrypting to a passphrase, rage will generate a secure passphrase if the
    user does not provide one.
  • SecretKey::to_string -> secrecy::SecretString, which zeroizes most internal
    state. (Zeroizing all internal state requires changes to the bech32 crate.)
  • RecipientKey implements Display, and can be converted to a string using
    recipient.to_string().
  • Decryptor::with_passphrase constructor.
  • --max-work-factor WF argument for rage and rage-mount, to enable overriding
    the default maximum (which is around 16 seconds of work).

Changed

  • age::Encryptor::wrap_output now takes an age::Format enum argument instead
    of a boolean flag.
  • Recipients are now parsed as filenames last instead of first. If a filename
    happens to also be a valid recipient format, the file will be ignored. This
    can be overridden by using an absolute file path.
  • The filename - (hyphen) is now treated as an explicit request to read from
    standard input or write to standard output when used as an input or output
    filename.
  • -o - will override protections for terminals when standard output is not
    being piped elsewhere: output will not be truncated, and binary data will be
    printed directly to the terminal.
  • Armored encrypted output can now be printed to the terminal. Large files will
    be truncated (to protect the terminal), corrupting the encryption. This can be
    overriden with -o -.
  • The Decryptor::Passphrase enum case has been altered to store an optional
    maximum work factor.

Removed

  • SecretKey::to_str (replaced by SecretKey::to_string).
  • RecipientKey::to_str (replaced by Display implementation and
    recipient.to_string()).

Fixed

  • Corrected encoding of example recipients in manpages.
  • Re-enabled the default identities file (#41).
  • Fixed parser to reject encrypted OpenSSH keys if they contain invalid
    bcrypt_pbkdf parameters.
  • [Unix] rage-keygen -o filename now creates files with mode 600 (i.e. the
    output file is no longer world-readable).
  • Unknown recipient lines are now parsed and ignored during decryption, instead
    of causing a hard failure.

Don't miss a new rage release

NewReleases is sending notifications on new releases.