From: DooMMasteR Date: Wed, 11 Apr 2012 00:22:38 +0000 (+0000) Subject: /* Alternativvorschlag: */ X-Git-Url: https://git.rohieb.name/stratum0-wiki.git/commitdiff_plain/bd28246fb23f14ed2921b50b9b215c28cb60a35b /* Alternativvorschlag: */ --- 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();