Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ it would not be too hard to add more.

## Dependencies

This library uses only Python. It requires python2.6 or later versions of the
This library uses only Python and six package. It requires python2.6 or later versions of the
python2.x series. It is also compatible with python3.2 and 3.3.

To run the OpenSSL compatibility tests, the 'openssl' tool must be on your
Expand Down
2 changes: 1 addition & 1 deletion ecdsa/der.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import binascii
import base64
from .six import int2byte, b, integer_types, text_type
from six import int2byte, b, integer_types, text_type


class UnexpectedDER(Exception):
Expand Down
2 changes: 1 addition & 1 deletion ecdsa/ecdsa.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
Written in 2005 by Peter Pearson and placed in the public domain.
"""

from .six import int2byte, b, print_
from six import int2byte, b, print_
from . import ellipticcurve
from . import numbertheory
import random
Expand Down
2 changes: 1 addition & 1 deletion ecdsa/ellipticcurve.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

from __future__ import division

from .six import print_, python_2_unicode_compatible
from six import print_, python_2_unicode_compatible
from . import numbertheory

@python_2_unicode_compatible
Expand Down
2 changes: 1 addition & 1 deletion ecdsa/keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from .util import string_to_number, number_to_string, randrange
from .util import sigencode_string, sigdecode_string
from .util import oid_ecPublicKey, encoded_oid_ecPublicKey
from .six import PY3, b
from six import PY3, b
from hashlib import sha1


Expand Down
4 changes: 2 additions & 2 deletions ecdsa/numbertheory.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

from __future__ import division

from .six import print_, integer_types
from .six.moves import reduce
from six import print_, integer_types
from six.moves import reduce

import math

Expand Down
2 changes: 1 addition & 1 deletion ecdsa/rfc6979.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import hmac
from binascii import hexlify
from .util import number_to_string, number_to_string_crop
from .six import b
from six import b

try:
bin(0)
Expand Down
Loading