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
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
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
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
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>
5 years ago
p4u
04dd103bb1
Add censushttp cmd. Rename processHttp to censusmanager
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
p4u
408457d65b
Fix auth error return
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
p4u
4f72b43600
Add snapshot and dump methods
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
p4u
c150bf570e
Implement authentication method
First version, partially tested
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
Aleix
1922d46dc9
ProcessID => CensusID
5 years ago
p4u
6fd9aea6c8
Add getRoot method
5 years ago
p4u
a503c6555e
Change go-iden3 dependencies to vocdoni/go-iden3
New iden3 merkleTree implementation is not longer compatible. Until new
documentation is availabl and vocdoni code is adapted, use frozen
version of go-iden3 implementation.
5 years ago
p4u
4bd4f33f43
Update README
6 years ago
p4u
5fd182549f
Add processHttp implementation
Exposes a HTTP API to manage merkle trees
Signed-off-by: p4u <p4u@dabax.net>
6 years ago