From 9bdc0e459407eb8fc6d331141494cd3b9a85a93e Mon Sep 17 00:00:00 2001 From: Matt Beckett Date: Mon, 26 Jun 2023 19:30:47 +0100 Subject: [PATCH 1/6] Apply patch from hyperboreanwolfgirl for Windows Server 2022 --- py-kms/KmsDataBase.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/py-kms/KmsDataBase.xml b/py-kms/KmsDataBase.xml index 7ddda6c..511afba 100644 --- a/py-kms/KmsDataBase.xml +++ b/py-kms/KmsDataBase.xml @@ -103,6 +103,10 @@ + + + + @@ -564,6 +568,11 @@ + + + + + From 7ef21abd99a006d49303094434f2d1eaf4bcc713 Mon Sep 17 00:00:00 2001 From: ATENSI Date: Thu, 13 Jul 2023 01:49:56 +0700 Subject: [PATCH 2/6] :memo: Update README.md Replace readthedocs.com to readthedocs.io Modified a sentence as the words don't seem to be in the right order? --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index abf294c..ff489f4 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ This version of _py-kms_ is for itself a fork of the original implementation by - Uses `sqlite` for persistent data storage (with a simple web-based explorer). ## Documentation -The wiki has been completly reworked and is now available on [readthedocs.com](https://py-kms.readthedocs.io/en/latest/). It should you provide all necessary information how to setup and to use _py-kms_ , all without clumping this readme. The documentation also houses more details about activation with _py-kms_ and how to get GVLK keys. +The wiki has been completly reworked and is now available on [readthedocs.io](https://py-kms.readthedocs.io/en/latest/). It should provide you all the necessary information about how to setup and to use _py-kms_ , all without clumping this readme. The documentation also houses more details about activation with _py-kms_ and how to get GVLK keys. ## Quick start - To start the server, execute `python3 pykms_Server.py [IPADDRESS] [PORT]`, the default _IPADDRESS_ is `::` ( all interfaces ) and the default _PORT_ is `1688`. Note that both the address and port are optional. It's allowed to use IPv4 and IPv6 addresses. If you have a IPv6-capable dual-stack OS, a dual-stack socket is created when using a IPv6 address. **In case your OS does not support IPv6, make sure to explicitly specify the legacy IPv4 of `0.0.0.0`!** @@ -46,4 +46,4 @@ The wiki has been completly reworked and is now available on [readthedocs.com](h - To show the help pages type: `python3 pykms_Server.py -h` and `python3 pykms_Client.py -h`. ## License - - _py-kms_ is [![Unlicense](https://img.shields.io/badge/license-unlicense-lightgray.svg)](https://github.com/SystemRage/py-kms/blob/master/LICENSE) \ No newline at end of file + - _py-kms_ is [![Unlicense](https://img.shields.io/badge/license-unlicense-lightgray.svg)](https://github.com/SystemRage/py-kms/blob/master/LICENSE) From 6a096c11c4198323dd81cd14ddfabb0058958231 Mon Sep 17 00:00:00 2001 From: simonmicro Date: Sat, 23 Mar 2024 11:21:54 +0100 Subject: [PATCH 3/6] Changed to relative link Signed-off-by: simonmicro --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ff489f4..0ba649e 100644 --- a/README.md +++ b/README.md @@ -46,4 +46,4 @@ The wiki has been completly reworked and is now available on [readthedocs.io](ht - To show the help pages type: `python3 pykms_Server.py -h` and `python3 pykms_Client.py -h`. ## License - - _py-kms_ is [![Unlicense](https://img.shields.io/badge/license-unlicense-lightgray.svg)](https://github.com/SystemRage/py-kms/blob/master/LICENSE) + - _py-kms_ is [![Unlicense](https://img.shields.io/badge/license-unlicense-lightgray.svg)](./LICENSE) From e8ad9733224997199fe44ee2c9774dee9769e64a Mon Sep 17 00:00:00 2001 From: simonmicro Date: Sun, 19 May 2024 12:49:27 +0200 Subject: [PATCH 4/6] Minor note how to run the web-interface Signed-off-by: simonmicro --- docs/Getting Started.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/Getting Started.md b/docs/Getting Started.md index 6306371..cb1e43e 100644 --- a/docs/Getting Started.md +++ b/docs/Getting Started.md @@ -42,8 +42,8 @@ services: kms: image: ghcr.io/py-kms-organization/py-kms:python3 ports: - - 1688:1688 - - 8080:8080 + - 1688:1688 # kms + - 8080:8080 # web-interface environment: IP: "::" HWID: RANDOM @@ -193,6 +193,9 @@ user@host ~/path/to/folder/py-kms $ python3 pykms_Server.py 192.168.1.102 1688 To stop `pykms_Server.py`, in the same bash window where code running, simply press `CTRL+C`. Alternatively, in a new bash window, use `kill ` command (you can type `ps aux` first and have the process ) or `killall `. +### Web-Interface +As you may have noticed, the Docker container contains a web-interface, replacing the old GUI. If you want to launch it manually, checkout this [issue discussion](https://github.com/Py-KMS-Organization/py-kms/issues/100#issuecomment-1710827824) to learn more. + ### Quick Guide The following are just some brief notes about parameters handling. For a more detailed description see [here](Usage.md). From da7feffecd90623c1532ac49f6be0b685c3324f0 Mon Sep 17 00:00:00 2001 From: simonmicro Date: Sun, 19 May 2024 12:58:38 +0200 Subject: [PATCH 5/6] =?UTF-8?q?Fixed=20incorrect=20Boolean,=20now=20aligns?= =?UTF-8?q?=20with=20the=20description=20of=20=E2=80=9Cdeactivated=20by=20?= =?UTF-8?q?default=E2=80=9D.=20Resolves=20#108=20by=20@dontcrash?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: simonmicro --- py-kms/pykms_Server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-kms/pykms_Server.py b/py-kms/pykms_Server.py index cbe96a8..71893f0 100755 --- a/py-kms/pykms_Server.py +++ b/py-kms/pykms_Server.py @@ -212,7 +212,7 @@ Use \"STDOUTOFF\" to disable stdout messages. Use \"FILEOFF\" if you not want to 'reuse' : {'help' : 'Do not allows binding / listening to the same address and port. Reusing port is activated by default.', 'def' : True, 'des': "reuse"}, 'dual' : {'help' : 'Allows listening to an IPv6 address also accepting connections via IPv4. Deactivated by default.', - 'def' : True, 'des': "dual"} + 'def' : False, 'des': "dual"} } def server_options(): From 11b5c69606bf3d35d42493cf41980e54ef8bedfe Mon Sep 17 00:00:00 2001 From: simonmicro Date: Sun, 19 May 2024 16:41:49 +0200 Subject: [PATCH 6/6] Security update Signed-off-by: simonmicro --- docker/docker-py3-kms-minimal/requirements.txt | 2 +- docker/docker-py3-kms/requirements.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/docker-py3-kms-minimal/requirements.txt b/docker/docker-py3-kms-minimal/requirements.txt index 4159f71..74edacf 100644 --- a/docker/docker-py3-kms-minimal/requirements.txt +++ b/docker/docker-py3-kms-minimal/requirements.txt @@ -1,2 +1,2 @@ -dnspython==2.2.1 +dnspython==2.6.1 tzlocal==4.2 \ No newline at end of file diff --git a/docker/docker-py3-kms/requirements.txt b/docker/docker-py3-kms/requirements.txt index 0c301de..3210657 100644 --- a/docker/docker-py3-kms/requirements.txt +++ b/docker/docker-py3-kms/requirements.txt @@ -1,5 +1,5 @@ -dnspython==2.2.1 +dnspython==2.6.1 tzlocal==4.2 Flask==2.3.2 -gunicorn==20.1.0 \ No newline at end of file +gunicorn==22.0.0 \ No newline at end of file