From 7d10a344a734dd0213ac0456bfa05692e3aac443 Mon Sep 17 00:00:00 2001 From: Per Nilsson Date: Tue, 20 Aug 2024 14:28:18 +0200 Subject: [PATCH] Increase size of pubkey field to accomdate 4096 bit RSA keys --- lib/ykpiv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ykpiv.h b/lib/ykpiv.h index 3eb0b0b0..02c024c4 100644 --- a/lib/ykpiv.h +++ b/lib/ykpiv.h @@ -305,7 +305,7 @@ extern "C" uint8_t touch_policy; uint8_t origin; size_t pubkey_len; - uint8_t pubkey[512]; + uint8_t pubkey[1024]; } ykpiv_metadata; /**