From bd28246fb23f14ed2921b50b9b215c28cb60a35b Mon Sep 17 00:00:00 2001
From: DooMMasteR
Date: Wed, 11 Apr 2012 00:22:38 +0000
Subject: [PATCH] /* Alternativvorschlag: */
---
Spacegate.mw | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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();
--
2.20.1