From 60ba1d11cc1823f1fab61d870bd551d0aacd00b8 Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Fri, 19 May 2023 16:18:34 +0200 Subject: [PATCH] Add a feature to build sq using Botan's version 2 interface. - sequoia-openpgp 1.16 changed `sequoia-openpgp/crypto-botan` to build against Botan's v3 interface, and exposed `sequoia-openpgp/crypto-botan2` to build against the v2 interface. - Do the same. Add a `crypto-botan2` feature to allow the user to build against Botan's v2 interface. --- Cargo.toml | 1 + NEWS | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 458fa4bd..8112ec5c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -87,6 +87,7 @@ default = [ crypto-nettle = ["sequoia-openpgp/crypto-nettle"] crypto-openssl = ["sequoia-openpgp/crypto-openssl"] crypto-botan = ["sequoia-openpgp/crypto-botan"] +crypto-botan2 = ["sequoia-openpgp/crypto-botan2"] crypto-cng = ["sequoia-openpgp/crypto-cng"] crypto-rust = ["sequoia-openpgp/crypto-rust"] compression-bzip2 = ["sequoia-openpgp/compression-bzip2"] diff --git a/NEWS b/NEWS index 4df5dca0..dd985eba 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,11 @@ #+TITLE: sequoia-sq NEWS – history of user-visible changes #+STARTUP: content hidestars +* Changes in 0.30.1 + * Notable changes + - The `crypto-botan` feature now selects Botan's v3 interface. Use + the new `crypto-botan2` feature to continue using Botan's v2 + interface. * Changes in 0.30 * New functionality - `sq key adopt` now honors `--time`.