Tux
|
453ce8d1b3
|
Merge pull request #74 from tuxxy/crypto-api
[WIP] Implement a low-level, frozen ECIES PRE Cryptographic API w/ serialization
|
2017-10-10 21:20:25 -06:00 |
tuxxy
|
42ee8fc8c9
|
Remove unneeded hash.py file
|
2017-10-10 20:32:37 -06: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 |
tuxxy
|
84ba50ddf6
|
Remove the use of msgpack
|
2017-10-10 19:05:20 -06:00 |
tuxxy
|
f8f2281528
|
Import nkms.crypto.api in test_api
|
2017-10-10 17:26:29 -06:00 |
tuxxy
|
2f5c507bcd
|
Rename test_crypto.py to test_api.py
|
2017-10-10 17:25:17 -06:00 |
tuxxy
|
954d898aa2
|
Rename crypto.py to api.py
|
2017-10-10 17:24:43 -06:00 |
tuxxy
|
2a8195cd83
|
Add test for ecdsa_priv2pub
|
2017-10-10 17:23:56 -06:00 |
tuxxy
|
be45b18258
|
Add tests for ecdsa_sign and ecdsa_verify
|
2017-10-10 17:20:48 -06:00 |
tuxxy
|
2b16609e85
|
Add ecdsa_pub2bytes and ecdsa_bytes2pub
Fix comment
|
2017-10-10 17:09:10 -06:00 |
tuxxy
|
f697602390
|
Add ecdsa_gen_priv function and test
|
2017-10-10 16:30:19 -06:00 |
tuxxy
|
b385d3f5bd
|
Add tests for ecdsa_gen/load_sig
|
2017-10-10 16:18:17 -06:00 |
tuxxy
|
8269e5c396
|
Add test for keccak_digest
|
2017-10-10 16:14:49 -06:00 |
tuxxy
|
2263678c76
|
Add tests for the secure_random functions
|
2017-10-10 16:09:01 -06:00 |
tuxxy
|
539f537067
|
Add ecdsa_sign
|
2017-10-10 15:58:32 -06:00 |
tuxxy
|
dcfdf1b2d2
|
Rename vrs_msgpack_dump/load to ecdsa_gen/load_sig
|
2017-10-10 15:49:56 -06:00 |
tuxxy
|
b55722f770
|
Move pub/priv_bytes2ec to logical place
|
2017-10-10 15:49:56 -06:00 |
tuxxy
|
fb0d6fc676
|
Rename to keccak_digest
|
2017-10-10 15:27:45 -06:00 |
tuxxy
|
ce8b222197
|
Merge jmyle's PR fixing stuff
|
2017-10-10 15:03:06 -06:00 |
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 |