diff --git a/README.md b/README.md index abf294c..0ba649e 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)](./LICENSE) 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 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). 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 @@ + + + + + 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 @@ def run(self): '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():