1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 07:28:10 +00:00

regenerate license headers

This clarifies the intent: the project is licenced under terms
of LGPL version 3 only, but the standard headers cover only "3 or later",
so we had to rewrite them.

In the same step, we removed author information from individual files
in favor of "SatoshiLabs and contributors", and include an AUTHORS
file that lists the contributors.

Apologies to those whose names are missing; please contact us if you wish
to add your info to the AUTHORS file.
This commit is contained in:
matejcik 2018-06-21 16:28:34 +02:00
parent 929a1046e2
commit 54f1599a5a
98 changed files with 755 additions and 646 deletions

19
AUTHORS Normal file
View File

@ -0,0 +1,19 @@
python-trezor is free software, created in 2012 and maintained by SatoshiLabs
as part of the Trezor project.
Over the years, many people have contributed to the project. Here is an incomplete
list of credits:
alepop <https://github.com/alepop>
Jan 'matejcik' Matějek <jan.matejek@satoshilabs.com>
Jan Pochyla <jan.pochyla@satoshilabs.com>
Jochen Hoenicke <hoenicke@gmail.com>
Karel Bílek <karel.bilek@satoshilabs.com>
Marek Palatinus <slush@satoshilabs.com>
mruddy <https://github.com/mruddy>
Pavol Rusnak <stick@satoshilabs.com>
Peter van Mourik <https://github.com/tyrion70>
Roman Zeyde <https://github.com/romanz>
Saleem Rashid <trezor@saleemrashid.com>
Tomáš Sušánka <tomas.susanka@satoshilabs.com>
ZuluCrypto <https://github.com/zulucrypto>

View File

