jMyles
eb2382e763
Pursuant to #93 , changes to K:V for Alie to lookup Ursula. This commit demonstrates one of the problems described in #95 .
2017-11-03 18:37:27 -07:00
jMyles
41b6642b6d
Msgpacking encrypted message.
2017-11-03 18:37:27 -07:00
jMyles
5b570b046e
Very close to complete Ursula -=> Bob flow for treasure map, but strange error when trying to run coroutine.
2017-11-03 18:37:27 -07:00
jMyles
83058d0211
Fairly reasonable shape for Bob-=>Ursula discovery/upgrade.
2017-11-03 18:37:27 -07:00
jMyles
17adc4c566
More test re-organization. Shows failure of ec.serialize.
2017-11-03 18:37:27 -07:00
jMyles
a07e082e6a
Working toward policy payload for use over network.
2017-11-03 18:37:21 -07:00
tux
0ae9d007c8
Implement generate_rekey_frags method on Alice
...
This doesn't include a test for this function. This is basically a tiny
wrapper around the crypto api for generating the key frags.
I'll leave it to JMyles to implement this how he wants.
Fix syntax error
Skip erroring test
2017-10-23 14:20:15 -07:00
jMyles
24b1f4fa92
Bringing policy logic back in line with protocol with new crypto tooling.
2017-10-18 15:48:20 -07:00
tuxxy
9bc43c88e4
Use SigningPower instead of SigningKeypair in characters
2017-10-17 15:01:25 -06:00
jMyles
5566c6058e
Removed alpha and added test for its removal.
2017-10-16 22:25:16 -07:00
jMyles
4a2d6a05b3
Code cleanup and some stale code removal. Made EncryptingPower compliant with confers_public_key logic.
2017-10-16 21:45:43 -07:00
jMyles
758aeaa2d7
Compatibility with new encrypt/decrypt functions.
2017-10-16 20:13:38 -07:00
jMyles
504d840e28
Moving new crypto utility functions to _alpha while we consider them.
2017-10-16 18:19:27 -07:00
jMyles
9714b2d0cb
Fixing equality function (still needs tests)
2017-10-16 18:19:16 -07:00
jMyles
adf71c80c8
Seal now implements dunders instead of custom methods.
2017-10-16 18:17:53 -07:00
jMyles
e276e86d52
Getting pretty close. Need a clean way to encrypt and decrypt.
2017-10-16 18:17:53 -07:00
jMyles
71669bfc49
Made working defaults for EncryptingKeypair
2017-10-16 18:17:29 -07:00
jMyles
db364a20de
Fixed up docstring and type hints on verify_from
2017-10-16 18:16:01 -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
8cf64dfcc6
PolicyGroup now uses Bob instead of a public key. One test fails until we get EncryptingPower working.
2017-10-16 18:12:14 -07:00
jMyles
bf0f83b6ea
Moving EncryptingKeypair over to powers.
2017-10-10 22:39:25 -07:00
tuxxy
c699fd3e18
Use keccak_digest instead of signature_hash or content_hash
...
Really use keccak_hash
keccak_hash -> keccak_digest
Fix another thing
2017-10-10 20:32:35 -06: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
7eae9c21b1
KeyRing -=> KeyStore and some other reorganization.
2017-10-09 14:03:16 -07:00
jMyles
b28a937b05
Passing both crypto_power and crypto_powerup is now not allowed.
2017-10-06 20:49:59 -07:00
jMyles
418618d565
A fairly serious version of the high-level signing and verification system.
2017-10-06 19:32:49 -07:00
jMyles
989f0193d7
Introducting CryptoPower and PowerUp. Signing powers have been pulled out of KeyRing and now use the PowerUp system.
2017-10-06 17:42:18 -07:00
jMyles
ffb4eaa72e
Moving interface functions to Character class; let's see how this looks.
2017-10-06 17:42:18 -07:00
tuxxy
6ec873f008
Create a KeyRing object on __init__
2017-09-28 10:03:54 -07:00
jMyles
346f0a3d01
First draft of Character classes, along with a test of the moment that Alice finds Ursula.
2017-09-27 23:50:23 -07:00