tordam

A library for peer discovery inside the Tor network
git clone https://git.parazyd.org/tordam
Log | Files | Refs | README | LICENSE

commit ec4a199968764024c84e2c82d142fdc7549f3f01
parent ff836242ff085b9a62f5baf2297c2e7bdbb8ddbe
Author: parazyd <parazyd@dyne.org>
Date:   Fri,  8 Dec 2017 11:40:46 +0100

Remove finished TODOs

Diffstat:
Mcmd/dam-client/main.go | 3---
Mcmd/dam-dir/main.go | 2--
2 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/cmd/dam-client/main.go b/cmd/dam-client/main.go @@ -56,9 +56,6 @@ func main() { log.Println("Sending request") resp := lib.HTTPPost("http://localhost:8080/announce", jsonVal) - // TODO: Handle the secret decryption and returning it back decrypted to the - // directory. Note to self: start saving state on ddir's side. - // Parse server's reply var m msgStruct decoder := json.NewDecoder(resp.Body) diff --git a/cmd/dam-dir/main.go b/cmd/dam-dir/main.go @@ -130,8 +130,6 @@ func handlePost(rw http.ResponseWriter, request *http.Request) { if len(req["secret"]) == 88 { // Client sent a decrypted secret. - //decodedSec, err := base64.StdEncoding.DecodeString(req["secret"]) - //lib.CheckError(err) var correct = false localSec, err := RedisCli.HGet(n.Address, "secret").Result()