Skip to content

Commit

Permalink
Merge pull request #100 from dajiaji/make-key-private
Browse files Browse the repository at this point in the history
Make Key private.
  • Loading branch information
dajiaji committed May 29, 2021
2 parents 01c0f9a + 7b8d8e8 commit 6182fc7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 0 additions & 2 deletions cwt/__init__.py
Expand Up @@ -13,7 +13,6 @@
)
from .encrypted_cose_key import encrypted_cose_key
from .exceptions import CWTError, DecodeError, EncodeError, VerifyError
from .key import Key

__version__ = "0.7.1"
__title__ = "cwt"
Expand All @@ -37,7 +36,6 @@
"COSEKey",
"COSERecipient",
"Claims",
"Key",
"encrypted_cose_key",
"CWTError",
"EncodeError",
Expand Down
2 changes: 2 additions & 0 deletions docs/conf.py
Expand Up @@ -42,6 +42,8 @@
nitpick_ignore = [
("py:class", "Recipient"),
("py:class", "cwt.Recipient"),
("py:class", "Key"),
("py:class", "cwt.Key"),
("py:class", "T"),
("py:class", "cwt.claims.T"),
("py:class", "cwt.key.Key"),
Expand Down
3 changes: 2 additions & 1 deletion tests/test_cose_key.py
Expand Up @@ -13,7 +13,8 @@
import pytest

import cwt
from cwt import Claims, COSEKey, Key, encrypted_cose_key
from cwt import Claims, COSEKey, encrypted_cose_key
from cwt.key import Key

from .utils import key_path

Expand Down
3 changes: 2 additions & 1 deletion tests/test_cwt.py
Expand Up @@ -12,7 +12,8 @@
import pytest
from cbor2 import CBORTag

from cwt import CWT, Claims, COSEKey, DecodeError, Key, VerifyError
from cwt import CWT, Claims, COSEKey, DecodeError, VerifyError
from cwt.key import Key
from cwt.recipient import Recipient

from .utils import key_path, now
Expand Down
2 changes: 1 addition & 1 deletion tests/test_key.py
Expand Up @@ -8,7 +8,7 @@
"""
import pytest

from cwt import Key
from cwt.key import Key

# from secrets import token_bytes

Expand Down

0 comments on commit 6182fc7

Please sign in to comment.