From 25ad7adc4637fc2d51ea78c656563558073a1a40 Mon Sep 17 00:00:00 2001 From: Doug Engert Date: Mon, 6 Jan 2025 08:55:50 -0600 Subject: [PATCH] card-piv.c - fix comments Yubikey 5.7.1 can support RSA 4096 --- src/libopensc/card-piv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libopensc/card-piv.c b/src/libopensc/card-piv.c index fdc507c5a0..274989cb1a 100644 --- a/src/libopensc/card-piv.c +++ b/src/libopensc/card-piv.c @@ -4583,8 +4583,7 @@ static int piv_validate_general_authentication(sc_card_t *card, unsigned int cla, tag; unsigned int real_alg_id, op_tag; - /* TODO check for 4096 keys */ - u8 sbuf[4096]; /* needs work. for 3072 keys, needs 384+10 or so */ + u8 sbuf[4096]; /* needs work. for 4096 needs 512+10 or so */ size_t sbuflen = sizeof(sbuf); u8 rbuf[4096];