Skip to content

Commit

Permalink
v0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
str4d committed Dec 27, 2021
1 parent a23763c commit 7a2ff3a
Show file tree
Hide file tree
Showing 11 changed files with 40 additions and 15 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions age-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ to 1.0.0 are beta releases.

## [Unreleased]

## [0.7.1] - 2021-12-27
### Fixed
- In 0.7.0, Base64 decoding was moved to the `AgeStanza::body` method, with the
stanza parser only checking for valid Base64 characters. This caused the
parser to start accepting stanzas with non-canonical last body lines (where
the Base64 encoding would have trailing bits that could not be decoded into
full bytes); calling `AgeStanza::body` on these stanzas would cause a panic.
This release fixes the parser to reject non-canonical last body lines, turning
the panic back into an error.

## [0.7.0] - 2021-10-18
### Added
- `age_core::secrecy`, which re-exports the `secrecy` crate.
Expand Down
2 changes: 1 addition & 1 deletion age-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "age-core"
description = "[BETA] Common functions used across the age crates"
version = "0.7.0"
version = "0.7.1"
authors = ["Jack Grigg <thestr4d@gmail.com>"]
repository = "https://github.com/str4d/rage"
readme = "README.md"
Expand Down
5 changes: 5 additions & 0 deletions age-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ to 1.0.0 are beta releases.

## [Unreleased]

## [0.2.1] - 2021-12-27
### Fixed
- Bumped `age-core` to 0.7.1 to fix a bug where non-canonical recipient stanza
bodies in an age file header would cause a panic instead of being rejected.

## [0.2.0] - 2021-10-18
### Changed
- MSRV is now 1.51.0.
Expand Down
4 changes: 2 additions & 2 deletions age-plugin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[package]
name = "age-plugin"
description = "[BETA] API for writing age plugins."
version = "0.2.0"
version = "0.2.1"
authors = ["Jack Grigg <thestr4d@gmail.com>"]
repository = "https://github.com/str4d/rage"
readme = "README.md"
license = "MIT OR Apache-2.0"
edition = "2018"

[dependencies]
age-core = { version = "0.7.0", path = "../age-core", features = ["plugin"] }
age-core = { version = "0.7.1", path = "../age-core", features = ["plugin"] }
bech32 = "0.8"
chrono = "0.4"

Expand Down
5 changes: 5 additions & 0 deletions age/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ to 1.0.0 are beta releases.

## [Unreleased]

## [0.7.1] - 2021-12-27
### Fixed
- Bumped `age-core` to 0.7.1 to fix a bug where non-canonical recipient stanza
bodies in an age file header would cause a panic instead of being rejected.

## [0.7.0] - 2021-10-18
### Added
- `age::encrypted::Identity`, for decrypting files with passphrase-encrypted
Expand Down
4 changes: 2 additions & 2 deletions age/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "age"
description = "[BETA] A simple, secure, and modern encryption library."
version = "0.7.0"
version = "0.7.1"
authors = ["Jack Grigg <thestr4d@gmail.com>"]
repository = "https://github.com/str4d/rage"
readme = "README.md"
Expand All @@ -14,7 +14,7 @@ edition = "2018"
maintenance = { status = "experimental" }

[dependencies]
age-core = { version = "0.7.0", path = "../age-core" }
age-core = { version = "0.7.1", path = "../age-core" }

# Dependencies required by the age specification:
# - Base64 from RFC 4648
Expand Down
4 changes: 2 additions & 2 deletions fuzz-afl/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions fuzz/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions rage/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ to 1.0.0 are beta releases.

## [Unreleased]

## [0.7.1] - 2021-12-27
### Fixed
- Fixed a bug in 0.7.0 where non-canonical recipient stanza bodies in an age
file header would cause `rage` to crash instead of being rejected.

## [0.7.0] - 2021-10-18
### Added
- `-i/--identity` now accepts passphrase-encrypted age identity files.
Expand Down
4 changes: 2 additions & 2 deletions rage/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "rage"
description = "[BETA] A simple, secure, and modern encryption tool."
version = "0.7.0"
version = "0.7.1"
authors = ["Jack Grigg <thestr4d@gmail.com>"]
repository = "https://github.com/str4d/rage"
readme = "../README.md"
Expand Down Expand Up @@ -43,7 +43,7 @@ maintenance = { status = "experimental" }

[dependencies]
# rage and rage-keygen dependencies
age = { version = "0.7.0", path = "../age", features = ["armor", "cli-common", "plugin"] }
age = { version = "0.7.1", path = "../age", features = ["armor", "cli-common", "plugin"] }
chrono = "0.4"
console = { version = "0.15", default-features = false }
env_logger = "0.9"
Expand Down

0 comments on commit 7a2ff3a

Please sign in to comment.