@ -1,9 +1,9 @@
recursive-include bash_completion.d *.sh recursive-include bash_completion.d *.sh
include tools/* include tools/*
include trezorlib/tests/txcache/*.json recursive-include trezorlib *
recursive-include vendor/trezor-common * recursive-include vendor/trezor-common *
exclude vendor/trezor-common/.* exclude vendor/trezor-common/.*
include COPYING CHANGELOG.md include AUTHORS README.md COPYING CHANGELOG.md
include requirements*.txt include requirements*.txt

View File

@ -83,6 +83,7 @@ setup(
version=VERSION, version=VERSION,
author='TREZOR', author='TREZOR',
author_email='info@trezor.io', author_email='info@trezor.io',
license='LGPLv3',
description='Python library for communicating with TREZOR Hardware Wallet', description='Python library for communicating with TREZOR Hardware Wallet',
long_description='{}\n\n{}'.format( long_description='{}\n\n{}'.format(
read('README.md'), read('README.md'),

View File

@ -1,3 +1,19 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2018 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the License along with this library.
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import warnings import warnings
warnings.warn("ckd_public module is deprecated and will be removed", DeprecationWarning) warnings.warn("ckd_public module is deprecated and will be removed", DeprecationWarning)

View File

@ -1,21 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# Copyright (C) 2016 Jochen Hoenicke <hoenicke@gmail.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import functools import functools
import logging import logging

View File

@ -1,3 +1,19 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2018 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the License along with this library.
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import os.path import os.path
import json import json

View File

@ -1,3 +1,19 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2018 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the License along with this library.
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import sys import sys
from functools import reduce from functools import reduce
import binascii import binascii

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from __future__ import print_function from __future__ import print_function

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2017 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2017 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import warnings import warnings

View File

@ -1,3 +1,19 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2018 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the License along with this library.
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import logging import logging
from typing import Set, Type, Optional from typing import Set, Type, Optional

View File

@ -1,21 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# Copyright (C) 2016 Jochen Hoenicke <hoenicke@gmail.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from . import messages from . import messages
from . import protobuf from . import protobuf

View File

@ -1,3 +1,19 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2018 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the License along with this library.
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import binascii import binascii
import json import json
from . import messages as proto from . import messages as proto

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
''' '''
Extremely minimal streaming codec for a subset of protobuf. Supports uint32, Extremely minimal streaming codec for a subset of protobuf. Supports uint32,

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from __future__ import absolute_import from __future__ import absolute_import

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from __future__ import absolute_import from __future__ import absolute_import

View File

@ -1,3 +1,19 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2018 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the License along with this library.
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from __future__ import print_function from __future__ import print_function
import sys import sys
import math import math

View File

@ -1,3 +1,19 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2018 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the License along with this library.
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import base64 import base64
import struct import struct
import xdrlib import xdrlib

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import os import os

View File

@ -1,3 +1,19 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2018 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the License along with this library.
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import functools import functools
import os import os
import pytest import pytest

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from .common import TrezorTest from .common import TrezorTest

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import time import time
import pytest import pytest

View File

@ -1,3 +1,19 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2018 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the License along with this library.
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import pytest import pytest
from .conftest import setup_client from .conftest import setup_client

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import pytest import pytest
from hashlib import sha256 from hashlib import sha256

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import pytest import pytest
from .common import TrezorTest from .common import TrezorTest

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import pytest import pytest
from .common import TrezorTest from .common import TrezorTest

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import pytest import pytest
from .common import TrezorTest from .common import TrezorTest

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import hexlify, unhexlify from binascii import hexlify, unhexlify
import pytest import pytest

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import pytest import pytest
from .common import TrezorTest from .common import TrezorTest

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import hexlify from binascii import hexlify
import pytest import pytest

View File

@ -1,19 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2016-2017 Pavol Rusnak <stick@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import hexlify from binascii import hexlify
import pytest import pytest

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import unhexlify, hexlify from binascii import unhexlify, hexlify
import pytest import pytest

View File

@ -1,19 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2016-2017 Pavol Rusnak <stick@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import unhexlify from binascii import unhexlify
import pytest import pytest

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import pytest import pytest

View File

@ -1,19 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2016-2017 Pavol Rusnak <stick@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from .common import TrezorTest from .common import TrezorTest
from ..support import ckd_public as bip32 from ..support import ckd_public as bip32

View File

@ -1,19 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2016-2017 Pavol Rusnak <stick@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from .common import TrezorTest from .common import TrezorTest
from ..support import ckd_public as bip32 from ..support import ckd_public as bip32

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from .common import TrezorTest from .common import TrezorTest
from ..support import ckd_public as bip32 from ..support import ckd_public as bip32

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import unhexlify from binascii import unhexlify
from .common import TrezorTest from .common import TrezorTest

View File

@ -1,21 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import math import math
from .common import TrezorTest from .common import TrezorTest

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from .common import TrezorTest from .common import TrezorTest
from ..support import ckd_public as bip32 from ..support import ckd_public as bip32

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import hexlify from binascii import hexlify
import pytest import pytest

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import pytest import pytest

View File

@ -1,19 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2016-2017 Pavol Rusnak <stick@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import hexlify from binascii import hexlify
import pytest import pytest

View File

@ -1,19 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2016-2017 Pavol Rusnak <stick@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import hexlify from binascii import hexlify
import pytest import pytest

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import unhexlify from binascii import unhexlify
import pytest import pytest

View File

@ -1,19 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2016-2017 Pavol Rusnak <stick@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import unhexlify from binascii import unhexlify
import pytest import pytest

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import pytest import pytest
from .common import TrezorTest from .common import TrezorTest

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import pytest import pytest
from .common import TrezorTest from .common import TrezorTest

View File

@ -1,19 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2017 Saleem Rashid <trezor@saleemrashid.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import pytest import pytest

View File

@ -1,19 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2017 Saleem Rashid <trezor@saleemrashid.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import pytest import pytest
from binascii import hexlify from binascii import hexlify

View File

@ -1,19 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2017 Saleem Rashid <trezor@saleemrashid.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import hexlify from binascii import hexlify
import pytest import pytest

View File

@ -1,19 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2017 Saleem Rashid <trezor@saleemrashid.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import hexlify from binascii import hexlify
import pytest import pytest

View File

@ -1,19 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2017 Saleem Rashid <trezor@saleemrashid.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import hexlify from binascii import hexlify
import pytest import pytest

View File

@ -1,19 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2017 Saleem Rashid <trezor@saleemrashid.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import hexlify, unhexlify from binascii import hexlify, unhexlify
import pytest import pytest

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import pytest import pytest
from .common import TrezorTest from .common import TrezorTest

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import pytest import pytest
from .common import TrezorTest from .common import TrezorTest

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import pytest import pytest

View File

@ -1,21 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import time import time

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import pytest import pytest
from .common import TrezorTest, generate_entropy from .common import TrezorTest, generate_entropy

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import pytest import pytest
from .common import TrezorTest, generate_entropy from .common import TrezorTest, generate_entropy

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import time import time
import pytest import pytest

View File

@ -1,21 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import struct import struct
from binascii import hexlify, unhexlify from binascii import hexlify, unhexlify

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import hexlify from binascii import hexlify
from .common import TrezorTest from .common import TrezorTest

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import hexlify from binascii import hexlify
from .common import TrezorTest from .common import TrezorTest

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import hexlify from binascii import hexlify
from .common import TrezorTest from .common import TrezorTest

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import hexlify, unhexlify from binascii import hexlify, unhexlify
import pytest import pytest

View File

@ -1,19 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2017 Jochen Hoenicke <hoenicke@gmail.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import pytest import pytest
from binascii import hexlify, unhexlify from binascii import hexlify, unhexlify

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import pytest import pytest
from binascii import hexlify, unhexlify from binascii import hexlify, unhexlify

View File

@ -1,19 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2017 Saleem Rashid <trezor@saleemrashid.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import unhexlify from binascii import unhexlify
import pytest import pytest

View File

@ -1,19 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2017 Jochen Hoenicke <hoenicke@gmail.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import hexlify, unhexlify from binascii import hexlify, unhexlify
import pytest import pytest

View File

@ -1,19 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2017 Jochen Hoenicke <hoenicke@gmail.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import hexlify, unhexlify from binascii import hexlify, unhexlify

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import unhexlify, hexlify from binascii import unhexlify, hexlify
import pytest import pytest

View File

@ -1,17 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
#
# Copyright (C) 2012-2018 SatoshiLabs and contributors
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import pytest import pytest
from .common import TrezorTest from .common import TrezorTest

View File

@ -1,17 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
#
# Copyright (C) 2012-2018 SatoshiLabs and contributors
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import pytest import pytest
from .common import TrezorTest from .common import TrezorTest

View File

@ -1,18 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
#
# Copyright (C) 2012-2018 SatoshiLabs and contributors
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
#
# XDR decoding tool available at: # XDR decoding tool available at:
# https://www.stellar.org/laboratory/#xdr-viewer # https://www.stellar.org/laboratory/#xdr-viewer
# #

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import unhexlify from binascii import unhexlify
from .common import TrezorTest from .common import TrezorTest

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import unhexlify from binascii import unhexlify
from .common import TrezorTest from .common import TrezorTest

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import unhexlify from binascii import unhexlify
from .common import TrezorTest from .common import TrezorTest

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from .common import TrezorTest from .common import TrezorTest

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import hexlify, unhexlify from binascii import hexlify, unhexlify
import pytest import pytest

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import hexlify, unhexlify from binascii import hexlify, unhexlify

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import unhexlify, hexlify from binascii import unhexlify, hexlify
import pytest import pytest

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import time import time
import pytest import pytest

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import unhexlify from binascii import unhexlify
import pytest import pytest

View File

@ -1,20 +1,19 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from binascii import unhexlify from binascii import unhexlify
from .common import TrezorTest from .common import TrezorTest

View File

@ -1,21 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# Copyright (C) 2016 Jochen Hoenicke <hoenicke@gmail.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import struct import struct
import hmac import hmac

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from ..support import ckd_public from ..support import ckd_public

View File

@ -1,3 +1,19 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2018 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the License along with this library.
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import binascii import binascii
import hashlib import hashlib
import pytest import pytest

View File

@ -1,3 +1,19 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2018 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the License along with this library.
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import binascii import binascii
from trezorlib import nem from trezorlib import nem

View File

@ -1,3 +1,19 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2018 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the License along with this library.
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
from io import BytesIO from io import BytesIO
import pytest import pytest

View File

@ -1,3 +1,19 @@
# This file is part of the Trezor project.
#
# Copyright (C) 2012-2018 SatoshiLabs and contributors
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the License along with this library.
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import mock import mock
from trezorlib.transport import all_transports from trezorlib.transport import all_transports

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import os import os

View File

@ -1,21 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# Copyright (C) 2016 Jochen Hoenicke <hoenicke@gmail.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import hashlib import hashlib
import struct import struct

View File

@ -1,21 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# Copyright (C) 2016 Jochen Hoenicke <hoenicke@gmail.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import importlib import importlib
import logging import logging

View File

@ -1,21 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# Copyright (C) 2016 Jochen Hoenicke <hoenicke@gmail.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import logging import logging
import requests import requests

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import time import time
import hid import hid

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import os import os
import socket import socket

View File

@ -1,20 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import time import time
import os import os

View File

@ -1,21 +1,18 @@
# This file is part of the TREZOR project. # This file is part of the Trezor project.
# #
# Copyright (C) 2012-2016 Marek Palatinus <slush@satoshilabs.com> # Copyright (C) 2012-2018 SatoshiLabs and contributors
# Copyright (C) 2012-2016 Pavol Rusnak <stick@satoshilabs.com>
# Copyright (C) 2016 Jochen Hoenicke <hoenicke@gmail.com>
# #
# This library is free software: you can redistribute it and/or modify # This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by # it under the terms of the GNU Lesser General Public License version 3
# the Free Software Foundation, either version 3 of the License, or # as published by the Free Software Foundation.
# (at your option) any later version.
# #
# This library is distributed in the hope that it will be useful, # This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details. # GNU Lesser General Public License for more details.
# #
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the License along with this library.
# along with this library. If not, see <http://www.gnu.org/licenses/>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import binascii import binascii
from decimal import Decimal from decimal import Decimal