Skip to content

Commit

Permalink
migrate keystore-path to keystore
Browse files Browse the repository at this point in the history
  • Loading branch information
vadiminc committed Jan 24, 2024
1 parent a6a4c97 commit d8d9522
Show file tree
Hide file tree
Showing 23 changed files with 34 additions and 191 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ yarn cli <action> --help
To run you will use the "shares" command

**Input parameters:**
- keystore (ks) = The validator keystore file path. Only one keystore file can be specified using this argument
- keystore-path (kp) = The path to the folder containing validator keystore files. If a folder is provided, all keystore files within the provided folder will be split according to the provided arguments. This argument should not be used together with the `keystore` argument
- keystore (ks) = The path to either a validator keystore file or a folder that contains multiple validator keystore files. If a folder is provided, it will split in bulk all the keystore files within it according to the additional arguments provided
- password (ps) = The keystore file encryption password, if a folder was provided the password will be used for all keystore files in the folder
- operator-ids (oids) = Comma-separated list of operator IDs. The amount must be 3f+1 compatible
- operator-keys (oks) = Comma-separated list of operator keys (same sequence as operator ids). The amount must be 3f+1 compatible
Expand Down
4 changes: 2 additions & 2 deletions dist/esbuild/main.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/esbuild/main.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/tsc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ssv-keys",
"version": "1.0.9",
"version": "1.0.10",
"description": "Tool for splitting a validator key into a predefined threshold of shares via Shamir-Secret-Sharing (SSS), and encrypt them with a set of operator keys.",
"author": "SSV.Network",
"repository": "https://github.com/bloxapp/ssv-keys",
Expand Down
4 changes: 0 additions & 4 deletions dist/tsc/src/commands/actions/KeySharesAction.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@ import { BaseAction } from './BaseAction';
export declare class KeySharesAction extends BaseAction {
static get options(): any;
execute(): Promise<string>;
private getKeySharesList;
private validateKeystoreArguments;
private isDirectory;
private processKeystorePath;
private processKeystore;
private validateKeystoreFiles;
private validateSingleKeystore;
private getOperators;
private processFile;
private saveKeyShares;
Expand Down
52 changes: 4 additions & 48 deletions dist/tsc/src/commands/actions/KeySharesAction.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/tsc/src/commands/actions/KeySharesAction.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion dist/tsc/src/commands/actions/arguments/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export { default as keystoreArgument } from './keystore';
export { default as keystorePathArgument } from './keystore-path';
export { default as ownerNonceArgument } from './owner-nonce';
export { default as operatorIdsArgument } from './operator-ids';
export { default as ownerAddressArgument } from './owner-address';
Expand Down
4 changes: 1 addition & 3 deletions dist/tsc/src/commands/actions/arguments/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/tsc/src/commands/actions/arguments/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 0 additions & 13 deletions dist/tsc/src/commands/actions/arguments/keystore-path.d.ts

This file was deleted.

15 changes: 0 additions & 15 deletions dist/tsc/src/commands/actions/arguments/keystore-path.js

This file was deleted.

This file was deleted.

Loading

0 comments on commit d8d9522

Please sign in to comment.