From 77294291e01ffbe1b5840449b440b35583f1f848 Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Thu, 13 Apr 2023 00:42:15 +0200 Subject: [PATCH] Add an option to use the botan backend --- Cargo.lock | 16 ++++++++++++++++ Cargo.toml | 1 + 2 files changed, 17 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index c88e1cf..0a723e7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -173,6 +173,21 @@ dependencies = [ "generic-array", ] +[[package]] +name = "botan" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "066638d2456fe30d12c06c35ee0eb4f050c97ed3b68db0bff9b762da1976d169" +dependencies = [ + "botan-sys", +] + +[[package]] +name = "botan-sys" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc0393ee6e938f1d845b0b7163b66f8ac93383a8a20aa64731ce04e5f59319fe" + [[package]] name = "buffered-reader" version = "1.1.4" @@ -1276,6 +1291,7 @@ checksum = "e5f5aa2f8ea2ab9690c2839a16f7bf335f404fa97fad627c8e828b302b1a5c18" dependencies = [ "anyhow", "base64", + "botan", "buffered-reader", "bzip2", "chrono", diff --git a/Cargo.toml b/Cargo.toml index caa768d..6a42aee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,4 +42,5 @@ default = [ "sequoia-openpgp/default", ] crypto-nettle = ["sequoia-openpgp/crypto-nettle"] +crypto-botan = ["sequoia-openpgp/crypto-botan"] crypto-cng = ["sequoia-openpgp/crypto-cng"] -- GitLab