Commit Graph

70 Commits

Author SHA1 Message Date
xdrm-brackets 00e7c465db update structure 2018-04-25 08:26:54 +02:00
xdrm-brackets c2ebfa5ace update structure 2018-04-25 08:20:57 +02:00
xdrm-brackets 9c23c060b5 update structure 2018-04-25 08:17:20 +02:00
xdrm-brackets 3a77463614 PROJECT (FILE) STRUCTURE / DEPTH FIX 2018-04-25 08:06:27 +02:00
xdrm-brackets e2bef5963e [cmd.client | cmd.server] fixed time execution output issue 2018-04-25 08:02:58 +02:00
xdrm-brackets 257ec355c9 [cmd.server] created and working (more tests to perform) 2018-04-24 23:42:56 +02:00
xdrm-brackets 4574bf7d0c [cmd.client] fixed standard inverted output/input 2018-04-24 23:42:42 +02:00
xdrm-brackets 39c9d8169f [server] explicit errors 2018-04-24 23:42:21 +02:00
xdrm-brackets 5bb3d0275a minmod 2018-04-24 23:10:35 +02:00
xdrm-brackets 61f99cf940 [server] added 'synchronisationKey([]byte)' to apply a new synchronisation key with length check 2018-04-24 23:10:26 +02:00
xdrm-brackets 7d38485edb CODE REORGANIZATION + client command-line usage in [cmd.client] 2018-04-24 23:01:51 +02:00
xdrm-brackets 89bb2099e9 [client] removed debug 2018-04-24 21:29:41 +02:00
xdrm-brackets fb033048f2 [main] added test cli script 2018-04-24 21:28:15 +02:00
xdrm-brackets 99f7df9ad5 [client] improved 'SynchronisationKey' security 2018-04-24 18:48:05 +02:00
xdrm-brackets e178642fea [client] Proper TMP renamed and commented 'SynchronisationKey()' 2018-04-24 18:43:20 +02:00
xdrm-brackets e822440581 [client:client][client:internal] respect go format 2018-04-24 18:32:00 +02:00
xdrm-brackets ea7d7bb89e [server:internal] respect go format 2018-04-24 18:26:54 +02:00
xdrm-brackets 88055b944e [server:internal] remove debug 2018-04-23 18:56:37 +02:00
xdrm-brackets 0b24036360 [client:client] fixed migration validation 2018-04-23 18:09:31 +02:00
xdrm-brackets 50d17723f8 [client.keyset] minmod comment 2018-04-23 18:07:54 +02:00
xdrm-brackets a66cad0eeb [client.keyset] MigrationCode(uint) fixed reference (was by value) 2018-04-23 18:07:32 +02:00
xdrm-brackets 5a5fd89b52 [client.keyset] Decrement() fixed remaining count 2018-04-23 18:06:55 +02:00
xdrm-brackets dc566d0942 [client.keyset] included maxDepth() in random depth generation 2018-04-23 18:02:19 +02:00
xdrm-brackets 499e24fbba [server] [client] seems to work except normal timeline (with renewal and desync) 2018-04-23 01:08:18 +02:00
xdrm-brackets 08581354a4 [server] [client] [lib.scha] big update to review 2018-04-23 00:02:55 +02:00
xdrm-brackets 3c9964b0cb [server:server] created struct 'T' + constructor 'New' + signature for 'HandleRequest(req, res)' [server:server.internal] created 'fetch()' and 'store()' 2018-04-22 21:46:31 +02:00
xdrm-brackets 3d7a8ae034 [client:client] constructor: avoid nil *context.T 2018-04-22 21:16:21 +02:00
xdrm-brackets 996955b820 [client:client] removed unused part in struct T 2018-04-22 21:11:58 +02:00
xdrm-brackets 18c9a9951a [client:client] cleanup 2018-04-22 21:10:00 +02:00
xdrm-brackets 96a9dbe785 [lib.scha] made 'Hash()' salt and pepper arguments optional 2018-04-22 20:58:37 +02:00
xdrm-brackets 18dc9c786a [client.keyset] rename 'Hash()' into 'CurrentHash()' [client:client.internal] rename 'update()' into 'updateConfig()' 2018-04-22 20:54:16 +02:00
xdrm-brackets 87a884abdc [client:client] implemented 'Receive(io.Reader)' for reading 'errorCode' then validating migration or rescuing key if failure 2018-04-22 19:18:35 +02:00
xdrm-brackets 8b6d5a12cd [client:client.internal] implemented 'rescue(y1, y2) error' for extracting response data + rescuing key 2018-04-22 19:17:55 +02:00
xdrm-brackets d759e85735 [client.keyset] added 'Rescue()' method to keyset 2018-04-22 18:56:58 +02:00
xdrm-brackets 3b282e397b [client:client] implemented 'Send(io.Writer)' [client:client.internal] implemented 'generateRequest', 'generateKeyWithConstraints', 'migrate' 2018-04-22 18:45:30 +02:00
xdrm-brackets fdab12841c [lib.timeid] updated 'uint' to 'uint32' 2018-04-22 18:44:32 +02:00
xdrm-brackets 27dcb81e5f [client.keyset] added Getter and Setter 'MigrationCode(<uint8|nil>) uint8' for migration code 2018-04-22 18:44:03 +02:00
xdrm-brackets 8ef698f4c3 [client.keyset] replace 'consumed<bool>' by 'mcode<uint8>' for migration code 2018-04-22 17:13:34 +02:00
xdrm-brackets 4521cf1830 [client:client.internal] fix, use pointer instead of value for update() 2018-04-22 16:02:39 +02:00
xdrm-brackets 09d514d5b9 [client:client] created public signatures 'Send(io.Writer) error' and 'Receive(io.Reader) error' 2018-04-22 01:25:17 +02:00
xdrm-brackets 2454751812 [client:client] moved private methods into {client:client.internal} 2018-04-22 01:19:42 +02:00
xdrm-brackets 046fed121a [lib.scha] cleanup 2018-04-22 01:16:01 +02:00
xdrm-brackets 544ee489a4 [context] min cleanup 2018-04-22 01:05:51 +02:00
xdrm-brackets 91512adbb2 [client.keyset] moved private methods into 'keyset.internal.go' 2018-04-22 01:04:07 +02:00
xdrm-brackets 3246c88e0d [client:client] adapted 'update' to {client:config} + renamed lowercase to privatise 2018-04-22 00:59:23 +02:00
xdrm-brackets 507c29398d [client:config] updated (eased) config management with 'Store(keyset.T)' and 'Fetch(keyset.T)' 2018-04-22 00:58:38 +02:00
xdrm-brackets 9785e8e573 [client:client] Created client initialisation with Update() that stores/fetches data using {client:config} system 2018-04-21 19:48:26 +02:00
xdrm-brackets 775eb33435 [client:config] config management to get 'io.Reader' and 'io.Writer' + config directory+files management for {client.keyset} to be stored/fetched 2018-04-21 19:47:44 +02:00
xdrm-brackets 9a787951b1 [client.keyset] removed 'max' that is now in 'ctx' 2018-04-21 19:46:37 +02:00
xdrm-brackets 69bcb46641 renamed default 'type struct {}' into 'T' because package name is explicit by itself 2018-04-21 18:33:20 +02:00