Commit Graph

2527 Commits (27f3907a9a719b9be8b7c50a2c31bf1f2713adf6)

Author SHA1 Message Date
Kieran Prasch 3affe90d34 Allow existing metadata files to be loaded into a development node with CLI flag; Update demo args to use metadata file. 2018-10-05 23:28:21 -07:00
Kieran Prasch 5bef28a4d4 Cleanup power derivation from keyring 2018-10-05 23:26:23 -07:00
Kieran Prasch 5f69c6f983 Allow keyless installation via CLI 2018-10-05 20:19:05 -07:00
Kieran Prasch e7782906b4 Exception handling for CLI Ursulas 2018-10-05 20:18:00 -07:00
Kieran Prasch fe65a7d49d Allow reloading of node nodes from disk using NodeConfiguration.produce; Dont handle stored private keys in development mode 2018-10-05 20:17:13 -07:00
Kieran Prasch 888a4d4382 Character pre-init logic for keying in dev mode and for pre-existing accounts 2018-10-05 20:17:13 -07:00
Kieran Prasch e472f5b5bb Add inline option validation and debugging options to run_ursula CLI. 2018-10-05 20:17:13 -07:00
Kieran Prasch 3a31468512 Running multi-host env via CLI; Temp config keyring handling 2018-10-05 20:17:13 -07:00
Kieran Prasch 1587bf6457 Fixes decryption failure; Uses constants for encoding and decoding, closure for bundling key data as JSON. 2018-10-05 20:17:13 -07:00
Kieran Prasch 840f34df77 Split configuration payloads into static and dynamic subpayloads 2018-10-05 20:17:13 -07:00
Kieran Prasch fe84935768 Create configurations to/from JSON files 2018-10-05 20:17:13 -07:00
Kieran Prasch cc627bb908 Improve exception handling when connecting to the blockchain; Improve code style of character base 2018-10-05 20:17:03 -07:00
Kieran Prasch 97dc8628e4 Add Ursula installation flag, add docs and colors to CLI. 2018-10-04 14:44:19 -07:00
Kieran Prasch aca657919b Attach NucypherKeyring to NodeConfigurations for restoration of identity from filesystem. 2018-10-04 14:43:31 -07:00
Kieran Prasch e48a6ca946 Allow the creation of node configurations in CLI for multiple character classes 2018-10-04 14:37:10 -07:00
Kieran Prasch 096d1bb048 Remove .ini formatted configuration and parsers 2018-10-04 14:36:03 -07:00
K Prasch b5c792b087
Merge pull request #467 from jMyles/character-crypto
Protection against node metadata replay attacks.
2018-10-03 11:50:57 -07:00
Kieran Prasch 99532d581a Use click built-in tooling for more eager and through CLI input validation; Document all CLI options. 2018-10-02 21:29:23 -07:00
Kieran Prasch eea6e5ea01 Reintroduce skipped CLI tests; Cleaup non-critical or stale stubs. 2018-10-02 21:19:23 -07:00
Kieran Prasch 5b0eb0003d Allow Vladimir to claim a BlockchainPower on the target Ursula's node; Use EvilMiddleware (skip Vladimir's SSL) 2018-10-02 21:19:23 -07:00
Kieran Prasch 76d8a2efd5 deprecate usage of certificates_dir from TLSKeypair and HostingPower 2018-10-02 21:19:23 -07:00
Kieran Prasch bf549db7f3 Learner is a concrete class; Handle unresponsive teacher nodes at startup. 2018-10-02 21:19:23 -07:00
Kieran Prasch 41d0ed5b0b Integrate with timestamp verification when remembering node by saving the cert to disk first. 2018-10-02 21:19:23 -07:00
Kieran Prasch cc5812f797 Improves CLI code style and conventions; Adds --force option to configure command. 2018-10-02 21:19:00 -07:00
Kieran Prasch 42f051f891 Save cert to disk when remembering node; Use host as certificate's common name and remove common_name from HostingKeypair 2018-10-02 11:32:55 -07:00
Kieran Prasch 1ab6fe5d31 Deprecate stale DHT Protocol classes 2018-10-02 11:32:55 -07:00
Kieran Prasch 246eb72e23 Provide flag for installing nucypher without a registry (for development); Log emissions for NodeConfiguration 2018-10-02 11:32:55 -07:00
Kieran Prasch a5441a01dc Use pasphrase to substantiate stamp 2018-10-02 11:32:55 -07:00
Kieran Prasch f9cfd597d4 Pass TLS certificate filepaths into node_information endpoint 2018-10-02 11:32:55 -07:00
Kieran Prasch 2805beb6be Update ursula CLI to save self-metadata; Check provider URI is tester at testing-startup 2018-10-02 11:32:55 -07:00
Kieran Prasch e3b78d0fd4 Use closures to encapsulate deploy logic; Restore functionality of the status CLI 2018-10-02 11:32:55 -07:00
Kieran Prasch 3337cdc994 Ensure accounts CLI can connect to blockchain with defaults and overrides; Do not validate blank registry. 2018-10-02 11:32:55 -07:00
Kieran Prasch f791e616ed Tighten up CLI connect to blockchain logic, collect pssphrase; Leave more CLI defaults to NodeConfiguration 2018-10-02 11:32:55 -07:00
Kieran Prasch 501bccc793 Limit CLI simulate command to test providers; Execute simulation using UrsulaProcessProtocol 2018-10-02 11:32:55 -07:00
Kieran Prasch 64351889e4 Allow CLI generation of both local and hosted transacting keys 2018-10-02 11:32:55 -07:00
Kieran Prasch 002e4275ca Check arming status with deployment readiness checks; Renaming 2018-10-02 11:32:55 -07:00
Kieran Prasch 80890ad026 Interleave deployment readiness checks with arming, passing through disqualifications to the CLI 2018-10-02 11:32:55 -07:00
Kieran Prasch 27d07be8e7 expand parameters of Blockchain.connect to include deployment and compilation options. 2018-10-02 11:32:55 -07:00
Kieran Prasch 72d07621fe Add deploy command; deprecate run_ursula infavor of ursula <action> 2018-10-02 11:32:55 -07:00
Kieran Prasch e1a67bf772 Restore use of CLI config class; Use shared cli flags and CLI config class throughout CLI.main 2018-10-02 11:32:55 -07:00
Kieran Prasch ab798bb4f3 Carefully piece together NodeConfiguration that works for lazy, temp, test, and real configs; Read seed registry 2018-10-02 11:32:55 -07:00
Kieran Prasch c99eae3605 Marks faileds TX regarding transaction gas. 2018-10-02 11:32:55 -07:00
Kieran Prasch b8b8d31118 Remove hot-swapping of registry at agent-init time; Require agency for acting. 2018-10-02 11:32:55 -07:00
Kieran Prasch 4ab2807a9f Update test fixture to testerchain netloc URI; Inreaces test coverage for deployer and agent. 2018-10-02 11:32:55 -07:00
Kieran Prasch 8dd1fe4b1d Token agency methods for geth node compadibility, Include transfer tokens agent method; Only init Miner if is_me is True 2018-10-02 11:32:55 -07:00
Kieran Prasch bd64521992 The Staking Loop; Add POA ans staking node configuration options 2018-10-02 11:32:55 -07:00
Kieran Prasch 74d52bba80 Require passphrase to substantiate_stamp; Integrate with CLI 2018-10-02 11:32:55 -07:00
Kieran Prasch bd88048f7b Fixes parameter merging bug; Set only uninitialized configuration to allow for individual settings to be flipped in the CLI 2018-10-02 11:32:55 -07:00
Kieran Prasch c2d2020839 Lazify path generation for NucypherKeyring 2018-10-02 11:32:55 -07:00
Kieran Prasch 8663bae64e Dedicated method for writing the default blank registry at installation-time; Use no_seed_registry configuration during tests 2018-10-02 11:32:44 -07:00