From 8908022b8851f5e6e2782676d7e0ffa7d1b652e4 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Fri, 29 Sep 2023 10:31:20 +0200 Subject: [PATCH] Updated license headers --- RNS/Buffer.py | 22 ++++++++++++++++++++++ RNS/Destination.py | 2 +- RNS/Identity.py | 2 +- RNS/Link.py | 2 +- RNS/Packet.py | 2 +- RNS/Resource.py | 2 +- RNS/Reticulum.py | 2 +- RNS/Transport.py | 2 +- RNS/__init__.py | 3 ++- 9 files changed, 31 insertions(+), 8 deletions(-) diff --git a/RNS/Buffer.py b/RNS/Buffer.py index 078e15e..c9a89a9 100644 --- a/RNS/Buffer.py +++ b/RNS/Buffer.py @@ -1,3 +1,25 @@ +# MIT License +# +# Copyright (c) 2016-2023 Mark Qvist / unsigned.io and contributors. +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + from __future__ import annotations import bz2 import sys diff --git a/RNS/Destination.py b/RNS/Destination.py index 960bcd9..4802257 100755 --- a/RNS/Destination.py +++ b/RNS/Destination.py @@ -1,6 +1,6 @@ # MIT License # -# Copyright (c) 2016-2022 Mark Qvist / unsigned.io +# Copyright (c) 2016-2023 Mark Qvist / unsigned.io and contributors # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/RNS/Identity.py b/RNS/Identity.py index 89b0457..d202afc 100644 --- a/RNS/Identity.py +++ b/RNS/Identity.py @@ -1,6 +1,6 @@ # MIT License # -# Copyright (c) 2016-2022 Mark Qvist / unsigned.io +# Copyright (c) 2016-2023 Mark Qvist / unsigned.io and contributors. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/RNS/Link.py b/RNS/Link.py index 406110e..afc7411 100644 --- a/RNS/Link.py +++ b/RNS/Link.py @@ -1,6 +1,6 @@ # MIT License # -# Copyright (c) 2016-2022 Mark Qvist / unsigned.io +# Copyright (c) 2016-2023 Mark Qvist / unsigned.io and contributors. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/RNS/Packet.py b/RNS/Packet.py index 7a82d64..1b26d07 100755 --- a/RNS/Packet.py +++ b/RNS/Packet.py @@ -1,6 +1,6 @@ # MIT License # -# Copyright (c) 2016-2022 Mark Qvist / unsigned.io +# Copyright (c) 2016-2023 Mark Qvist / unsigned.io and contributors. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/RNS/Resource.py b/RNS/Resource.py index 5b092c2..c0e0f7e 100644 --- a/RNS/Resource.py +++ b/RNS/Resource.py @@ -1,6 +1,6 @@ # MIT License # -# Copyright (c) 2016-2022 Mark Qvist / unsigned.io +# Copyright (c) 2016-2023 Mark Qvist / unsigned.io and contributors. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/RNS/Reticulum.py b/RNS/Reticulum.py index da65187..a40ecf4 100755 --- a/RNS/Reticulum.py +++ b/RNS/Reticulum.py @@ -1,6 +1,6 @@ # MIT License # -# Copyright (c) 2016-2022 Mark Qvist / unsigned.io +# Copyright (c) 2016-2023 Mark Qvist / unsigned.io and contributors. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/RNS/Transport.py b/RNS/Transport.py index 3f28838..648ca42 100755 --- a/RNS/Transport.py +++ b/RNS/Transport.py @@ -1,6 +1,6 @@ # MIT License # -# Copyright (c) 2016-2022 Mark Qvist / unsigned.io +# Copyright (c) 2016-2023 Mark Qvist / unsigned.io and contributors. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/RNS/__init__.py b/RNS/__init__.py index 977d88d..b960939 100755 --- a/RNS/__init__.py +++ b/RNS/__init__.py @@ -1,6 +1,6 @@ # MIT License # -# Copyright (c) 2016-2022 Mark Qvist / unsigned.io +# Copyright (c) 2016-2023 Mark Qvist / unsigned.io and contributors # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -38,6 +38,7 @@ from .Transport import Transport from .Destination import Destination from .Packet import Packet from .Packet import PacketReceipt +from .Resolver import Resolver from .Resource import Resource, ResourceAdvertisement from .Cryptography import HKDF from .Cryptography import Hashes