problem: users want to verify that response are coming from their nodes
solution: edge node can sign received valued Co-authored-by: Igor Artamonov <igor@artamonov.ru>
This commit is contained in:
committed by
GitHub
parent
530811d272
commit
d1ad77a345
@@ -47,6 +47,11 @@ cache:
|
||||
db: 0
|
||||
password: I1y0dGKy01by
|
||||
|
||||
signed-response:
|
||||
enabled: true
|
||||
algorithm: SECP256K1
|
||||
private-key: /path/key.pem
|
||||
|
||||
proxy:
|
||||
host: 0.0.0.0
|
||||
port: 8080
|
||||
@@ -199,6 +204,11 @@ See <<tokens>> section
|
||||
| Caching configuration.
|
||||
See <<cache>> section.
|
||||
|
||||
| `signed-response`
|
||||
|
|
||||
| Signed responses
|
||||
See <<signed-response>> section.
|
||||
|
||||
| `cluster`
|
||||
|
|
||||
| Setup connection to remote nodes.See <<cluster>> section
|
||||
@@ -546,6 +556,38 @@ cache:
|
||||
|
||||
|===
|
||||
|
||||
[#signed-response]
|
||||
== Signed Response
|
||||
|
||||
[source,yaml]
|
||||
----
|
||||
signed-response:
|
||||
enabled: true
|
||||
algorithm: SECP256K1
|
||||
private-key: /path/key.pem
|
||||
----
|
||||
|
||||
.Redis Config
|
||||
[cols="2a,2,5"]
|
||||
|===
|
||||
| Option | Default Value | Description
|
||||
|
||||
| `enabled`
|
||||
| `false`
|
||||
| Enable/disable Signed Responses
|
||||
|
||||
| `algorithm`
|
||||
| `SECP256K1`
|
||||
| SECP256K1 only possible at this moment
|
||||
|
||||
| `private-key`
|
||||
|
|
||||
| Path to a private key in PEM format
|
||||
|
||||
|===
|
||||
|
||||
See more details at link:07-methods.adoc#signatures[Signed Response] in gRPC Methods.
|
||||
|
||||
[#cluster]
|
||||
== Cluster
|
||||
|
||||
|
||||
Reference in New Issue
Block a user