From 6730146b732cab6bd5eafd2be1f273c515440ca7 Mon Sep 17 00:00:00 2001 From: Dmitry Smirnov Date: Thu, 14 Aug 2025 12:48:19 +0300 Subject: [PATCH] Expand ATTRIBUTE_TYPES for GOSTR support. Changes to be committed: modified: pkcs11/attributes.py --- pkcs11/attributes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkcs11/attributes.py b/pkcs11/attributes.py index 5cb5141..c838f3a 100644 --- a/pkcs11/attributes.py +++ b/pkcs11/attributes.py @@ -89,6 +89,8 @@ def _enum(type_): Attribute.VERIFY_RECOVER: handle_bool, Attribute.WRAP: handle_bool, Attribute.WRAP_WITH_TRUSTED: handle_bool, + Attribute.GOSTR3410_PARAMS: handle_bytes, + Attribute.GOSTR3411_PARAMS: handle_bytes, } """ Map of attributes to (serialize, deserialize) functions.