Tux
|
a1a0abdd75
|
Merge pull request #75 from jMyles/crypto-api
Smoothing Crypto API differences between PRs.
|
2017-10-10 14:17:28 -06:00 |
jMyles
|
9e651af46b
|
Import statements changed while we reorganize.
|
2017-10-10 13:02:45 -07:00 |
jMyles
|
123fa5e5ae
|
Merge commit 'bcca3f8c365e486e4e930e3fdceaf308f1b13dd5' into character-crypto
|
2017-10-10 12:55:27 -07:00 |
tuxxy
|
baef6b87a8
|
Use SystemRandom and add secure_random_range
|
2017-10-10 13:52:11 -06:00 |
Justin Holmes
|
3bf196dd6f
|
Merge pull request #73 from jMyles/character-crypto
[WIP] CryptoPower, CryptoPowerUps, and implementation of the new Crypto API.
|
2017-10-10 12:42:50 -07:00 |
tuxxy
|
12f00611b9
|
Add secure_random
Add comment on Error state
|
2017-10-10 13:24:38 -06:00 |
tuxxy
|
bcca3f8c36
|
Remove Crypto class, use singleton pattern
|
2017-10-10 11:16:23 -06:00 |
tuxxy
|
bd3636faad
|
Add test for ecies_combine
|
2017-10-10 11:04:11 -06:00 |
tuxxy
|
8a16ba51b2
|
Add test for ecies_reencrypt
|
2017-10-10 10:51:13 -06:00 |
jMyles
|
08a3910ce9
|
Yanked and out of - they're now only accessible in .
|
2017-10-09 15:58:38 -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
|
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 |
jMyles
|
76f8edae7b
|
CryptoPower sign() and verify() now work properly.
|
2017-10-06 17:42:18 -07:00 |
jMyles
|
1b54f9dfb3
|
Refraining from hashing the message before signing fixes it.
|
2017-10-06 17:42:18 -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 |
jMyles
|
e6c455e8bb
|
A little more sketching. What will the values of _key_mapping be?
|
2017-10-06 17:42:18 -07:00 |
jMyles
|
05dad4b177
|
Beginning of new KeyRing model per my conversation with @tuxxy.
|
2017-10-06 17:42:18 -07:00 |
tuxxy
|
c36b0b07ee
|
Add test_ecies_split_rekey and placeholders test_ecies_combine and test_ecies_reencrypt
|
2017-10-05 19:46:10 -06:00 |
tuxxy
|
ad74c6aad1
|
Add test_ecies_rekey
|
2017-10-05 19:38:44 -06:00 |
tuxxy
|
5bb6f037e2
|
Add test_ecies_encapsulate and ecies_test_decapsulate
|
2017-10-05 19:33:04 -06:00 |
tuxxy
|
8d2312e742
|
add test_ecies_priv2pub
|
2017-10-05 19:20:14 -06:00 |
tuxxy
|
58a3e23f5f
|
Add test_ecies_gen_priv
|
2017-10-05 19:16:30 -06:00 |
tuxxy
|
56d05edea7
|
Add tests for symm_encrypt and symm_decrypt
|
2017-10-05 19:14:21 -06:00 |
tuxxy
|
5faa1a2fbc
|
Add tests for priv_bytes2ec and pub_bytes2ec
|
2017-10-05 19:08:13 -06:00 |
tuxxy
|
484e4908a3
|
Use proper elliptic_curve element class
|
2017-10-05 19:02:07 -06:00 |
tuxxy
|
59d3b37440
|
Add empty file for test_crypto.py
|
2017-10-05 18:52:14 -06:00 |
tuxxy
|
765640ca54
|
Add ecies_combine method
|
2017-10-05 18:40:06 -06:00 |
tuxxy
|
35176d950d
|
Add ecies_split_rekey method
|
2017-10-05 18:35:05 -06:00 |
tuxxy
|
cfa8ffaf84
|
Add ecies_reencrypt method
|
2017-10-05 18:27:39 -06:00 |
tuxxy
|
45c8ee8d2b
|
Add ecies_rekey method w/ serialization
|
2017-10-05 18:03:53 -06:00 |
tuxxy
|
1c5b55b52f
|
Handle serialization bytes <--> elliptic_curve.Element
Fix formatting
|
2017-10-05 17:42:02 -06:00 |
tuxxy
|
a245dba04c
|
Add pub_bytes2ec
|
2017-10-05 17:32:40 -06:00 |
tuxxy
|
58f632b7a3
|
Add priv_bytes2ec method:
|
2017-10-05 17:23:30 -06:00 |
tuxxy
|
a5cd0759b1
|
Add priv2pub method
|
2017-10-05 17:03:23 -06:00 |
tuxxy
|
eb74e98c90
|
Add ECIES de/encapsulate methods and gen_priv methods and format code better
|
2017-10-05 16:58:14 -06:00 |
tuxxy
|
82928a78a3
|
Add symm_encrypt and symm_decrypt to crypto
|
2017-10-05 16:36:20 -06:00 |
tuxxy
|
56baf587a1
|
Add empty crypto.py file
|
2017-10-05 16:00:59 -06:00 |
Justin Holmes
|
ccb511268f
|
Merge pull request #72 from jMyles/network
TreasureMap is stored on a 'free tier' k:v DHT and is available via deterministic ID. Policy IDs are now random-ish.
|
2017-10-04 13:20:51 -07:00 |
jMyles
|
208db55d4c
|
Removed the awful list comp tuple pack in favor of @michwell's much better way. If anybody ever accuses me of writing that thing, I reserve the right to say I was hacked.
|
2017-10-04 13:08:41 -07:00 |
jMyles
|
004437e8f6
|
Policy models are now worked out such that the TreasureMap is stored on a 'free tier' k:v DHT.
|
2017-10-03 21:13:46 -07:00 |
jMyles
|
73ec0079a4
|
Fixes #68 by attaching server during test.
|
2017-10-03 17:57:18 -07:00 |
jMyles
|
40171da964
|
Two-tier ID generation.
|
2017-10-03 17:52:28 -07:00 |
jMyles
|
c9983482d3
|
A little more logic for Alice's initial activity to craft an Offer and find Ursula.
|
2017-10-03 17:52:28 -07:00 |
jMyles
|
a76248361b
|
First semblance of two-part negotiation Alice -=> Ursula.
|
2017-10-03 17:51:49 -07:00 |
Justin Holmes
|
4dfb4c4b59
|
Merge pull request #67 from tuxxy/iterable-signing
Allow iterables to be digested and signed
|
2017-10-03 17:07:59 -07:00 |
tuxxy
|
fc7c2dfd98
|
Use *args instead of an iterable for SigningKeypair.digest
|
2017-10-03 18:08:40 -06:00 |
tuxxy
|
759894f00b
|
Skip broken test
|
2017-10-03 16:09:37 -06:00 |