tuxxy
|
48f75b798f
|
Add test test_ecies_gen_ephemeral_key in test_internal
|
2017-10-19 01:22:00 -06:00 |
tuxxy
|
447594e30c
|
Add empty test_internal.py
|
2017-10-19 01:04:31 -06:00 |
tuxxy
|
fd54c6bf38
|
Fill out _ecies_gen_ephemeral_key
|
2017-10-19 01:04:02 -06:00 |
tuxxy
|
ec3f95e62f
|
Add placeholder function _ecies_gen_ephemeral_key to _internal.py
|
2017-10-19 00:59:50 -06:00 |
tuxxy
|
a81b6e0f23
|
Add empty _internal.py
This is a place for interal cryptographic functions and possibly
functions that may make it into the core cryptographic api.
|
2017-10-19 00:51:18 -06:00 |
tuxxy
|
c9b35967b4
|
Add placeholder for ecies_ephemeral_split_rekey
|
2017-10-19 00:48:13 -06:00 |
jMyles
|
24b1f4fa92
|
Bringing policy logic back in line with protocol with new crypto tooling.
|
2017-10-18 15:48:20 -07:00 |
jMyles
|
b5033e32f6
|
Lots of housekeeping on various Alice <=-=> Ursula activity in policy.
|
2017-10-18 15:48:11 -07:00 |
jMyles
|
8f3e379ae4
|
Policy now raises Ursula.NotFound if we havne't found an Ursula yet.
|
2017-10-18 15:48:11 -07:00 |
Justin Holmes
|
a0b3c5d8ce
|
Merge pull request #81 from jMyles/ops
Signed up for codecov; adding repo comaptibility.
|
2017-10-17 19:27:34 -07:00 |
jMyles
|
b67f5b5d0d
|
It appears that pytest has its own way of specifying source to measure.
|
2017-10-17 19:12:06 -07:00 |
jMyles
|
334c7807ad
|
Let's see how the graph changes if we only cover nkms.
|
2017-10-17 18:44:37 -07:00 |
jMyles
|
b90da13470
|
Adding .coverage to .gitignore.
|
2017-10-17 18:01:44 -07:00 |
jMyles
|
a3640c9dae
|
Signed up for codecov; adding repo comaptibility.
|
2017-10-17 17:59:12 -07:00 |
Justin Holmes
|
a8b4f975f2
|
Merge pull request #80 from tuxxy/signing-power
Implement SigningPower
|
2017-10-17 16:46:02 -07: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 |
tuxxy
|
9bc43c88e4
|
Use SigningPower instead of SigningKeypair in characters
|
2017-10-17 15:01:25 -06:00 |
tuxxy
|
67b1225cef
|
Add tests test_ecdsa_keypair_signing and test_ecdsa_keypair_verification
|
2017-10-17 14:59:25 -06:00 |
tuxxy
|
4ccdb92ed7
|
Use SigningKeypair.verify in test_signing
|
2017-10-17 14:52:42 -06:00 |
tuxxy
|
2a3e6fcdc3
|
Add verify method to SigningKeypair
|
2017-10-17 14:51:00 -06:00 |
tuxxy
|
32baef1575
|
Add test TestSigningPower and fix SigningPower init params
|
2017-10-17 14:47:51 -06:00 |
tuxxy
|
b28d66374c
|
Add sign method in SigningKeypair call it in SigningPower
|
2017-10-17 14:25:56 -06:00 |
tuxxy
|
d89fd7cf31
|
Add test test_keypair_object to test keypair intialization
|
2017-10-17 14:13:12 -06:00 |
tuxxy
|
506fd8c2d0
|
Add _gen_pubkey method to keystore.keypairs objects and make SigningKeypair inherit from Keypair
|
2017-10-17 14:12:47 -06:00 |
tuxxy
|
254f1d44c0
|
Use keypairs import for SigningKeypair and fix some PEP8 things
|
2017-10-17 13:55:00 -06:00 |
tuxxy
|
1b0ea98980
|
Rename SigningKeypair to SigningPower
|
2017-10-17 13:20:55 -06:00 |
Justin Holmes
|
7693b108ee
|
Merge pull request #78 from jMyles/character-crypto
Character-level encryption, decryption, signing, and verification. Alice, Bob, and Ursula classes working.
|
2017-10-17 10:52:24 -07: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
|
5cebbf16e4
|
Unskipping test - it passes now!
|
2017-10-16 20:21:58 -07:00 |
jMyles
|
9d0fe9e181
|
Compat. with public keys defaulting to bytes instead of tuple.
|
2017-10-16 20:21:45 -07:00 |
jMyles
|
ceecd2bd4b
|
KeyPairs now use API for PRE object.
|
2017-10-16 20:20:33 -07:00 |
jMyles
|
64b907f461
|
Shim to use SigningKeypair.gen_priv while @tuxxy works out SigningPower.
|
2017-10-16 20:14:58 -07:00 |
jMyles
|
758aeaa2d7
|
Compatibility with new encrypt/decrypt functions.
|
2017-10-16 20:13:38 -07:00 |
jMyles
|
aaebf25da5
|
removing generate_random_keypair entirely.
|
2017-10-16 18:19:45 -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
|
5390c8fce5
|
Fixed PolicyGroup to accept Bob, cleaned up tests and removed stale mock material.
|
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
|
a202507978
|
logic to check that passing signature<=-=>message backwards raises TypeError (commented out for now).
|
2017-10-16 18:06:16 -07:00 |
Tux
|
1f21c84d8a
|
Merge pull request #79 from tuxxy/encrypting-power
Add EncryptingPower
|
2017-10-16 16:38:06 -06:00 |
tuxxy
|
84d183ba7c
|
Add tests and fix encrypt/decrypt issues
|
2017-10-16 14:10:56 -06:00 |
tuxxy
|
ed47bdf79b
|
Add test_encrypting_power.py
|
2017-10-16 13:49:53 -06:00 |
tuxxy
|
27234dce73
|
Fix import errors
|
2017-10-16 13:39:46 -06:00 |
tuxxy
|
28b865dff2
|
Undo the last thing
|
2017-10-16 13:21:19 -06:00 |