Py-KMS-Organization / py-kms

KMS Server Emulator written in Python
https://py-kms.readthedocs.io/en/latest/readme.html
The Unlicense
620 stars 108 forks source link

Implement automagic KMS server discovery in pykms_Client #51

Closed Matthew-Beckett closed 1 year ago

Matthew-Beckett commented 2 years ago

https://github.com/SystemRage/py-kms/issues/121

simonmicro commented 2 years ago

Duplicate of #45

Matthew-Beckett commented 2 years ago

This is not a duplicate this is a feature request

simonmicro commented 2 years ago

sry

edgd1er commented 2 years ago

From my understanding, the py_client is ran to bootstart the local kms server in order to reach 25 activations. what would be the usage to query random kms servers ? (well, server would be known after a DNS request srv _vlmcs._tcp)

simonmicro commented 2 years ago

py_client is ran to bootstart the local kms server in order to reach 25 activations

Nope, just to trigger the database creation for the sqlite webinterface...

what would be the usage to query random kms servers ?

Could you elaborate?

edgd1er commented 2 years ago

py_client is ran to bootstart the local kms server in order to reach 25 activations

Nope, just to trigger the database creation for the sqlite webinterface...

what would be the usage to query random kms servers ?

Could you elaborate?

Automatic KMS discovery is based on _vlmcs._tcp.domain.tld DNS query. Should you have two or more KMS server on your lan, you can't know for sure what will be the DNS answer, hence what would be the KMS used to activate your client.

although, I get the point, If you wish to validate kms discovery the py_kms client, that feature is needed.

edgd1er commented 2 years ago

66 is a proposition to implement KMS discovery feature.

Matthew-Beckett commented 1 year ago

Closed, feature merged in #66