From 63e2ed26e6a55b24783f25e84e6dced1297f74ec Mon Sep 17 00:00:00 2001 From: Kyle Lanclos Date: Fri, 31 Jul 2026 08:49:27 -1000 Subject: [PATCH] Change the strings used in the discovery exchange. --- doc/protocol.rst | 8 ++++---- src/mktl/protocol/discover.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/protocol.rst b/doc/protocol.rst index 6e73509..156b1c6 100644 --- a/doc/protocol.rst +++ b/doc/protocol.rst @@ -483,10 +483,10 @@ There are four shared secrets used in the discovery exchange: **call** An arbitrary string used by the discoverer to trigger a response from the listener. The string value is - ``I heard it``. + ``Aloha mKTL``. **response** An arbitrary string used by the listener to respond to any - received calls. The string value is ``on the X:``. + received calls. The string value is ``E komo mai:``. ================= ============================================================== @@ -498,7 +498,7 @@ component of the response after the colon. For example, if a daemon has a request port listening on port 10079, the full exchange (discovery request, discovery response) would be:: - b'I heard it' + b'Aloha mKTL' - b'on the X:10079' + b'E komo mai:10079' diff --git a/src/mktl/protocol/discover.py b/src/mktl/protocol/discover.py index b34ace4..f9cb356 100644 --- a/src/mktl/protocol/discover.py +++ b/src/mktl/protocol/discover.py @@ -15,10 +15,10 @@ from .. import meta -call = 'I heard it' +call = 'Aloha mKTL' call = call.encode() -response = 'on the X:' +response = 'E komo mai:' response = response.encode() # There's nothing special about this port number, other than it is not