summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-08-22 13:51:55 -0400
committerJoey Hess <joeyh@joeyh.name>2016-08-22 13:51:55 -0400
commit1bed3fbec71b838c66b4387092947888f1892fea (patch)
tree22878b02ad4fa16263532b928f97ea7894180ddb
parent013529513af62e14c2bfc0eb4f699281cdd94f84 (diff)
downloadkeysafe-1bed3fbec71b838c66b4387092947888f1892fea.tar.gz
temporary test servers: 3x localhost
At this point, storage and retrival to servers basically works!
-rw-r--r--Storage/Network.hs6
-rw-r--r--TODO2
2 files changed, 6 insertions, 2 deletions
diff --git a/Storage/Network.hs b/Storage/Network.hs
index ec00cf8..96aa1c0 100644
--- a/Storage/Network.hs
+++ b/Storage/Network.hs
@@ -25,7 +25,11 @@ serverUrl :: Server -> BaseUrl
serverUrl srv = BaseUrl Http (serverName srv) (serverPort srv) ""
networkServers :: IO [Server]
-networkServers = return [] -- none yet
+networkServers = return
+ [ Server "localhost" 8080
+ , Server "localhost" 8080
+ , Server "localhost" 8080
+ ]
networkStorage :: Server -> Storage
networkStorage server = Storage
diff --git a/TODO b/TODO
index b44b8bf..22a430b 100644
--- a/TODO
+++ b/TODO
@@ -3,7 +3,7 @@
* improve restore progress bar points (update after every hash try)
* If we retrieved enough shares successfully, but decrypt failed, must
be a wrong password, so prompt for re-entry and retry with those shares.
-* servers
+* use TOR
* --no-jargon which makes the UI avoid terms like "secret key" and "crack
password". Do usability testing!
* --key-value=$N which eliminates the question about password value,