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
@@ -31,6 +31,12 @@ cache:
|
||||
redis:
|
||||
enabled: false
|
||||
|
||||
signature:
|
||||
enabled: true
|
||||
algorithm: ECDSA
|
||||
signatureScheme: SHA256withECDSA
|
||||
privateKey: "./test_key"
|
||||
|
||||
proxy:
|
||||
port: 18080
|
||||
tls:
|
||||
|
||||
5
testing/dshackle/test_key
Normal file
5
testing/dshackle/test_key
Normal file
@@ -0,0 +1,5 @@
|
||||
-----BEGIN PRIVATE KEY-----
|
||||
MIGEAgEAMBAGByqGSM49AgEGBSuBBAAKBG0wawIBAQQglWZBwGvH/I/TqQb3uPGq
|
||||
d/6MB2tgFXUfQCYj5RmaXV2hRANCAATfN610x3JM7+xMUIt46sjmaiJm3ZGN9RV1
|
||||
q+GiuCp36DECozTVx/lDhBnwg2d71HKRxCxsthdB8NclsYybn6B2
|
||||
-----END PRIVATE KEY-----
|
||||
4
testing/dshackle/test_key.pub
Normal file
4
testing/dshackle/test_key.pub
Normal file
@@ -0,0 +1,4 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE3zetdMdyTO/sTFCLeOrI5moiZt2RjfUV
|
||||
davhorgqd+gxAqM01cf5Q4QZ8INne9RykcQsbLYXQfDXJbGMm5+gdg==
|
||||
-----END PUBLIC KEY-----
|
||||
Reference in New Issue
Block a user