Commit Graph

12118 Commits (1f67e4dfe228b8490d339f819eaf9df996eff289)

Author SHA1 Message Date
derekpierre 1f67e4dfe2
Update requirements to use ape >= 0.8 and relock dependencies. 2024-09-12 15:53:41 -04:00
Derek Pierre c1ad4e8154
Merge pull request #3545 from derekpierre/public-keys-cleanup
`ursula public-keys` error message cleanup
2024-09-12 15:53:40 -04:00
derekpierre 4c592e069c
Add dev newsfragment for #3545. 2024-09-12 15:53:39 -04:00
derekpierre f432c8b61f
Update public-keys test accordingly. 2024-09-12 15:53:39 -04:00
derekpierre c4414d3b26
Update ursula public-keys CLI error message based on parameter usage. 2024-09-12 15:53:38 -04:00
KPrasch d207b534bf
Merge pull request #3538 from derekpierre/public-keys
Key Recovery and Auditing Tools
2024-09-12 15:53:37 -04:00
derekpierre 28066fdc58
Add tests for `nucypher ursula audit` when the keystore-filepath is provided.
General file cleanup.
2024-09-12 15:53:37 -04:00
derekpierre a985c91bd6
Don't try to obtain config file unless keystore-filepath is not provided. 2024-09-12 15:53:36 -04:00
KPrasch 8ef133be9f
prevent passing conflicting options key_material and with_mnemonic 2024-09-12 15:53:35 -04:00
derekpierre b435e631e0
Add inital tests for `nucypher ursula audit`. 2024-09-12 15:53:35 -04:00
derekpierre 7d1c4949fa
Raise click.Abort() if mnemonic does not match when executing `audit` command. 2024-09-12 15:53:34 -04:00
derekpierre f2bbb164e7
Add tests for `nucypher ursula recover`. 2024-09-12 15:53:34 -04:00
derekpierre 6e63f610be
It is actually possible to specify config-file and keystore-filepath. The keystore-filepath is simply used to update the keystore_path value in the config-file specified. 2024-09-12 15:53:33 -04:00
derekpierre c8c22c3d23
Update public-keys test to use resolve() instead of absolute(). 2024-09-12 15:53:32 -04:00
derekpierre a3f3b61cb1
Use Path.resolve() for printing filepaths to CLI. 2024-09-12 15:53:32 -04:00
derekpierre d167bb356f
Add tests for `nucypher ursula public-keys` command. 2024-09-12 15:53:31 -04:00
derekpierre f4144a5bcc
Don't create UrsulaConfiguration object unless we have to. 2024-09-12 15:53:31 -04:00
derekpierre 89e1530655
Adjust `nucypher ursula recover` so that when keystore filepath is provided we properly use it, and don't try to recover using a mnemonic. 2024-09-12 15:53:30 -04:00
derekpierre cb89bdaac8
Ensure that we raise click.Abort(). 2024-09-12 15:53:29 -04:00
KPrasch 1e08388565
Support for complete node reinitialization/relocation using an existing mnemonic 2024-09-12 15:53:29 -04:00
derekpierre e4694c9ea1
Fix pre-commit hook for running unit tests, since the script's path has changed. 2024-09-12 15:53:28 -04:00
derekpierre 019569c36e
Use 2-space indents.
Truncate the file so that any additional data after the overwrite gets removed.
2024-09-12 15:53:27 -04:00
KPrasch b6738b4ac0
fixes missing return statement 2024-09-12 15:53:27 -04:00
KPrasch 4f29da7961
newsgrag for PR #3538 2024-09-12 15:53:26 -04:00
KPrasch 67c88697e3
Expands Keystore API to include audit and recovery features 2024-09-12 15:53:26 -04:00
KPrasch 9c345a97df
expands recovery CLI into three commands for keystore identification and auditing 2024-09-12 15:53:25 -04:00
KPrasch 98e3b37365
Expands public-keys CLI command to use default keystore filepath from config 2024-09-12 15:53:24 -04:00
KPrasch 8b4bc22499
Expand recovery CLI to include password and mnemonic verification features 2024-09-12 15:53:24 -04:00
derekpierre c5b2204e84
Open file for reading, and then for writing to prevent dangling data at the end if updated data is shorter than existing data. 2024-09-12 15:53:23 -04:00
derekpierre 321ffd4a98
Remove additional unnecessary CLI options for the "ursula recover" command. 2024-09-12 15:53:23 -04:00
derekpierre c64e5c8643
Added "nucypher ursula public-keys" for printing ferveo key based on current keystore.
Co-authored-by: KPrasch <kieranprasch@gmail.com>
2024-09-12 15:53:22 -04:00
derekpierre 8ff2c9e6b3
Update ursula recover to update keystore path entry in existing ursula configuration file.
Co-authored-by: KPrasch <kieranprasch@gmail.com>
2024-09-12 15:53:21 -04:00
KPrasch 680cd0129e
Merge pull request #3523 from KPrasch/dkg
DKG verification script
2024-09-12 15:53:20 -04:00
derekpierre df3296b1f8
Add dev newsfragment for #3523. 2024-09-12 15:53:20 -04:00
derekpierre 40942d6f53
Remove license text and not applicable comment. 2024-09-12 15:53:19 -04:00
derekpierre d7672f41b6
Modify script to either run for a specific ritual or across the entire network. 2024-09-12 15:53:18 -04:00
derekpierre 33588a5e48
Add script for detecting discrepancies between reported ferveo key and current ferveo key used by node. 2024-09-12 15:53:18 -04:00
KPrasch ee37b1557b
Initial draft of DKG verification script 2024-09-12 15:53:17 -04:00
KPrasch 0c542e57ec
Merge pull request #3542 from cygnusv/nucypher-dkg-mainnet
Allow nucypher-dkg script to be used on mainnet
2024-09-12 15:53:16 -04:00
Derek Pierre 74cd95aadd
Merge pull request #3535 from derekpierre/fee-model
Fee Model Architecture Update For Tests
2024-09-12 15:53:15 -04:00
David Núñez 1aac60f062
Allow nucypher-dkg script to be used on mainnet 2024-09-12 15:53:14 -04:00
Derek Pierre 66c362060f
Apply RFC for #3535
Co-authored-by: KPrasch <kieranprasch@gmail.com>
2024-09-12 15:53:10 -04:00
derekpierre b733224135
Use the `main` branch for nucypher-contracts now that the work from `epic-subscription` in `nucypher-contracts` has been merged. 2024-09-12 15:53:09 -04:00
derekpierre 43c3a17e6a
Add dev newsfragment for #3535. 2024-09-12 15:53:08 -04:00
derekpierre 13510ecaa9
It's possible (for now) for a Ritual to not have a fee model address associated with it (legacy lynx for example). 2024-09-12 15:53:08 -04:00
derekpierre 2463fdcd07
Use fee model with dkg failures test. 2024-09-12 15:53:07 -04:00
derekpierre 499125a835
Use epic-subscription branch in ape-config.yaml. 2024-09-12 15:53:06 -04:00
derekpierre acc1615529
Re-organize code to make testing easier for now - this should probably be made cleaner, but in the interim it allows the tests to pass. 2024-09-12 15:53:06 -04:00
derekpierre ad04e6efa1
Finish renaming from derive_decryption_share to produce_decryption_share. 2024-09-12 15:53:05 -04:00
David Núñez 7f746bf022
Draft of how to query IEncryptionAuthorized directly, instead of via Coordinator 2024-09-12 15:53:05 -04:00