X-Git-Url: https://git.rohieb.name/stratum0-wiki.git/blobdiff_plain/774f8443affb6759f3467ca7a5feb8a5a1fd9384..ebafcb39be04a1dbef88c06357ac80b92295d7c1:/Spacegate.mw diff --git a/Spacegate.mw b/Spacegate.mw index d73b73731..d59161cc0 100644 --- a/Spacegate.mw +++ b/Spacegate.mw @@ -70,7 +70,8 @@ So mal als Pseudocode die Idee: Host: int challenge = random(); -int keyID = sendToKey(getKeyID, null); +sendToKey(getKeyID, null); +int keyID = getFromKey(); sendToKey(authChallenge, challenge); if (sha2(keychain[keyID] + challange) == getFromKey()) { openGate();