tAdd comment about constantly loading the private key. - 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 981caf2886042e5d8a5cdf59c4c55e45213a17e5
DIR parent c0638e15e0cc574c04e09209ad2ab7e69be08d52
HTML Author: parazyd <parazyd@dyne.org>
Date: Tue, 23 Jan 2018 13:13:59 +0100
Add comment about constantly loading the private key.
Diffstat:
M cmd/dam-client/main.go | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
DIR diff --git a/cmd/dam-client/main.go b/cmd/dam-client/main.go
t@@ -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)