From e9efc306e8d92ec417c71eb7ccfadf5cbba42757 Mon Sep 17 00:00:00 2001 From: Fan DANG Date: Tue, 26 Dec 2023 10:54:15 +0800 Subject: [PATCH] enable PIV extension by default --- applets/piv/piv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applets/piv/piv.c b/applets/piv/piv.c index 6ec638de..03a36dee 100644 --- a/applets/piv/piv.c +++ b/applets/piv/piv.c @@ -255,7 +255,7 @@ int piv_install(const uint8_t reset) { if (write_attr(puk.path, TAG_PIN_KEY_DEFAULT, &tmp, sizeof(tmp)) < 0) return -1; // Algorithm extensions - alg_ext_cfg.enabled = 0; + alg_ext_cfg.enabled = 1; alg_ext_cfg.ed25519 = ALG_ED25519_DEFAULT; alg_ext_cfg.rsa3072 = ALG_RSA_3072_DEFAULT; alg_ext_cfg.rsa4096 = ALG_RSA_4096_DEFAULT;