Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Key private. #100

Merged
merged 1 commit into from May 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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