From 38fca4a83d0d9a284522d523e572668ca34de715 Mon Sep 17 00:00:00 2001 From: matejcik Date: Fri, 26 Nov 2021 15:50:43 +0100 Subject: [PATCH] chore(python): regenerate GNU copyright headers --- .../helper-scripts/bump-required-fw-versions.py | 17 +++++++++++++++++ python/helper-scripts/make-options-rst.py | 16 ++++++++++++++++ python/helper-scripts/relicence.py | 16 ++++++++++++++++ python/setup.py | 17 +++++++++++++++++ python/src/trezorlib/__init__.py | 16 ++++++++++++++++ python/src/trezorlib/_internal/emulator.py | 2 +- .../src/trezorlib/_internal/firmware_headers.py | 16 ++++++++++++++++ python/src/trezorlib/binance.py | 2 +- python/src/trezorlib/btc.py | 2 +- python/src/trezorlib/cardano.py | 2 +- python/src/trezorlib/cli/__init__.py | 2 +- python/src/trezorlib/cli/binance.py | 2 +- python/src/trezorlib/cli/btc.py | 2 +- python/src/trezorlib/cli/cardano.py | 2 +- python/src/trezorlib/cli/cosi.py | 2 +- python/src/trezorlib/cli/crypto.py | 2 +- python/src/trezorlib/cli/debug.py | 2 +- python/src/trezorlib/cli/device.py | 2 +- python/src/trezorlib/cli/eos.py | 2 +- python/src/trezorlib/cli/ethereum.py | 2 +- python/src/trezorlib/cli/fido.py | 2 +- python/src/trezorlib/cli/firmware.py | 2 +- python/src/trezorlib/cli/monero.py | 2 +- python/src/trezorlib/cli/nem.py | 2 +- python/src/trezorlib/cli/ripple.py | 2 +- python/src/trezorlib/cli/settings.py | 2 +- python/src/trezorlib/cli/stellar.py | 2 +- python/src/trezorlib/cli/tezos.py | 2 +- python/src/trezorlib/cli/trezorctl.py | 2 +- python/src/trezorlib/client.py | 2 +- python/src/trezorlib/cosi.py | 2 +- python/src/trezorlib/debuglink.py | 2 +- python/src/trezorlib/device.py | 2 +- python/src/trezorlib/eos.py | 2 +- python/src/trezorlib/ethereum.py | 2 +- python/src/trezorlib/exceptions.py | 3 +-- python/src/trezorlib/fido.py | 2 +- python/src/trezorlib/firmware.py | 2 +- python/src/trezorlib/log.py | 2 +- python/src/trezorlib/mapping.py | 2 +- python/src/trezorlib/misc.py | 2 +- python/src/trezorlib/monero.py | 2 +- python/src/trezorlib/nem.py | 2 +- python/src/trezorlib/protobuf.py | 2 +- python/src/trezorlib/qt/pinmatrix.py | 2 +- python/src/trezorlib/ripple.py | 2 +- python/src/trezorlib/stellar.py | 3 ++- python/src/trezorlib/tezos.py | 2 +- python/src/trezorlib/toif.py | 16 ++++++++++++++++ python/src/trezorlib/tools.py | 2 +- python/src/trezorlib/transport/__init__.py | 2 +- python/src/trezorlib/transport/bridge.py | 2 +- python/src/trezorlib/transport/hid.py | 2 +- python/src/trezorlib/transport/protocol.py | 2 +- python/src/trezorlib/transport/udp.py | 2 +- python/src/trezorlib/transport/webusb.py | 2 +- python/src/trezorlib/ui.py | 2 +- python/tests/test_btc.py | 2 +- python/tests/test_cosi.py | 2 +- python/tests/test_nem.py | 2 +- python/tests/test_protobuf_encoding.py | 2 +- python/tests/test_protobuf_misc.py | 2 +- python/tests/test_stellar.py | 3 ++- python/tests/test_tools.py | 2 +- python/tests/test_transport.py | 2 +- python/tools/build_tx.py | 3 ++- python/tools/deserialize_tx.py | 16 ++++++++++++++++ python/tools/encfs_aes_getpass.py | 17 +++++++++++++++++ python/tools/firmware-fingerprint.py | 16 ++++++++++++++++ python/tools/helloworld.py | 17 +++++++++++++++++ python/tools/mem_flashblock.py | 17 +++++++++++++++++ python/tools/mem_read.py | 17 +++++++++++++++++ python/tools/mem_write.py | 17 +++++++++++++++++ python/tools/mnemonic_check.py | 17 +++++++++++++++++ python/tools/pwd_reader.py | 17 +++++++++++++++++ python/tools/trezor-otp.py | 17 +++++++++++++++++ 76 files changed, 344 insertions(+), 60 deletions(-) diff --git a/python/helper-scripts/bump-required-fw-versions.py b/python/helper-scripts/bump-required-fw-versions.py index 44e8eda32..a59529f4d 100755 --- a/python/helper-scripts/bump-required-fw-versions.py +++ b/python/helper-scripts/bump-required-fw-versions.py @@ -1,4 +1,21 @@ #!/usr/bin/env python3 + +# This file is part of the Trezor project. +# +# Copyright (C) 2012-2022 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 . + import os from typing import Iterable, List diff --git a/python/helper-scripts/make-options-rst.py b/python/helper-scripts/make-options-rst.py index 8f36d5561..753ca61da 100755 --- a/python/helper-scripts/make-options-rst.py +++ b/python/helper-scripts/make-options-rst.py @@ -1,5 +1,21 @@ #!/usr/bin/env python3 +# This file is part of the Trezor project. +# +# Copyright (C) 2012-2022 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 . + import os from typing import List diff --git a/python/helper-scripts/relicence.py b/python/helper-scripts/relicence.py index 496085e82..b378b17b5 100755 --- a/python/helper-scripts/relicence.py +++ b/python/helper-scripts/relicence.py @@ -1,5 +1,21 @@ #!/usr/bin/env python3 +# This file is part of the Trezor project. +# +# Copyright (C) 2012-2022 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 . + import glob import os import sys diff --git a/python/setup.py b/python/setup.py index 5a27b604c..dd53a3b96 100755 --- a/python/setup.py +++ b/python/setup.py @@ -1,4 +1,21 @@ #!/usr/bin/env python3 + +# This file is part of the Trezor project. +# +# Copyright (C) 2012-2022 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 . + import os.path import re diff --git a/python/src/trezorlib/__init__.py b/python/src/trezorlib/__init__.py index 6db406059..c3c862f89 100644 --- a/python/src/trezorlib/__init__.py +++ b/python/src/trezorlib/__init__.py @@ -1,3 +1,19 @@ +# This file is part of the Trezor project. +# +# Copyright (C) 2012-2022 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 . + __version__ = "0.13.0" # fmt: off diff --git a/python/src/trezorlib/_internal/emulator.py b/python/src/trezorlib/_internal/emulator.py index c79684af6..1643d44d8 100644 --- a/python/src/trezorlib/_internal/emulator.py +++ b/python/src/trezorlib/_internal/emulator.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/_internal/firmware_headers.py b/python/src/trezorlib/_internal/firmware_headers.py index ba14b7964..e935f7817 100644 --- a/python/src/trezorlib/_internal/firmware_headers.py +++ b/python/src/trezorlib/_internal/firmware_headers.py @@ -1,3 +1,19 @@ +# This file is part of the Trezor project. +# +# Copyright (C) 2012-2022 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 . + import struct from enum import Enum from hashlib import blake2s diff --git a/python/src/trezorlib/binance.py b/python/src/trezorlib/binance.py index f1defc8e5..ae7aa300d 100644 --- a/python/src/trezorlib/binance.py +++ b/python/src/trezorlib/binance.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/btc.py b/python/src/trezorlib/btc.py index 316e27be9..1dff24880 100644 --- a/python/src/trezorlib/btc.py +++ b/python/src/trezorlib/btc.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/cardano.py b/python/src/trezorlib/cardano.py index f98940a11..88c08867f 100644 --- a/python/src/trezorlib/cardano.py +++ b/python/src/trezorlib/cardano.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/cli/__init__.py b/python/src/trezorlib/cli/__init__.py index 9a4682617..2d27d6480 100644 --- a/python/src/trezorlib/cli/__init__.py +++ b/python/src/trezorlib/cli/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/cli/binance.py b/python/src/trezorlib/cli/binance.py index b84d7b255..c9ba0752d 100644 --- a/python/src/trezorlib/cli/binance.py +++ b/python/src/trezorlib/cli/binance.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/cli/btc.py b/python/src/trezorlib/cli/btc.py index 30632ac81..697acbf05 100644 --- a/python/src/trezorlib/cli/btc.py +++ b/python/src/trezorlib/cli/btc.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/cli/cardano.py b/python/src/trezorlib/cli/cardano.py index ea09e5831..0d8156a1f 100644 --- a/python/src/trezorlib/cli/cardano.py +++ b/python/src/trezorlib/cli/cardano.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/cli/cosi.py b/python/src/trezorlib/cli/cosi.py index 68de739bf..8f9e9aeba 100644 --- a/python/src/trezorlib/cli/cosi.py +++ b/python/src/trezorlib/cli/cosi.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/cli/crypto.py b/python/src/trezorlib/cli/crypto.py index d95861a27..a390bd6d9 100644 --- a/python/src/trezorlib/cli/crypto.py +++ b/python/src/trezorlib/cli/crypto.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/cli/debug.py b/python/src/trezorlib/cli/debug.py index 4a2fdefd1..285bc5284 100644 --- a/python/src/trezorlib/cli/debug.py +++ b/python/src/trezorlib/cli/debug.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/cli/device.py b/python/src/trezorlib/cli/device.py index 08946e6f4..ed9b6bf1d 100644 --- a/python/src/trezorlib/cli/device.py +++ b/python/src/trezorlib/cli/device.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/cli/eos.py b/python/src/trezorlib/cli/eos.py index cd9ee890c..7f7cf676f 100644 --- a/python/src/trezorlib/cli/eos.py +++ b/python/src/trezorlib/cli/eos.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/cli/ethereum.py b/python/src/trezorlib/cli/ethereum.py index 842f977ed..12af45c30 100644 --- a/python/src/trezorlib/cli/ethereum.py +++ b/python/src/trezorlib/cli/ethereum.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/cli/fido.py b/python/src/trezorlib/cli/fido.py index 05ae4e135..5983c5724 100644 --- a/python/src/trezorlib/cli/fido.py +++ b/python/src/trezorlib/cli/fido.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/cli/firmware.py b/python/src/trezorlib/cli/firmware.py index 843e918a5..3dfb07156 100644 --- a/python/src/trezorlib/cli/firmware.py +++ b/python/src/trezorlib/cli/firmware.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/cli/monero.py b/python/src/trezorlib/cli/monero.py index 0a59e6f00..451c2b30d 100644 --- a/python/src/trezorlib/cli/monero.py +++ b/python/src/trezorlib/cli/monero.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/cli/nem.py b/python/src/trezorlib/cli/nem.py index b34034ae8..5facba725 100644 --- a/python/src/trezorlib/cli/nem.py +++ b/python/src/trezorlib/cli/nem.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/cli/ripple.py b/python/src/trezorlib/cli/ripple.py index e825850ad..56206ae69 100644 --- a/python/src/trezorlib/cli/ripple.py +++ b/python/src/trezorlib/cli/ripple.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/cli/settings.py b/python/src/trezorlib/cli/settings.py index c2722ee75..b3a51d791 100644 --- a/python/src/trezorlib/cli/settings.py +++ b/python/src/trezorlib/cli/settings.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/cli/stellar.py b/python/src/trezorlib/cli/stellar.py index abfd5cfd0..d9c9fb6a4 100644 --- a/python/src/trezorlib/cli/stellar.py +++ b/python/src/trezorlib/cli/stellar.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/cli/tezos.py b/python/src/trezorlib/cli/tezos.py index 15e675e0c..5e063c23a 100644 --- a/python/src/trezorlib/cli/tezos.py +++ b/python/src/trezorlib/cli/tezos.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/cli/trezorctl.py b/python/src/trezorlib/cli/trezorctl.py index b369efbe2..69a769032 100755 --- a/python/src/trezorlib/cli/trezorctl.py +++ b/python/src/trezorlib/cli/trezorctl.py @@ -2,7 +2,7 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/client.py b/python/src/trezorlib/client.py index 9ab596581..18d860fde 100644 --- a/python/src/trezorlib/client.py +++ b/python/src/trezorlib/client.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/cosi.py b/python/src/trezorlib/cosi.py index 4717d99c8..fbcf603eb 100644 --- a/python/src/trezorlib/cosi.py +++ b/python/src/trezorlib/cosi.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/debuglink.py b/python/src/trezorlib/debuglink.py index 50a9bc16c..412742e15 100644 --- a/python/src/trezorlib/debuglink.py +++ b/python/src/trezorlib/debuglink.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/device.py b/python/src/trezorlib/device.py index 0f11aa2ac..6f632d1af 100644 --- a/python/src/trezorlib/device.py +++ b/python/src/trezorlib/device.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/eos.py b/python/src/trezorlib/eos.py index aaa115b2f..b23fa7842 100644 --- a/python/src/trezorlib/eos.py +++ b/python/src/trezorlib/eos.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/ethereum.py b/python/src/trezorlib/ethereum.py index 59c620ef0..fe0bbe6ec 100644 --- a/python/src/trezorlib/ethereum.py +++ b/python/src/trezorlib/ethereum.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/exceptions.py b/python/src/trezorlib/exceptions.py index 3cee9ab27..fd7133d12 100644 --- a/python/src/trezorlib/exceptions.py +++ b/python/src/trezorlib/exceptions.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 @@ -14,7 +14,6 @@ # You should have received a copy of the License along with this library. # If not, see . - from typing import TYPE_CHECKING if TYPE_CHECKING: diff --git a/python/src/trezorlib/fido.py b/python/src/trezorlib/fido.py index a8eb42e3e..4ed6f2295 100644 --- a/python/src/trezorlib/fido.py +++ b/python/src/trezorlib/fido.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/firmware.py b/python/src/trezorlib/firmware.py index bda8730ae..161faf828 100644 --- a/python/src/trezorlib/firmware.py +++ b/python/src/trezorlib/firmware.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/log.py b/python/src/trezorlib/log.py index 9845709cd..9cc4a6b9a 100644 --- a/python/src/trezorlib/log.py +++ b/python/src/trezorlib/log.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/mapping.py b/python/src/trezorlib/mapping.py index 6000ee632..e8fb60edb 100644 --- a/python/src/trezorlib/mapping.py +++ b/python/src/trezorlib/mapping.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/misc.py b/python/src/trezorlib/misc.py index f982449d5..6399675a8 100644 --- a/python/src/trezorlib/misc.py +++ b/python/src/trezorlib/misc.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/monero.py b/python/src/trezorlib/monero.py index eaa254ebd..4414b7ab3 100644 --- a/python/src/trezorlib/monero.py +++ b/python/src/trezorlib/monero.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/nem.py b/python/src/trezorlib/nem.py index 15f219b9a..63442066a 100644 --- a/python/src/trezorlib/nem.py +++ b/python/src/trezorlib/nem.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/protobuf.py b/python/src/trezorlib/protobuf.py index d9062b57a..c22e855a1 100644 --- a/python/src/trezorlib/protobuf.py +++ b/python/src/trezorlib/protobuf.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/qt/pinmatrix.py b/python/src/trezorlib/qt/pinmatrix.py index 6f59448a1..98571f8c6 100644 --- a/python/src/trezorlib/qt/pinmatrix.py +++ b/python/src/trezorlib/qt/pinmatrix.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/ripple.py b/python/src/trezorlib/ripple.py index 35a0ec3d1..ad421b2ca 100644 --- a/python/src/trezorlib/ripple.py +++ b/python/src/trezorlib/ripple.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/stellar.py b/python/src/trezorlib/stellar.py index c4eea39c8..1cb0c99b8 100644 --- a/python/src/trezorlib/stellar.py +++ b/python/src/trezorlib/stellar.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 @@ -13,6 +13,7 @@ # # You should have received a copy of the License along with this library. # If not, see . + from decimal import Decimal from typing import TYPE_CHECKING, List, Tuple, Union diff --git a/python/src/trezorlib/tezos.py b/python/src/trezorlib/tezos.py index 4deeffb95..7e7e63f2c 100644 --- a/python/src/trezorlib/tezos.py +++ b/python/src/trezorlib/tezos.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/toif.py b/python/src/trezorlib/toif.py index 9b9cf249d..43e52f0e0 100644 --- a/python/src/trezorlib/toif.py +++ b/python/src/trezorlib/toif.py @@ -1,3 +1,19 @@ +# This file is part of the Trezor project. +# +# Copyright (C) 2012-2022 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 . + import struct import zlib from dataclasses import dataclass diff --git a/python/src/trezorlib/tools.py b/python/src/trezorlib/tools.py index bea797668..6680d6a99 100644 --- a/python/src/trezorlib/tools.py +++ b/python/src/trezorlib/tools.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/transport/__init__.py b/python/src/trezorlib/transport/__init__.py index f5da72963..8508e42b2 100644 --- a/python/src/trezorlib/transport/__init__.py +++ b/python/src/trezorlib/transport/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/transport/bridge.py b/python/src/trezorlib/transport/bridge.py index 6b152ba2c..e38551607 100644 --- a/python/src/trezorlib/transport/bridge.py +++ b/python/src/trezorlib/transport/bridge.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/transport/hid.py b/python/src/trezorlib/transport/hid.py index c6d0c8474..06e22afb8 100644 --- a/python/src/trezorlib/transport/hid.py +++ b/python/src/trezorlib/transport/hid.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/transport/protocol.py b/python/src/trezorlib/transport/protocol.py index da3806cd7..9069650f5 100644 --- a/python/src/trezorlib/transport/protocol.py +++ b/python/src/trezorlib/transport/protocol.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/transport/udp.py b/python/src/trezorlib/transport/udp.py index ebc9433ba..5f4225945 100644 --- a/python/src/trezorlib/transport/udp.py +++ b/python/src/trezorlib/transport/udp.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/transport/webusb.py b/python/src/trezorlib/transport/webusb.py index b1074cf72..cde54c08d 100644 --- a/python/src/trezorlib/transport/webusb.py +++ b/python/src/trezorlib/transport/webusb.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/src/trezorlib/ui.py b/python/src/trezorlib/ui.py index d5b1fadb4..6deb0a3c5 100644 --- a/python/src/trezorlib/ui.py +++ b/python/src/trezorlib/ui.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/tests/test_btc.py b/python/tests/test_btc.py index d4491aada..37b75c178 100644 --- a/python/tests/test_btc.py +++ b/python/tests/test_btc.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/tests/test_cosi.py b/python/tests/test_cosi.py index e58b6b1bf..79e436923 100644 --- a/python/tests/test_cosi.py +++ b/python/tests/test_cosi.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/tests/test_nem.py b/python/tests/test_nem.py index fd52f3e3c..f27f647c7 100644 --- a/python/tests/test_nem.py +++ b/python/tests/test_nem.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/tests/test_protobuf_encoding.py b/python/tests/test_protobuf_encoding.py index 8f3d99827..bb2d68b85 100644 --- a/python/tests/test_protobuf_encoding.py +++ b/python/tests/test_protobuf_encoding.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/tests/test_protobuf_misc.py b/python/tests/test_protobuf_misc.py index 9cb1bde68..b23bf23ea 100644 --- a/python/tests/test_protobuf_misc.py +++ b/python/tests/test_protobuf_misc.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/tests/test_stellar.py b/python/tests/test_stellar.py index f6667b32e..e33f2c14e 100644 --- a/python/tests/test_stellar.py +++ b/python/tests/test_stellar.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2021 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 @@ -13,6 +13,7 @@ # # You should have received a copy of the License along with this library. # If not, see . + import pytest from stellar_sdk import ( Account, diff --git a/python/tests/test_tools.py b/python/tests/test_tools.py index a02b79123..d1b2e373d 100644 --- a/python/tests/test_tools.py +++ b/python/tests/test_tools.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2019-2020 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/tests/test_transport.py b/python/tests/test_transport.py index ff3a0cf40..9a5a747ba 100644 --- a/python/tests/test_transport.py +++ b/python/tests/test_transport.py @@ -1,6 +1,6 @@ # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/tools/build_tx.py b/python/tools/build_tx.py index f474b2a12..12aabc768 100755 --- a/python/tools/build_tx.py +++ b/python/tools/build_tx.py @@ -1,7 +1,8 @@ #!/usr/bin/env python3 + # This file is part of the Trezor project. # -# Copyright (C) 2012-2019 SatoshiLabs and contributors +# Copyright (C) 2012-2022 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 diff --git a/python/tools/deserialize_tx.py b/python/tools/deserialize_tx.py index 903de0acb..6430f4684 100755 --- a/python/tools/deserialize_tx.py +++ b/python/tools/deserialize_tx.py @@ -1,5 +1,21 @@ #!/usr/bin/env python3 +# This file is part of the Trezor project. +# +# Copyright (C) 2012-2022 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 . + import os import sys from typing import Any, Optional diff --git a/python/tools/encfs_aes_getpass.py b/python/tools/encfs_aes_getpass.py index 3f2fa8173..82773e50f 100755 --- a/python/tools/encfs_aes_getpass.py +++ b/python/tools/encfs_aes_getpass.py @@ -1,4 +1,21 @@ #!/usr/bin/env python3 + +# This file is part of the Trezor project. +# +# Copyright (C) 2012-2022 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 . + """ Use Trezor as a hardware key for opening EncFS filesystem! diff --git a/python/tools/firmware-fingerprint.py b/python/tools/firmware-fingerprint.py index 1afe31936..33f5c84de 100755 --- a/python/tools/firmware-fingerprint.py +++ b/python/tools/firmware-fingerprint.py @@ -1,5 +1,21 @@ #!/usr/bin/env python3 +# This file is part of the Trezor project. +# +# Copyright (C) 2012-2022 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 . + import sys from typing import BinaryIO, TextIO diff --git a/python/tools/helloworld.py b/python/tools/helloworld.py index 38409cb6e..b2e947e33 100755 --- a/python/tools/helloworld.py +++ b/python/tools/helloworld.py @@ -1,4 +1,21 @@ #!/usr/bin/env python3 + +# This file is part of the Trezor project. +# +# Copyright (C) 2012-2022 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 . + from trezorlib import btc from trezorlib.client import get_default_client from trezorlib.tools import parse_path diff --git a/python/tools/mem_flashblock.py b/python/tools/mem_flashblock.py index a407e281b..48b69ae03 100755 --- a/python/tools/mem_flashblock.py +++ b/python/tools/mem_flashblock.py @@ -1,4 +1,21 @@ #!/usr/bin/env python3 + +# This file is part of the Trezor project. +# +# Copyright (C) 2012-2022 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 . + import sys from trezorlib.debuglink import DebugLink diff --git a/python/tools/mem_read.py b/python/tools/mem_read.py index 7a7e26900..380f9818b 100755 --- a/python/tools/mem_read.py +++ b/python/tools/mem_read.py @@ -1,4 +1,21 @@ #!/usr/bin/env python3 + +# This file is part of the Trezor project. +# +# Copyright (C) 2012-2022 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 . + import sys from trezorlib.debuglink import DebugLink diff --git a/python/tools/mem_write.py b/python/tools/mem_write.py index daaac2cd8..c1433a26f 100755 --- a/python/tools/mem_write.py +++ b/python/tools/mem_write.py @@ -1,4 +1,21 @@ #!/usr/bin/env python3 + +# This file is part of the Trezor project. +# +# Copyright (C) 2012-2022 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 . + import sys from trezorlib.debuglink import DebugLink diff --git a/python/tools/mnemonic_check.py b/python/tools/mnemonic_check.py index 5e5abdb1d..3a4f6416a 100755 --- a/python/tools/mnemonic_check.py +++ b/python/tools/mnemonic_check.py @@ -1,4 +1,21 @@ #!/usr/bin/env python3 + +# This file is part of the Trezor project. +# +# Copyright (C) 2012-2022 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 . + import hashlib import mnemonic diff --git a/python/tools/pwd_reader.py b/python/tools/pwd_reader.py index 5aea474fd..afd405e16 100755 --- a/python/tools/pwd_reader.py +++ b/python/tools/pwd_reader.py @@ -1,4 +1,21 @@ #!/usr/bin/env python3 + +# This file is part of the Trezor project. +# +# Copyright (C) 2012-2022 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 . + import hashlib import hmac import json diff --git a/python/tools/trezor-otp.py b/python/tools/trezor-otp.py index a99a038ea..929a9f745 100755 --- a/python/tools/trezor-otp.py +++ b/python/tools/trezor-otp.py @@ -1,4 +1,21 @@ #!/usr/bin/env python3 + +# This file is part of the Trezor project. +# +# Copyright (C) 2012-2022 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 . + import configparser import os import re