tordam

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

commit b2f333cd73b2b7a7dc1daaa4660e1dd7461e1e58
parent b1736dfbc006d5e9e7c589f8e30b138520d9915c
Author: parazyd <parazyd@dyne.org>
Date:   Tue, 20 Feb 2018 14:04:55 +0100

Remove TODO note about loading private key on loop iterations.

We should load the key every iteration, since this gives us the
possiblity to change our identity just by removing the private key.

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

diff --git a/cmd/dam-client/main.go b/cmd/dam-client/main.go @@ -257,8 +257,6 @@ 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)