From 6452fa05400f1e131280269ff09b1326828b0de7 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Tue, 30 Jul 2024 05:19:13 +0000 Subject: [PATCH] age-plugin 0.5 --- Cargo.lock | 14 +++++++------- Cargo.toml | 4 ++-- src/main.rs | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index def0537..4f182c7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -29,11 +29,11 @@ dependencies = [ [[package]] name = "age-core" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3d2e815ac879dc23c1139e720d21c6cd4d1276345c772587285d965a69b8f32" +checksum = "a5f11899bc2bbddd135edbc30c36b1924fa59d0746bb45beb5933fafe3fe509b" dependencies = [ - "base64 0.13.1", + "base64 0.21.7", "chacha20poly1305", "cookie-factory", "hkdf", @@ -47,12 +47,12 @@ dependencies = [ [[package]] name = "age-plugin" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4564b93d746fc5947e08ee2b9b3f990df89133803857b6ee0dad8b0efeb8bc79" +checksum = "04740d993aac0e06eaf4cfbf8484a8a23a6a7f950cf5d53bdf2d6ea3f429eb9d" dependencies = [ "age-core", - "base64 0.13.1", + "base64 0.21.7", "bech32", "chrono", ] @@ -994,7 +994,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2 0.4.10", + "socket2 0.5.7", "tokio", "tower-service", "tracing", diff --git a/Cargo.toml b/Cargo.toml index 3aaf5f3..144f559 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,8 +22,8 @@ assets = [ ] [dependencies] -age-core = "0.9" -age-plugin = "0.4" +age-core = "0.10" +age-plugin = "0.5" base64 = "0.21" bech32 = "0.9" console = { version = "0.15", default-features = false } diff --git a/src/main.rs b/src/main.rs index 757cab6..3add1be 100644 --- a/src/main.rs +++ b/src/main.rs @@ -329,8 +329,8 @@ fn main() -> Result<(), Error> { if let Some(state_machine) = opts.age_plugin { run_state_machine( &state_machine, - plugin::RecipientPlugin::default, - plugin::IdentityPlugin::default, + Some(plugin::RecipientPlugin::default), + Some(plugin::IdentityPlugin::default), )?; Ok(()) } else if opts.version {