Commit graph

21 commits

Author SHA1 Message Date
Alexander Neumann
35af933f24 server: Rename CreateMasterKey() to Init() 2015-05-04 20:40:17 +02:00
Alexander Neumann
ae1a85c896 server: Check repository version 2015-05-04 20:40:02 +02:00
Alexander Neumann
5399358272 Fix spelling errors in comments 2015-05-04 20:39:45 +02:00
Alexander Neumann
7af918cfdd key: Remove unused convenience methods 2015-05-03 18:56:20 +02:00
Alexander Neumann
1213d87b1a server: Only save crypto.Key
At the moment, the server doesn't need the full server.Key (master and
user key), just the master key.
2015-05-03 18:56:20 +02:00
Alexander Neumann
08fac28e73 crypto: Remove polynomial from key 2015-05-03 18:56:20 +02:00
Alexander Neumann
991a325cc5 server: Test for existing config 2015-05-03 18:56:20 +02:00
Alexander Neumann
ddc44ddfb1 server: Check irreducible polynomial in config 2015-05-03 18:56:20 +02:00
Alexander Neumann
d4bf5bb279 server: Add config 2015-05-03 18:56:20 +02:00
Alexander Neumann
bebb08ee7e server/key: Rename CreateKey -> CreateMasterKey 2015-05-03 18:56:20 +02:00
Alexander Neumann
9b54fd7bdb server: rename LoadJSONEncrypted -> LoadJSONUnpacked 2015-05-03 18:56:20 +02:00
Alexander Neumann
2fb1783885 backend/server: remove id and version from backend 2015-05-03 18:56:16 +02:00
Alexander Neumann
1cedff0e9e tests: Simplify key handling 2015-05-03 16:36:52 +02:00
Alexander Neumann
6fe38b0cd8 fix comments to have the standard form 2015-05-02 16:22:43 +02:00
Alexander Neumann
9010d7bb3a Add test for invalid (=zero) crypto keys 2015-05-01 17:32:42 +02:00
Florian Weingarten
90e6a8eb86 consistently rename signature to mac 2015-04-30 13:41:50 -04:00
Florian Weingarten
c500b94216 crypto.go nitpicks 2015-04-29 22:28:34 -04:00
Alexander Neumann
77a819a925 Correct debug log fucntion names 2015-04-29 23:47:50 +02:00
Alexander Neumann
60a0fe8349 Major restructure, bundle blobs
This commit also breaks the repository format.
2015-04-29 23:27:32 +02:00
Alexander Neumann
b836da1980 Add pack index 2015-04-29 23:27:09 +02:00
Alexander Neumann
d19b23d4f1 Move Server and Key to new sub-package 2015-04-26 14:46:15 +02:00