jMyles
|
d372010e0c
|
Cleaned up assertions to comport with new models.
|
2017-12-14 20:36:35 -08:00 |
jMyles
|
3a1bab4b1d
|
Fixed up tests to use hrac instead of PolicyGroup.
|
2017-12-11 17:03:47 -08:00 |
jMyles
|
a5579f1af7
|
grant test
|
2017-12-09 17:21:43 -08:00 |
jMyles
|
fd38b2421e
|
Alice gets a PolicyManager at __init__.
|
2017-12-09 17:19:30 -08:00 |
jMyles
|
c2a111c2b5
|
Tests showing that Bob doesn't repeat WorkOrders for CFrags he already has.
|
2017-12-07 20:41:48 -08:00 |
jMyles
|
fc66f43b3b
|
Pushing TreasureMap setting down into a fixture.
|
2017-12-07 20:41:04 -08:00 |
jMyles
|
fb5731fff4
|
Bob has a lot of logic surrounding his play with Frags - moving such tests to their own module.
|
2017-12-07 00:36:43 -08:00 |
jMyles
|
647e0e4fd7
|
Bob can now lookup past work orders by PFrag since #137 is closed.
|
2017-12-07 00:36:35 -08:00 |
jMyles
|
ceae904822
|
Tests with Bob getting the signature from Alice properly.
|
2017-11-21 22:03:31 -08:00 |
jMyles
|
0084b14a3d
|
OK, fixtures are implemented in the tests that need them.
|
2017-11-21 20:22:16 -08:00 |
jMyles
|
ad0eb40a4d
|
PublicKey used for metadata instead of int literals throughout tests. Also some PEP8 cleanups and removal of type checks per #105.
|
2017-11-18 13:19:07 -08:00 |
jMyles
|
e0f9995e4c
|
Casting Signature to bytes for msgpack. Better to concat it in the future - see #114.
|
2017-11-10 16:29:28 -08:00 |
jMyles
|
6a5d0da4bf
|
Test organization: moved utility functions to their own module.
|
2017-11-09 16:23:38 -08:00 |
tuxxy
|
09b442d5a3
|
Use SigningPower instead of SigningKeypair in test_crypto_characters_and_their_powers
Use SigningPower instead of SigningKeypair correctly
Use correct SigningPower
|
2017-10-17 16:01:59 -06:00 |
jMyles
|
adf71c80c8
|
Seal now implements dunders instead of custom methods.
|
2017-10-16 18:17:53 -07:00 |
jMyles
|
506f0f81cd
|
Character encryption tests.
Note that CryptoPower.decrypt and Character.encrypt_for have fake logic until EncryptingPower is implemented.
|
2017-10-16 18:16:01 -07:00 |
jMyles
|
a202507978
|
logic to check that passing signature<=-=>message backwards raises TypeError (commented out for now).
|
2017-10-16 18:06:16 -07:00 |
jMyles
|
bf0f83b6ea
|
Moving EncryptingKeypair over to powers.
|
2017-10-10 22:39:25 -07:00 |
tuxxy
|
3b3f44038c
|
Fix tests and update imports to reflect nkms.crypto.api
|
2017-10-10 20:18:24 -06:00 |
jMyles
|
9e651af46b
|
Import statements changed while we reorganize.
|
2017-10-10 13:02:45 -07:00 |
jMyles
|
40cdfab02a
|
Some clarifying details in character tests.
|
2017-10-06 19:48:31 -07:00 |
jMyles
|
418618d565
|
A fairly serious version of the high-level signing and verification system.
|
2017-10-06 19:32:49 -07:00 |