diff --git a/pymdoccbor/__init__.py b/pymdoccbor/__init__.py index 43c4ab0..49e0fc1 100644 --- a/pymdoccbor/__init__.py +++ b/pymdoccbor/__init__.py @@ -1 +1 @@ -__version__ = "0.6.1" +__version__ = "0.7.0" diff --git a/pymdoccbor/settings.py b/pymdoccbor/settings.py index 1da0d10..8ba2777 100644 --- a/pymdoccbor/settings.py +++ b/pymdoccbor/settings.py @@ -2,11 +2,15 @@ import os COSEKEY_HAZMAT_CRV_MAP = { - "secp256r1": "P_256" + "secp256r1": "P_256", + "secp384r1": "P_384", + "secp521r1": "P_521" } CRV_LEN_MAP = { "secp256r1": 32, + "secp384r1": 48, + "secp521r1": 66 } PYMDOC_HASHALG: str = os.getenv('PYMDOC_HASHALG', "SHA-256")