Skip to content

Commit 6293b75

Browse files
committed
esdm: fix defaults for botan 3.7.1
Signed-off-by: Markus Theil <[email protected]>
1 parent f8b96f9 commit 6293b75

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

pkgs/by-name/es/esdm/package.nix

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
drngChaCha20 ? false, # set the default drng callback
2424
ais2031 ? false, # set the seeding strategy to be compliant with AIS 20/31
2525
sp80090c ? false, # set compliance with NIST SP800-90C
26-
cryptoBackend ? "botan", # set backend for hash and drbg operations
26+
cryptoBackend ? "builtin", # set backend for hash and drbg operations
2727
linuxDevFiles ? true, # enable linux /dev/random and /dev/urandom support
2828
linuxGetRandom ? true, # enable linux getrandom support
2929
hashSha512 ? false, # set the conditioning hash: SHA2-512
3030
hashSha3_512 ? true, # set the conditioning hash: SHA3-512
31-
openSSLRandProvider ? true, # build ESDM provider for OpenSSL 3.x
32-
botanRng ? true, # build ESDM class for Botan 3.x
31+
openSSLRandProvider ? false, # build ESDM provider for OpenSSL 3.x
32+
botanRng ? false, # build ESDM class for Botan 3.x
3333

3434
# client-related options (handle with care, consult source code and meson options)
3535
# leave as is if in doubt
@@ -56,10 +56,7 @@
5656

5757
assert drngHashDrbg != drngChaCha20;
5858
assert hashSha512 != hashSha3_512;
59-
assert
60-
cryptoBackend == "openssl"
61-
|| cryptoBackend == "botan"
62-
|| cryptoBackend == "builtin" "Unsupported ESDM crypto backend";
59+
assert cryptoBackend == "openssl" || cryptoBackend == "botan" || cryptoBackend == "builtin";
6360

6461
stdenv.mkDerivation rec {
6562
pname = "esdm";

0 commit comments

Comments
 (0)