arnaucube
884d1c462a
small update to use swarm module
2019-03-20 19:08:58 +01:00
p4u
f16d0bc7a7
Update go.mod
2019-03-18 16:51:45 +01:00
p4u
90182527ec
psstest: add pubkey in message
2019-03-13 15:35:00 +01:00
p4u
f83815a94a
Add README for swarm package
2019-03-08 11:42:01 +01:00
p4u
3014931ec2
swarm: rename SwarmNet to SimplePss
...
Signed-off-by: p4u <p4u@dabax.net >
2019-02-25 16:54:59 +01:00
p4u
1c45bd6bc2
Extend pss delivery chan type
2019-02-25 16:40:06 +01:00
p4u
cd19d5b044
Consolidate raw
2019-02-25 16:13:55 +01:00
p4u
63d6c72bc0
Testing raw
2019-02-25 15:30:01 +01:00
p4u
0734f03a83
Consolidating asymetric messages
2019-02-25 14:12:56 +01:00
p4u
cfb681462a
Testing asymetric messages
2019-02-25 13:52:45 +01:00
p4u
dbeaee8f0b
Testing asymetric messages
2019-02-25 12:49:05 +01:00
p4u
4d905d5d0b
Add first asym implementation
...
Move test code to pssTest.go
Minor changes
2019-02-22 21:37:35 +01:00
p4u
6005cde258
swarm: fixes and improvements
...
- fix delivery channel
- add raw methods
- unity PssSend* functions
Signed-off-by: p4u <p4u@dabax.net >
2019-02-22 20:26:58 +01:00
p4u
51478b4e30
Refactory of swarm package
2019-02-22 19:54:07 +01:00
p4u
84863ddda2
Add new package swarm and a pssTest cmd
...
Implements PSS
Signed-off-by: p4u <p4u@dabax.net >
2019-02-22 13:46:08 +01:00
p4u
ddda6bfa62
census-service: remove \u0000 character from dump
...
Signed-off-by: p4u <p4u@dabax.net >
2019-02-20 19:51:02 +01:00
p4u
f40dfc6ae0
CensusService: add method field required for signature
...
Signed-off-by: p4u <p4u@dabax.net >
2019-02-18 10:48:58 +01:00
p4u
a4d8b87d93
Census Service refactory
...
- Add new JSON field `method`, so method is now specified in the JSON
object (not in URL anymore)
- Use Ethereum ECDSA signing library
- Refactor censusmanager code to allow other than HTTP transport layers
- Update documentation
Signed-off-by: p4u <p4u@dabax.net >
2019-02-18 10:43:05 +01:00
p4u
0536b3fd54
Add signature package for ECDSA Ethereum compatible
...
Signed-off-by: p4u <p4u@dabax.net >
2019-02-13 22:24:48 +01:00
p4u
5603b7b5b9
Change references to go-dvote
...
Signed-off-by: p4u <p4u@dabax.net >
2019-02-12 13:16:47 +01:00
p4u
7ab2ffd191
Update census code URLs and modules
...
Signed-off-by: p4u <p4u@dabax.net >
2019-02-12 13:12:16 +01:00
p4u
5187c1af1d
Merge remote-tracking branch 'census/master'
...
Signed-off-by: p4u <p4u@dabax.net >
2019-02-12 13:04:54 +01:00
imw
b0333c86aa
Merge pull request #19 from vocdoni/feature_modular_transports
...
Modular transports
2019-02-12 11:55:41 +01:00
p4u
7fb1d51fab
Merge branch 'feature/new_merkletree'
...
Signed-off-by: p4u <p4u@dabax.net >
2019-02-12 11:38:56 +01:00
p4u
3e2b4d1cfa
Adapt documentation to new merkle tree
...
Signed-off-by: p4u <p4u@dabax.net >
2019-02-12 10:53:01 +01:00
p4u
b8dccadfaa
Fix getRoot
...
Signed-off-by: p4u <p4u@dabax.net >
2019-02-11 20:03:49 +01:00
p4u
6d3bf7c18d
Fix dump function
2019-02-11 18:17:00 +01:00
p4u
c258a9ad9c
Using camelCase on censusID
...
Signed-off-by: p4u <p4u@dabax.net >
2019-02-11 10:36:33 +01:00
p4u
0c3587bb9c
Keep adapting code to new merkletree
...
Add RootHash JSON parameter.
Remove Spanshopt API method.
Add support on genProof/checkProof/dump to specify the RootHash
Refactory of some code
Signed-off-by: p4u <p4u@dabax.net >
2019-02-07 17:16:28 +01:00
imw
7128e24db3
working implementation of modular transports, generator still pubsub only
2019-02-07 13:32:49 +01:00
imw
5ce8bb33ee
initial attempt at modular transports, fails with segfault
2019-02-07 12:06:10 +01:00
Pau
167c8858fe
Merge pull request #5 from vocdoni/cors-reorder
...
Handling CORS headers as soon as possible and returning 404 on unkown…
2019-02-05 14:52:17 +01:00
Jordi
d267116782
Handling CORS headers as soon as possible and returning 404 on unkown requests
2019-02-05 14:26:46 +01:00
Jordi
144221908b
Adding CORS headers
2019-02-05 13:42:11 +01:00
p4u
dad369ebff
Keep adapting the code to new merkletree implementation
...
Use different database storages and merkletree for each censusID
Signed-off-by: p4u <p4u@dabax.net >
2019-02-01 20:20:34 +01:00
p4u
abb712d2b6
Adapt merkletree to new go-iden3 implementation
...
First iteration, more work needs to be done.
Signed-off-by: p4u <p4u@dabax.net >
2019-01-31 18:54:02 +01:00
p4u
6551f598cf
Use Root Hash as censusID when creating a snapshot.
...
Add more authentication control.
Fix snapshot namespace issue.
Improve documentation.
Signed-off-by: p4u <p4u@dabax.net >
2019-01-25 21:21:14 +01:00
p4u
04dd103bb1
Add censushttp cmd. Rename processHttp to censusmanager
...
Signed-off-by: p4u <p4u@dabax.net >
2019-01-25 19:04:58 +01:00
p4u
408457d65b
Fix auth error return
...
Signed-off-by: p4u <p4u@dabax.net >
2019-01-24 14:40:13 +01:00
Pau
0e4c0cb8db
Merge pull request #18 from vocdoni/hotfix/data-record-type
...
Create new data type for exporting PubSub types
2019-01-23 16:57:03 +01:00
p4u
8bd2b1acea
Create new data type for exporting PubSub types
...
Signed-off-by: p4u <p4u@dabax.net >
2019-01-23 16:41:49 +01:00
imw
6c1305115e
Merge pull request #17 from vocdoni/pubsub_testing
...
explicitly import ipfs-api, declare msg before listen loop
2019-01-23 16:15:53 +01:00
imw
435359e233
explicitly import ipfs-api, declare msg before listen loop
2019-01-23 16:14:29 +01:00
imw
9bdc8536fc
Merge pull request #16 from vocdoni/pubsub_testing
...
Pubsub testing
2019-01-23 13:46:44 +01:00
imw
b88d88e931
removed remnant of http listener
2019-01-23 13:45:04 +01:00
imw
90de87f243
pubsub messagaing working w/ generator
2019-01-22 16:44:45 +01:00
p4u
4f72b43600
Add snapshot and dump methods
...
Signed-off-by: p4u <p4u@dabax.net >
2019-01-22 16:41:46 +01:00
imw
fda66aa1af
move generator to cmd
2019-01-21 14:54:28 +01:00
p4u
c150bf570e
Implement authentication method
...
First version, partially tested
Signed-off-by: p4u <p4u@dabax.net >
2019-01-18 13:36:59 +01:00
Pau
7025725fb2
Merge pull request #4 from vocdoni/f/treeIdNameChange
...
ProcessID => CensusID
2019-01-18 10:30:46 +01:00