From 633b8afe6f970d0ea85e49876057097af4a28ebf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Thu, 26 Jan 2023 16:26:32 +0100 Subject: [PATCH] Add RSA to supported algorithms --- src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 640f07e..d849425 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -102,7 +102,9 @@ where let application_property_template = piv_types::ApplicationPropertyTemplate::default() .with_application_label(APPLICATION_LABEL) .with_application_url(APPLICATION_URL) - .with_supported_cryptographic_algorithms(&[Tdes, Aes256, P256, Ed25519, X25519]); + .with_supported_cryptographic_algorithms(&[ + Tdes, Aes256, P256, Ed25519, X25519, Rsa2048, + ]); application_property_template .encode_to_heapless_vec(*reply)