p4u
f83815a94a
Add README for swarm package
5 years ago
p4u
3014931ec2
swarm: rename SwarmNet to SimplePss
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
p4u
1c45bd6bc2
Extend pss delivery chan type
5 years ago
p4u
cd19d5b044
Consolidate raw
5 years ago
p4u
63d6c72bc0
Testing raw
5 years ago
p4u
0734f03a83
Consolidating asymetric messages
5 years ago
p4u
cfb681462a
Testing asymetric messages
5 years ago
p4u
dbeaee8f0b
Testing asymetric messages
5 years ago
p4u
4d905d5d0b
Add first asym implementation
Move test code to pssTest.go
Minor changes
5 years ago
p4u
6005cde258
swarm: fixes and improvements
- fix delivery channel
- add raw methods
- unity PssSend* functions
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
p4u
51478b4e30
Refactory of swarm package
5 years ago
p4u
84863ddda2
Add new package swarm and a pssTest cmd
Implements PSS
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
p4u
ddda6bfa62
census-service: remove \u0000 character from dump
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
p4u
f40dfc6ae0
CensusService: add `method` field required for signature
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
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>
5 years ago
p4u
0536b3fd54
Add signature package for ECDSA Ethereum compatible
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
p4u
5603b7b5b9
Change references to go-dvote
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
p4u
7ab2ffd191
Update census code URLs and modules
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
p4u
5187c1af1d
Merge remote-tracking branch 'census/master'
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
imw
b0333c86aa
Merge pull request #19 from vocdoni/feature_modular_transports
Modular transports
5 years ago
p4u
7fb1d51fab
Merge branch 'feature/new_merkletree'
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
p4u
3e2b4d1cfa
Adapt documentation to new merkle tree
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
p4u
b8dccadfaa
Fix getRoot
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
p4u
6d3bf7c18d
Fix dump function
5 years ago
p4u
c258a9ad9c
Using camelCase on censusID
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
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>
5 years ago
imw
7128e24db3
working implementation of modular transports, generator still pubsub only
5 years ago
imw
5ce8bb33ee
initial attempt at modular transports, fails with segfault
5 years ago
Pau
167c8858fe
Merge pull request #5 from vocdoni/cors-reorder
Handling CORS headers as soon as possible and returning 404 on unkown…
5 years ago
Jordi
d267116782
Handling CORS headers as soon as possible and returning 404 on unkown requests
5 years ago
Jordi
144221908b
Adding CORS headers
5 years ago
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>
5 years ago
p4u
abb712d2b6
Adapt merkletree to new go-iden3 implementation
First iteration, more work needs to be done.
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
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>
6 years ago
p4u
04dd103bb1
Add censushttp cmd. Rename processHttp to censusmanager
Signed-off-by: p4u <p4u@dabax.net>
6 years ago
p4u
408457d65b
Fix auth error return
Signed-off-by: p4u <p4u@dabax.net>
6 years ago
Pau
0e4c0cb8db
Merge pull request #18 from vocdoni/hotfix/data-record-type
Create new data type for exporting PubSub types
6 years ago
p4u
8bd2b1acea
Create new data type for exporting PubSub types
Signed-off-by: p4u <p4u@dabax.net>
6 years ago
imw
6c1305115e
Merge pull request #17 from vocdoni/pubsub_testing
explicitly import ipfs-api, declare msg before listen loop
6 years ago
imw
435359e233
explicitly import ipfs-api, declare msg before listen loop
6 years ago
imw
9bdc8536fc
Merge pull request #16 from vocdoni/pubsub_testing
Pubsub testing
6 years ago
imw
b88d88e931
removed remnant of http listener
6 years ago
imw
90de87f243
pubsub messagaing working w/ generator
6 years ago
p4u
4f72b43600
Add snapshot and dump methods
Signed-off-by: p4u <p4u@dabax.net>
6 years ago
imw
fda66aa1af
move generator to cmd
6 years ago
p4u
c150bf570e
Implement authentication method
First version, partially tested
Signed-off-by: p4u <p4u@dabax.net>
6 years ago
Pau
7025725fb2
Merge pull request #4 from vocdoni/f/treeIdNameChange
ProcessID => CensusID
6 years ago
Aleix
1922d46dc9
ProcessID => CensusID
6 years ago
p4u
e499f49c26
Use go modules and move main to cmd subdir
Signed-off-by: p4u <p4u@dabax.net>
6 years ago
p4u
15069df984
Introduce crypto library
Add signature package based on nancl
Signed-off-by: p4u <p4u@dabax.net>
6 years ago