From 330a04816cf2f3fe8847cd8b57d70ffe66e7cdb3 Mon Sep 17 00:00:00 2001 From: Bohdan Kuchma Date: Mon, 6 Jan 2025 14:59:04 +0200 Subject: [PATCH] Add ECDSA p512 support --- internal/types/signature_algorithm.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/types/signature_algorithm.go b/internal/types/signature_algorithm.go index 3cd4fcd..31eaa52 100644 --- a/internal/types/signature_algorithm.go +++ b/internal/types/signature_algorithm.go @@ -59,6 +59,7 @@ func verifyECDSA(data, sig []byte, publicKey *ecdsa.PublicKey) error { 56: 28, 64: 32, 96: 48, + 128: 64, 132: 66, }