generated from Consensys/doc.ethsigner
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
52 changed files
with
4,481 additions
and
3,445 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,5 +18,3 @@ jobs: | |
|
||
- name: Build | ||
uses: ConsenSys/docs-gha/build@main | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
{ | ||
"ignorePatterns": [ | ||
{ | ||
"pattern": "^http(s)?://localhost" | ||
}, | ||
{ | ||
"pattern": "^http(s)?://127.0.0.1" | ||
}, | ||
{ | ||
"comment": "This is a private repos", | ||
"pattern": "^http(s)?://gitlab.com/ConsenSys/" | ||
}, | ||
{ | ||
"comment": "This is a private repos", | ||
"pattern": "^http(s)?://github.com/ConsenSys/orchestrate" | ||
}, | ||
{ | ||
"comment": "This is a private repo", | ||
"pattern": "^http(s)?://github.com/INFURA/docs(?:/(issues|pulls))?" | ||
}, | ||
{ | ||
"comment": "Consensys.net now has a ddos attack protection", | ||
"pattern": "^http(s)?://consensys.net" | ||
}, | ||
{ | ||
"comment": "Exclude addresses with extra data variable placeholders (not yet replaced when checking for links)", | ||
"pattern": "{{[a-zA-Z_\\-\\.\\[\\]\\']+}}" | ||
}, | ||
{ | ||
"comment": "Exclude Infura endpoints that require API key", | ||
"pattern": "^https?:\\/\\/[a-zA-Z0-9.-]*\\.infura\\.io\\/v3\\/.*$" | ||
}, | ||
{ | ||
"pattern": "^http(s)?://.+.zendesk.com" | ||
}, | ||
{ | ||
"pattern": "^http(s)?://.+.etherscan.io" | ||
}, | ||
{ | ||
"pattern": "^http(s)?://help.figma.com" | ||
}, | ||
{ | ||
"pattern": "^http(s)?://(docs\\.)?metamask\\.io" | ||
}, | ||
{ | ||
"comment": "Skip urls in the redoc macro with entity", | ||
"pattern": "http(s)?://.+\\&\\#39\\;" | ||
}, | ||
{ | ||
"comment": "Skip urls in the redoc macro with char", | ||
"pattern": "http(s)?://.+'" | ||
} | ||
], | ||
"httpHeaders": [ | ||
{ | ||
"urls": [ | ||
"https://github.com/", | ||
"https://guides.github.com/", | ||
"https://help.github.com/", | ||
"https://docs.github.com/" | ||
], | ||
"headers": { | ||
"Accept-Encoding": "zstd, br, gzip, deflate" | ||
} | ||
} | ||
], | ||
"timeout": "30s", | ||
"aliveStatusCodes": [200, 206, 403], | ||
"retryOn429": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
name: Check for broken links | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
|
||
linkCheck: | ||
name: Link Checking | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
file-extensions: [".md", ".mdx"] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: LinkCheck | ||
uses: ConsenSys/docs-gha/linkcheck@main | ||
with: | ||
FILE_EXTENSION: ${{ matrix.file-extensions }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
name: Check for spelling with vale | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
vale: | ||
name: Spelling | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Vale | ||
uses: Consensys/docs-gha/spelling@main | ||
with: | ||
FILEPATHS: "docs" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,28 @@ | ||
--- | ||
description: Learn more about Web3Signer's architecture. | ||
sidebar_position: 3 | ||
sidebar_position: 1 | ||
--- | ||
|
||
# Architecture | ||
# Architecture | ||
|
||
Web3Signer is a remote signing client comprised of three main components: | ||
|
||
- Remote signer | ||
- Slashing database | ||
- APIs | ||
- APIs | ||
|
||
## The remote signer | ||
|
||
The remote signer [loads private keys](../how-to/load-keys.md) into memory and responds to signature requests. If you are using an [HSM](../how-to/store-keys/hsm/_category_.json) or a [vault](../how-to/store-keys/vaults/_category_.json) for Execution Layer signing, the keys remain at rest. This component communicates with the slashing database, the APIs, and with the keystore, if used, to coordinate remote signing. | ||
The remote signer [loads private keys](../how-to/load-keys.md) into memory and responds to signature requests. | ||
If you are using an [HSM](../how-to/store-keys/hsm/_category_.json) or a [vault](../how-to/store-keys/vaults/_category_.json) for execution layer signing, the keys stay at rest. | ||
This component communicates with the slashing database, the APIs, and the keystore (if used), to coordinate remote signing. | ||
|
||
## The slashing database | ||
|
||
The [slashing database](./slashing-protection.md) is a a Postgres database that tracks which keys have signed messages. Database locking ensures that when multiple Web3Signer instances load the same keys, only one instance is permitted to sign. | ||
The [slashing database](./slashing-protection.md) is a Postgres database that tracks which keys have signed messages. | ||
Database locking ensures that when multiple Web3Signer instances load the same keys, only one instance is permitted to sign. | ||
|
||
## The APIs | ||
|
||
Web3Signer supports REST and [JSON-RPC APIs](../reference/api/_category_.json) to sign consensus layer and execution layer payloads respectively. These connections should be carefully secured. Web3Signer offers [TLS communication](../how-to/configure-tls.md). | ||
Web3Signer supports REST and [JSON-RPC APIs](../reference/api/_category_.json) to sign consensus layer and execution layer payloads | ||
respectively. These connections should be carefully secured. Web3Signer offers [TLS communication](../how-to/configure-tls.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.