tRemove TODO note about loading private key on loop iterations. - tordam - A library for peer discovery inside the Tor network
HTML git clone https://git.parazyd.org/tordam
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit b2f333cd73b2b7a7dc1daaa4660e1dd7461e1e58
DIR parent b1736dfbc006d5e9e7c589f8e30b138520d9915c
HTML 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:
M cmd/dam-client/main.go | 2 --
1 file changed, 0 insertions(+), 2 deletions(-)
---
DIR diff --git a/cmd/dam-client/main.go b/cmd/dam-client/main.go
t@@ -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)