tordam

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

commit 981caf2886042e5d8a5cdf59c4c55e45213a17e5
parent c0638e15e0cc574c04e09209ad2ab7e69be08d52
Author: parazyd <parazyd@dyne.org>
Date:   Tue, 23 Jan 2018 13:13:59 +0100

Add comment about constantly loading the private key.

Diffstat:
Mcmd/dam-client/main.go | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/cmd/dam-client/main.go b/cmd/dam-client/main.go @@ -221,6 +221,8 @@ func main() { } for { + // TODO: Should we load the key every iteration or not? + // Reason: Do we care if the key has dissapeared in the file format? key, err := lib.LoadRsaKeyFromFile(lib.PrivKeyPath) lib.CheckError(err)