K Prasch
0789b52529
Merge pull request #916 from KPrasch/master
...
Two bandaids.
2019-04-06 14:56:00 -07:00
Kieran Prasch
2782f5bb1f
Two bandaids.
2019-04-06 14:41:25 -07:00
K Prasch
dd5cc7614c
Merge pull request #915 from jMyles/hotfix
...
Infuriating comprehension. Fixes #911 and Fixes #912 (duplicates).
2019-04-06 12:58:57 -07:00
Kieran Prasch
9abd4e27fb
Respond to RFCs in PR #861
2019-04-06 12:40:34 -07:00
Kieran Prasch
13024ed048
Check for config root before removal; Run an ursula via mixed configs in test.
2019-04-06 12:38:09 -07:00
Kieran Prasch
ed184942e3
Increase test coverage for nucypher help commands
2019-04-06 12:38:09 -07:00
Kieran Prasch
ea20f88be4
Move destruction management before character initialization to handle failure modes involving semi-working configurations.
2019-04-06 12:38:09 -07:00
Kieran Prasch
c132ca0f66
Fixes #815 - Correct inaccurate keyring logging.
2019-04-06 12:38:09 -07:00
Kieran Prasch
91e4de470e
Fixes #848 - Restore --debug console logging.
2019-04-06 12:38:09 -07:00
Kieran Prasch
dd7f992277
nucypher remove docstring
2019-04-06 12:38:09 -07:00
Kieran Prasch
e110632bb1
All characters destroy thier own config files, considering force
2019-04-06 12:38:09 -07:00
Kieran Prasch
b691339f50
Destroy the configuration file itself; Attaching console emitter to click config.
2019-04-06 12:38:09 -07:00
Kieran Prasch
bf4d0d8535
Adjust config classes to allow existing keyring root and instance destruction
2019-04-06 12:38:09 -07:00
Kieran Prasch
1479c78ea9
Tests show keyring multi-tennancy with config-based destruction
2019-04-06 12:38:09 -07:00
Kieran Prasch
3bff15d83f
Introduce 'nucypher remove' sub-command
2019-04-06 12:38:09 -07:00
Kieran Prasch
22054af864
Character CLI implements config-based destruction.
2019-04-06 12:38:09 -07:00
Kieran Prasch
361c111ce8
Config-based keyring destruction via Ursua CLI
2019-04-06 12:38:09 -07:00
Kieran Prasch
d59b9d63c1
Test describing a multi-tenant installation
2019-04-06 12:38:09 -07:00
jMyles
a4a0f8535c
Infuriating comprehension. Fixes #911 and Fixes #912 (duplicates).
2019-04-06 21:24:48 +02:00
K Prasch
0f412c38b8
Merge pull request #910 from KPrasch/master
...
Update and re-lock dependencies; Reintroduce Codecov
2019-04-05 23:05:41 -07:00
Kieran Prasch
ff27cd406c
Ensure pyevm alpha39 in Pipfile; Locks remain the unchanged.
2019-04-05 22:48:33 -07:00
Kieran Prasch
402020d8bc
Capture test results from blockchain tests, too, because why not.
2019-04-05 22:12:04 -07:00
Kieran Prasch
0796fff455
move coverage flags outside test globbing
2019-04-05 22:02:06 -07:00
jMyles
1dd0817ec3
Change CircleCI config and python deps from coveralls to codecov.
2019-04-05 21:34:20 -07:00
Kieran Prasch
1f25dba185
Update and relock dependencies.
2019-04-05 20:49:52 -07:00
K Prasch
d63af4e69c
Merge pull request #863 from cygnusv/vodka-hangover
...
Vodka hangover
2019-04-05 12:29:24 -07:00
K Prasch
8909399f7a
Merge pull request #908 from KPrasch/master
...
Fix Issues #807 and #896
2019-04-05 12:29:05 -07:00
Kieran Prasch
4ba68038d7
Fix Issue #807 and Issue #896
2019-04-04 19:57:47 -07:00
K Prasch
f63be279c3
Merge pull request #826 from vepkenez/docker-dev
...
Docker dev
2019-04-03 11:14:09 -07:00
damon c
f69c9133a6
adds --build to install docs
2019-04-02 16:50:53 -07:00
damon c
d1947ab1b6
typo
2019-04-02 15:47:06 -07:00
damon c
3c716c11a0
Pycharm pro only.
2019-04-02 15:46:36 -07:00
damon c
314dba9ba6
Update README.md
2019-04-02 14:37:10 -07:00
K Prasch
8cd08de191
Merge pull request #891 from drdgvhbh/application-json
...
Give responses an application/json content type
2019-03-31 18:33:20 -07:00
Ryan Lee
a44da10cd9
Give responses an application/json content type
...
Revert "Give responses an application/json content type"
This reverts commit eb691d8433664dd1b3d5f076ddf0dd465301f53d.
Set response content type to application json
2019-03-31 14:55:44 -04:00
David Núñez
713071025c
Add first unit tests for ReEncryptionValidator contract
2019-03-31 10:39:40 +02:00
David Núñez
8716443094
Don't sign task.signature, as it's already part of cfrag's metadata
2019-03-29 10:52:04 +01:00
David Núñez
04f3908343
Method for obtaining a task specification
2019-03-29 10:52:04 +01:00
David Núñez
bd44c7d65f
WorkItem is now Task, and it also handles the output of re-encryption
2019-03-29 10:52:14 +01:00
David Núñez
e1d8362260
New re-encryption metadata format ( #259 )
2019-03-29 10:52:04 +01:00
David Núñez
3637d75805
Remove checks that are now implicitly done by WorkOrder.from_rest_payload
2019-03-29 10:46:52 +01:00
David Núñez
e1d5780692
Ursula deserializes the WorkOrder, checking the receipt and each capsule
2019-03-29 10:46:52 +01:00
David Núñez
2376b24c52
Full revamp of WorkOrder
...
* Instead of a list of capsules, WorkOrder now has a list of WorkItems (each of them includes a capsule)
* Each capsule is signed together with Ursula's pubkey, Alice's address and a recent blockhash.
* Only the blockhash is stored in the WorkOrder, since Alice's address and Ursula's pubkey are known by Ursula
2019-03-29 10:46:52 +01:00
David Núñez
f698f6361d
Introduces WorkItem, a helper class inside WorkOrder to handle capsules and item signatures
2019-03-29 10:46:52 +01:00
David Núñez
b8a5fc25eb
Clarify evolution of penalty amount in test_mining_adjudicator
2019-03-29 10:46:52 +01:00
David Núñez
be9901f746
Change validation of precomputed EC multiplication to require()
2019-03-29 10:46:52 +01:00
David Núñez
ef75e241df
Tests Bob sending wrong precomputed values. Improves test_mining_adjudicator
2019-03-29 10:46:52 +01:00
David Núñez
581a36759d
Constants in ReEncryptionValidator ( Fixes #749 )
2019-03-29 10:46:52 +01:00
David Núñez
b6f02ec9db
Mark ReEncryptionValidator methods as internal instead of public
...
TIL that solc leaves placeholders in the bytecode with format __$...$__ when using libraries (with non-internal methods)
https://solidity.readthedocs.io/en/v0.5.3/using-the-compiler.html#using-the-commandline-compiler
2019-03-29 10:46:52 +01:00
David Núñez
21da4ce133
Emit CFragEvaluated just after validation, in case tx fails when slashing
2019-03-29 10:46:52 +01:00