Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | crypto: delete old key management stuff | Felix Lange | 2015-03-10 | 4 | -492/+0 |
| | |||||
* | Fix key store address hex decoding and accounts test | Gustav Simonsson | 2015-02-25 | 1 | -2/+5 |
| | | | | Thanks to https://github.com/jaekwon for original fix! | ||||
* | Implement OS sensitive dataDirs | Maran | 2015-02-23 | 2 | -11/+5 |
| | |||||
* | crypto: switch to golang.org/x/crypto | Felix Lange | 2015-02-17 | 2 | -5/+7 |
| | | | | | code.google.com/p/go.crypto is deprecated and will cause problems in future versions of Go. | ||||
* | Added invalid sec key test | obscuren | 2015-02-16 | 1 | -1/+10 |
| | |||||
* | Validate seckey when generating pub key | obscuren | 2015-02-15 | 1 | -1/+6 |
| | |||||
* | Moved ECIES to repo & added secondary title for webview | obscuren | 2015-02-14 | 1 | -1/+1 |
| | | | | | * ECIES moved from obscuren to ethereum * Added html META[name=badge] to reflect menuItem.secondaryTitle | ||||
* | Add 'crypto/ecies/' from commit '7c0f4a9b18d992166452d8cd32caaefd92b26386' | obscuren | 2015-02-14 | 7 | -0/+1703 |
| | | | | | | git-subtree-dir: crypto/ecies git-subtree-mainline: 49a739c8d647739b3d815966f8854a4e9978df56 git-subtree-split: 7c0f4a9b18d992166452d8cd32caaefd92b26386 | ||||
* | Merge branch 'align_key_and_ecdsa_nonce_entropy' of ↵ | obscuren | 2015-02-14 | 6 | -125/+105 |
|\ | | | | | | | https://github.com/Gustav-Simonsson/go-ethereum into Gustav-Simonsson-align_key_and_ecdsa_nonce_entropy | ||||
| * | Remove secp256_rand.go and update tests | Gustav Simonsson | 2015-02-14 | 2 | -107/+11 |
| | | |||||
| * | Unexport randEntropy type and use exported Reader instead | Gustav Simonsson | 2015-02-13 | 2 | -5/+7 |
| | | |||||
| * | Set both key generation and ECDSA nonce to use mixed entropy | Gustav Simonsson | 2015-02-11 | 4 | -18/+92 |
| | | | | | | | | | | | | * Move random entropy functions to new package randentropy * Add function to get n bytes entropy where up to first 32 bytes are mixed with OS entropy sources | ||||
* | | crypto: add key loading functions | Felix Lange | 2015-02-10 | 2 | -1/+30 |
| | | |||||
* | | crypto: make it easier to run Sha3 on multiple inputs | Felix Lange | 2015-02-06 | 2 | -4/+5 |
|/ | | | | | crypto.Sha3(append(foo, bar)) --> crypto.Sha3(foo, bar) crypto.Sha3([]byte{}) --> crypto.Sha3() | ||||
* | Merge branch 'bounty' into develop | obscuren | 2015-02-01 | 1 | -1/+2 |
|\ | |||||
| * | Fixed n | obscuren | 2015-02-01 | 1 | -1/+2 |
| | | |||||
* | | Merge branch 'bounty' into develop | obscuren | 2015-02-01 | 2 | -6/+2 |
|\| | |||||
| * | Fixed Sign nonce | obscuren | 2015-02-01 | 2 | -6/+2 |
| | | |||||
* | | Fixed whisper pub key bug | obscuren | 2015-01-30 | 1 | -1/+1 |
| | | | | | | | | | | * Unrecoverable messages would cause segfault when recovering invalid pub key | ||||
* | | Address pull request comments | Gustav Simonsson | 2015-01-28 | 3 | -8/+7 |
| | | | | | | | | | | | | | | | | | | * Use crypto.Sign instead of directly calling secp256k1 lib * Rename UserAccount to Account and Addr to Address (for consistency) * Change AccountManager.Sign to take ptr to Account instead of address byte array * Simplify copying of Accounts in Accounts() * PubkeyToAddress and GetEntropyCSPRNG now exported | ||||
* | | Add accounts package and refactor key stores | Gustav Simonsson | 2015-01-26 | 5 | -55/+87 |
| | | | | | | | | | | | | | | | | * Add initial UserAccount and AccountManager structs * Add NewAccount, Sign and Accounts functions * Refactor key stores to use key address as main identifier while keeping the UUID. * Use key address as file/dir names instead of UUID | ||||
* | | Merge branch 'import_presale_keys' of ↵ | obscuren | 2015-01-23 | 4 | -49/+124 |
|\ \ | |/ |/| | | | | | | | | | https://github.com/Gustav-Simonsson/go-ethereum into Gustav-Simonsson-import_presale_keys Conflicts: crypto/crypto.go | ||||
| * | CamelCase aesCBCDecrypt | Gustav Simonsson | 2015-01-22 | 2 | -3/+3 |
| | | |||||
| * | Add ImportPreSaleKey | Gustav Simonsson | 2015-01-21 | 4 | -49/+123 |
| | | | | | | | | | | | | * ImportPreSaleKey takes a KeyStore, a presale key JSON (e.g. file content) and a password string. It stores the key in the given key store. * Refactored common AES decryption and moved some functions to crypto.go | ||||
* | | Use curve params instead of hardcoded 32 bytes | obscuren | 2015-01-23 | 1 | -1/+1 |
| | | |||||
* | | Pad private key when signing & length check for hashes in sign | obscuren | 2015-01-23 | 2 | -2/+19 |
|/ | |||||
* | Moved `obscuren` secp256k1-go | obscuren | 2015-01-22 | 50 | -3/+6430 |
| | |||||
* | Moved sha3 from `obscuren` | obscuren | 2015-01-22 | 3 | -1/+388 |
| | |||||
* | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-01-20 | 4 | -0/+551 |
|\ | |||||
| * | Address pull request comments | Gustav Simonsson | 2015-01-20 | 2 | -9/+4 |
| | | | | | | | | | | * Further simplify "constructor" function's allocation of structs * Fix formatting | ||||
| * | Address pull request comments | Gustav Simonsson | 2015-01-20 | 2 | -10/+8 |
| | | | | | | | | | | * Allocate with composite literal instead of new * Remove check of number of bytes read from rand | ||||
| * | Update code comments | Gustav Simonsson | 2015-01-16 | 1 | -6/+4 |
| | | |||||
| * | Address pull request comments | Gustav Simonsson | 2015-01-16 | 4 | -215/+88 |
| | | | | | | | | | | | | | | | | * Remove flags field from key struct * Change JSON struct fields from string to []byte * Change GenerateNewKey API to take io.Reader for random source * Remove mixing entropy source function * Use testing Fatal in tests | ||||
| * | Address pull request comments | Gustav Simonsson | 2015-01-16 | 4 | -84/+91 |
| | | | | | | | | | | | | | | | | | | * Simplify scrypt constants with const block * Add key store constructors and make their types private * Simplify key store and file namings to be less Java Enterprise™ * Change test error logging to use t.Error(err) * Reduce number of naked returns (just like my ex-gf) * Simplify file reading path code | ||||
| * | Add new key_store interface and two new key stores | Gustav Simonsson | 2015-01-16 | 4 | -0/+680 |
| | | | | | | | | | | | | | | * Add new generic key_store interface * Add new plaintext key store storing unprotected keys on disk * Add new encrypted key store storing encrypted keys on disk * Add new entropy mixing function using OS and go runtime sources | ||||
* | | Added 0 key proof error | obscuren | 2015-01-19 | 1 | -0/+13 |
|/ | | | | | Private key \x00\x00...\x00 returns the _exact_ same public key as \x11 \x11...\x11. Currently investigating. | ||||
* | pre-pow | obscuren | 2015-01-12 | 1 | -0/+13 |
| | |||||
* | fixed tests | obscuren | 2014-12-13 | 1 | -1/+1 |
| | |||||
* | Added length checkes | obscuren | 2014-12-13 | 1 | -1/+18 |
| | |||||
* | Changed new methods to use ecdsa package for pub prv keys | obscuren | 2014-12-10 | 2 | -26/+35 |
| | |||||
* | Added Encrypt & Decrypt using the ECIES w/ tests | obscuren | 2014-12-10 | 2 | -0/+82 |
| | |||||
* | Added S256 curve | obscuren | 2014-12-10 | 1 | -0/+363 |
| | |||||
* | Show newly created private key during startup. Closes #126 | obscuren | 2014-12-05 | 1 | -0/+4 |
| | |||||
* | try to get full coverage report on travis | Taylor Gerring | 2014-11-15 | 1 | -109/+109 |
| | |||||
* | ethcrypto => crypto | obscuren | 2014-10-31 | 10 | -0/+2393 |