Enclave server architecture

This commit is contained in:
2026-08-17 08:59:04 +02:00
parent 210f6668cd
commit 15abde1c54
3 changed files with 80 additions and 82 deletions
+3 -5
View File
@@ -23,10 +23,8 @@ export default class Enclave {
this.clientSecretKey = ed.utils.randomSecretKey();
this.clientPublicKey = ed.getPublicKey(this.clientSecretKey);
this.server = new EnclaveServer(
"localhost:3415",
this.clientSecretKey,
this.clientPublicKey,
);
this.server = new EnclaveServer("localhost:3415");
this.server.connect(this.clientPublicKey, this.clientSecretKey);
}
}