mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
a few small fixes
This commit is contained in:
parent
afc1ccdcc8
commit
90450f3626
4 changed files with 6 additions and 2 deletions
|
|
@ -14,6 +14,7 @@
|
|||
from __future__ import absolute_import, division, print_function
|
||||
|
||||
import pytest
|
||||
|
||||
import six
|
||||
|
||||
from cryptography.exceptions import (
|
||||
|
|
|
|||
|
|
@ -21,7 +21,8 @@ from cryptography.exceptions import InvalidToken, UnsupportedInterface
|
|||
from cryptography.hazmat.primitives import hashes
|
||||
from cryptography.hazmat.primitives.hashes import MD5, SHA1
|
||||
from cryptography.hazmat.primitives.twofactor.hotp import HOTP
|
||||
from tests.utils import load_nist_vectors, load_vectors_from_file
|
||||
|
||||
from ....utils import load_nist_vectors, load_vectors_from_file
|
||||
|
||||
vectors = load_vectors_from_file(
|
||||
"twofactor/rfc-4226.txt", load_nist_vectors)
|
||||
|
|
|
|||
|
|
@ -18,7 +18,8 @@ import pytest
|
|||
from cryptography.exceptions import InvalidToken, UnsupportedInterface
|
||||
from cryptography.hazmat.primitives import hashes
|
||||
from cryptography.hazmat.primitives.twofactor.totp import TOTP
|
||||
from tests.utils import load_nist_vectors, load_vectors_from_file
|
||||
|
||||
from ....utils import load_nist_vectors, load_vectors_from_file
|
||||
|
||||
vectors = load_vectors_from_file(
|
||||
"twofactor/rfc-6238.txt", load_nist_vectors)
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ import collections
|
|||
import os
|
||||
|
||||
import pytest
|
||||
|
||||
import six
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue