Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core/secp256k1: update libsecp256k1 Go wrapper and tests | Gustav Simonsson | 2015-10-09 | 1 | -1/+9 |
| | |||||
* | Change go-uuid to use the current supported repository. | Jeff R. Allen | 2015-09-12 | 1 | -1/+1 |
| | |||||
* | all: fix license headers one more time | Felix Lange | 2015-07-24 | 1 | -1/+1 |
| | | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a. | ||||
* | all: update license headers to distiguish GPL/LGPL | Felix Lange | 2015-07-23 | 1 | -4/+4 |
| | | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library". | ||||
* | all: update license information | Felix Lange | 2015-07-07 | 1 | -0/+16 |
| | |||||
* | fix account ordering | zelig | 2015-07-03 | 1 | -1/+1 |
| | | | | | | | | * chronological order of creation * new naming scheme keystore/UTC--<created_at UTC ISO8601>-<address hex> * KeyStore2 -> KeyStore * backward compatibility * refactor keyStore methods | ||||
* | Change keystore to version 3 | Gustav Simonsson | 2015-06-24 | 1 | -7/+19 |
| | | | | | | | | | | | | * Change password protection crypto in keystore to version 3 * Update KeyStoreTests/basic_tests.json * Add support for PBKDF2 with HMAC-SHA256 * Change MAC and encryption key to avoid unnecessary hashing * Add tests for test vectors in new wiki page defining version 3 * Add tests for new keystore tests in ethereum/tests repo * Move JSON loading util to common for use in both tests and crypto packages * Add backwards compatibility with key store version 1 | ||||
* | crypto: return common.Address rather than raw bytes | obscuren | 2015-06-05 | 1 | -4/+4 |
| | |||||
* | Initialise curve N value in package init | Gustav Simonsson | 2015-06-03 | 1 | -1/+3 |
| | |||||
* | Add EC signature validations before call to libsecp256k1 | Gustav Simonsson | 2015-06-02 | 1 | -0/+14 |
| | |||||
* | Change default keystore dir | Gustav Simonsson | 2015-05-13 | 1 | -1/+1 |
| | |||||
* | Update key store to new spec but keep address field for now | Gustav Simonsson | 2015-05-12 | 1 | -1/+1 |
| | | | | * Also fix address types post-rebase | ||||
* | Use common.Address type for accounts.Address | Gustav Simonsson | 2015-05-12 | 1 | -3/+3 |
| | |||||
* | Improve key store passphrase crypto | Gustav Simonsson | 2015-05-12 | 1 | -1/+1 |
| | | | | | | | * Change MAC-then-Encrypt to Encrypt-then-MAC * Change AES256 to AES128 * Use first 16 bytes of KDF derived key for AES and remaining 16 for MAC | ||||
* | Add loading of block test privkey if present | Gustav Simonsson | 2015-04-28 | 1 | -0/+13 |
| | |||||
* | crypto: update {Load,Save}ECDSA comments to mention hex encoding | Felix Lange | 2015-04-19 | 1 | -2/+3 |
| | |||||
* | removed utility function and implemented hex conversation in crypto functions | Bas van Kervel | 2015-04-09 | 1 | -2/+9 |
| | |||||
* | Support for import/export hex encoded keys, closes #635 | Bas van Kervel | 2015-04-09 | 1 | -3/+3 |
| | |||||
* | Forward and log EC recover err and remove dup pubkey len check | Gustav Simonsson | 2015-04-07 | 1 | -9/+7 |
| | |||||
* | Cleanup. | obscuren | 2015-03-29 | 1 | -9/+7 |
| | |||||
* | common: remove WriteFile and ReadAllFile (use ioutil instead) | zelig | 2015-03-27 | 1 | -2/+4 |
| | |||||
* | import/export accounts | zelig | 2015-03-27 | 1 | -0/+5 |
| | | | | | | | | | | | - cli: add passwordfile flag - cli: change unlock flag only takes account - cli: with unlock you are prompted for password or use passfile with password flag - cli: unlockAccount used in normal client start (run) and accountExport - cli: getPassword used in accountCreate and accountImport - accounts: Manager.Import, Manager.Export - crypto: SaveECDSA (to complement LoadECDSA) to save to file - crypto: NewKeyFromECDSA added (used in accountImport and New = generated constructor) | ||||
* | Merge remote-tracking branch 'ethereum/conversion' into conversion | Felix Lange | 2015-03-17 | 1 | -2/+5 |
|\ | |||||
| * | converted vm | obscuren | 2015-03-17 | 1 | -2/+5 |
| | | |||||
* | | crypto: fix Sha3Hash and add a test for it | Felix Lange | 2015-03-17 | 1 | -1/+1 |
|/ | |||||
* | crypto: add Sha3Hash | Felix Lange | 2015-03-17 | 1 | -1/+10 |
| | |||||
* | Moved ethutil => common | obscuren | 2015-03-16 | 1 | -5/+5 |
| | |||||
* | crypto: switch to golang.org/x/crypto | Felix Lange | 2015-02-17 | 1 | -2/+2 |
| | | | | | code.google.com/p/go.crypto is deprecated and will cause problems in future versions of Go. | ||||
* | 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 | ||||
* | crypto: add key loading functions | Felix Lange | 2015-02-10 | 1 | -0/+28 |
| | |||||
* | crypto: make it easier to run Sha3 on multiple inputs | Felix Lange | 2015-02-06 | 1 | -3/+4 |
| | | | | | crypto.Sha3(append(foo, bar)) --> crypto.Sha3(foo, bar) crypto.Sha3([]byte{}) --> crypto.Sha3() | ||||
* | 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 | 1 | -4/+3 |
| | | | | | | | | | * 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 | 1 | -2/+8 |
| | | | | | | | | * 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 | 1 | -0/+105 |
|\ | | | | | | | | | | | | | https://github.com/Gustav-Simonsson/go-ethereum into Gustav-Simonsson-import_presale_keys Conflicts: crypto/crypto.go | ||||
| * | CamelCase aesCBCDecrypt | Gustav Simonsson | 2015-01-22 | 1 | -2/+2 |
| | | |||||
| * | Add ImportPreSaleKey | Gustav Simonsson | 2015-01-21 | 1 | -0/+104 |
| | | | | | | | | | | | | * 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 | 1 | -1/+6 |
|/ | |||||
* | Moved `obscuren` secp256k1-go | obscuren | 2015-01-22 | 1 | -1/+1 |
| | |||||
* | Moved sha3 from `obscuren` | obscuren | 2015-01-22 | 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 | 1 | -23/+32 |
| | |||||
* | Added Encrypt & Decrypt using the ECIES w/ tests | obscuren | 2014-12-10 | 1 | -0/+42 |
| | |||||
* | ethcrypto => crypto | obscuren | 2014-10-31 | 1 | -0/+47 |