Commit graph

32 commits

Author SHA1 Message Date
Jack Grigg
fdb41822fc Bump MSRV to 1.65.0 2023-08-06 15:06:10 +00:00
Jack Grigg
ec025bea2a v0.9.0 2022-10-27 02:28:43 +00:00
Jack Grigg
d2bb92915a Bump MSRV to 1.59.0
Closes str4d/rage#348.
2022-10-26 08:05:12 +00:00
Jack Grigg
54bec0e333 Add missing changelog entries 2022-09-11 01:09:39 +00:00
Jack Grigg
0787472339 v0.8.0 2022-05-02 00:47:18 +00:00
Jack Grigg
1324b80562 age: Return correct response encoding for confirm command 2022-05-01 19:26:12 +00:00
Jack Grigg
abc2d978db age-core: Expose unsupported bidir response as Error::Unsupported 2022-03-20 18:06:51 +00:00
Jack Grigg
e297965621 Bump MSRV to 1.56.0
Closes str4d/rage#285.
2022-03-16 03:34:54 +00:00
Jack Grigg
3872563814 Add helper environment variable for debugging plugins
Setting the `AGEDEBUG` environment variable to `plugin` will cause all
plugin communications, as well as the plugin's stderr, to be printed to
the stderr of the parent process (e.g. rage).
2021-12-28 00:26:38 +00:00
Jack Grigg
7a2ff3ad4f v0.7.1 2021-12-27 00:30:42 +00:00
Jack Grigg
4c79db3fe0 v0.7.0 2021-10-18 17:52:37 +01:00
Jack Grigg
c7a2e998c6 age-core: Re-export secrecy crate 2021-10-18 14:24:19 +01:00
Jack Grigg
bbe8d518fb age-core: Add plugin::Error enum 2021-10-18 13:13:37 +01:00
Jack Grigg
0fe89b9aec age-core: Defer Base64 decoding entirely
The new `AgeStanza::body` method replaces the previous `body` property,
enabling a wrapping parser to defer Base64 decoding until the end.
2021-08-08 00:44:02 +01:00
Jack Grigg
215b1b0847 Bump MSRV to 1.51.0 2021-08-07 07:33:56 +01:00
Jack Grigg
a208150631 v0.6.0 2021-05-02 12:50:41 +12:00
Jack Grigg
8fc525b86a Changelog updates 2021-05-02 12:41:37 +12:00
Jack Grigg
395502f503 age-core: Add missing entry for age_core::plugin module 2021-02-05 23:49:13 +00:00
Jack Grigg
d0d55872a7 age-core: Add plaintext size argument to aead_decrypt
This implements the same mitigation as FiloSottile/age for the multi-key
attack. The age crate was already checking these lengths for built-in
recipient types; this change extends the mitigation to other crates that
reuse the age primitives, such as age plugins.
2020-12-31 02:56:50 +00:00
Jack Grigg
dc2ae5c5ff Serialize stanzas with an explicit short last body line.
This enables a stream of stanzas to be parsed, such as in the upcoming
plugin IPC. Previously the parser could not distinguish an
stanza with a body of length 0 mod 64 from an incomplete stanza. This did
not cause issues for V1 header parsing because the recipients list is
always terminated with the MAC line, which has a distinct prefix.

V1 header parsing now accepts either kind of stanza body encoding.
2020-12-30 04:45:18 +00:00
Jack Grigg
e6387bf5b7 Make the trailing newline a formal part of the age stanza 2020-12-13 20:58:24 +00:00
Jack Grigg
6c12ac25c4 Make the stanza prefix -> a formal part of the age stanza 2020-12-13 19:56:26 +00:00
Jack Grigg
77273e0378 v0.5.0 2020-11-22 18:51:27 +00:00
Jack Grigg
b504bf8d4c age-core: Pass stanza args to write::age_stanza using AsRef<[str]> 2020-08-16 20:43:08 +01:00
Jack Grigg
57900c9793 age-core: Expose grease gun 2020-08-16 20:35:41 +01:00
Jack Grigg
567d6e048f Bump MSRV to 1.41.0
We rely on digest 0.9-era RustCrypto crates, which all have MSRV 1.41.0.
2020-07-29 02:02:13 +12:00
Jack Grigg
52171c3ec0 Update changelogs 2020-07-20 23:21:52 +12:00
Jack Grigg
2291ccbcf8 age_core: Expose primitives for AEAD and HKDF
This enables reuse of these common primitives within the upcoming plugin
system, alongside the core parsers and serializers.
2020-04-26 00:10:38 +12:00
Jack Grigg
9adf7e5749 v0.4.0 2020-03-25 11:55:40 +13:00
Jack Grigg
84ca61d44c v0.3.1 2020-02-11 13:49:59 +00:00
Jack Grigg
6eb85cb74a v0.3.0 2020-02-09 20:46:52 +00:00
Jack Grigg
24dd78f2b4 Add age-core changelog 2020-02-09 13:57:59 +00:00