-
Notifications
You must be signed in to change notification settings - Fork 41
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
13 changed files
with
227 additions
and
14 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
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
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
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,67 @@ | ||
Certificate: | ||
Data: | ||
Version: 1 (0x0) | ||
Serial Number: | ||
b4:4b:9e:02:a0:9c:f2:eb | ||
Signature Algorithm: sha256WithRSAEncryption | ||
Issuer: CN=localhost | ||
Validity | ||
Not Before: Feb 3 06:22:22 2023 GMT | ||
Not After : Mar 5 06:22:22 2023 GMT | ||
Subject: CN=localhost | ||
Subject Public Key Info: | ||
Public Key Algorithm: rsaEncryption | ||
RSA Public-Key: (2048 bit) | ||
Modulus: | ||
00:b8:b3:0c:44:18:91:f1:a1:7f:bf:3a:c9:f2:69: | ||
3d:4e:0d:eb:69:5c:a9:b4:20:4a:0a:24:0b:fe:aa: | ||
46:c6:5f:4b:69:d1:fb:93:76:36:bf:6d:d9:bd:e7: | ||
4c:cb:31:0d:f5:3d:04:12:7c:6a:e0:6b:59:cd:51: | ||
3a:50:75:54:4c:19:16:07:47:68:00:15:27:b1:22: | ||
8b:56:71:5f:b6:c0:e7:55:0b:0b:a2:68:a5:5d:b3: | ||
6f:91:a0:bb:e2:a4:e5:96:66:51:1d:ea:53:6b:01: | ||
5d:84:a8:16:b2:3d:a4:69:df:51:0e:61:18:e4:b5: | ||
07:41:27:53:a8:c7:6f:08:45:ae:f6:0e:f0:20:f8: | ||
16:2c:be:b1:2f:dc:94:b1:da:76:02:ff:7d:4f:cb: | ||
c6:c4:81:52:dc:2c:77:02:18:98:ef:9a:e5:72:c4: | ||
de:74:27:27:8a:f3:e1:52:79:91:10:df:76:6a:aa: | ||
0b:f4:9a:c9:c3:66:70:06:10:3d:9e:db:07:2b:f6: | ||
32:df:f7:ec:86:16:b5:03:85:41:d2:e8:2a:94:fd: | ||
46:4a:c8:8c:21:1b:40:cb:47:52:cf:54:cf:2c:02: | ||
cc:a0:17:f8:94:33:5f:e8:eb:5a:a7:37:c7:29:b6: | ||
25:ec:4d:51:e5:26:aa:0b:40:b9:a0:ac:12:c7:de: | ||
1a:c5 | ||
Exponent: 65537 (0x10001) | ||
Signature Algorithm: sha256WithRSAEncryption | ||
8d:8f:96:9d:43:03:64:54:df:1b:cd:cd:3d:8a:cd:a0:bc:ce: | ||
ee:72:57:81:77:8b:ff:5e:a6:db:38:a5:b3:a2:e8:dd:60:e9: | ||
09:33:40:50:6b:09:54:78:34:ce:d9:63:06:8c:5b:d8:2d:34: | ||
77:d3:c0:b0:44:83:45:75:9b:37:c9:93:5b:61:0e:c3:c8:e6: | ||
94:ca:c7:81:58:fa:fe:db:a1:94:61:b5:cd:86:6e:81:72:36: | ||
b1:43:54:c9:73:05:48:b3:91:e0:88:ee:1c:cb:3b:5f:68:de: | ||
25:06:79:d6:3a:75:8d:4d:c4:e7:7b:f8:71:f0:b4:02:d9:e5: | ||
3f:e3:7d:fe:f7:4f:b0:3a:2f:03:14:92:db:b1:19:ed:5e:ca: | ||
79:fe:68:e8:07:60:28:00:0f:83:f4:f6:21:91:88:e0:2c:46: | ||
96:7a:ef:88:9d:05:67:b1:ce:a1:df:9d:f8:09:df:c7:71:71: | ||
4b:d7:aa:f0:69:a9:de:13:3b:f8:f0:c8:f4:c3:33:c7:3e:60: | ||
e3:6f:86:ee:49:5f:bb:80:81:bb:73:a5:50:da:56:b2:47:c6: | ||
d2:f8:80:12:09:96:0a:ee:7a:65:ae:b9:9d:83:55:da:a6:f4: | ||
7d:4f:27:f2:eb:9b:1a:10:38:1c:6c:40:be:e9:64:55:d9:9e: | ||
ec:36:0d:33 | ||
-----BEGIN CERTIFICATE----- | ||
MIICpDCCAYwCCQC0S54CoJzy6zANBgkqhkiG9w0BAQsFADAUMRIwEAYDVQQDDAls | ||
b2NhbGhvc3QwHhcNMjMwMjAzMDYyMjIyWhcNMjMwMzA1MDYyMjIyWjAUMRIwEAYD | ||
VQQDDAlsb2NhbGhvc3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC4 | ||
swxEGJHxoX+/OsnyaT1ODetpXKm0IEoKJAv+qkbGX0tp0fuTdja/bdm950zLMQ31 | ||
PQQSfGrga1nNUTpQdVRMGRYHR2gAFSexIotWcV+2wOdVCwuiaKVds2+RoLvipOWW | ||
ZlEd6lNrAV2EqBayPaRp31EOYRjktQdBJ1Oox28IRa72DvAg+BYsvrEv3JSx2nYC | ||
/31Py8bEgVLcLHcCGJjvmuVyxN50JyeK8+FSeZEQ33Zqqgv0msnDZnAGED2e2wcr | ||
9jLf9+yGFrUDhUHS6CqU/UZKyIwhG0DLR1LPVM8sAsygF/iUM1/o61qnN8cptiXs | ||
TVHlJqoLQLmgrBLH3hrFAgMBAAEwDQYJKoZIhvcNAQELBQADggEBAI2Plp1DA2RU | ||
3xvNzT2KzaC8zu5yV4F3i/9epts4pbOi6N1g6QkzQFBrCVR4NM7ZYwaMW9gtNHfT | ||
wLBEg0V1mzfJk1thDsPI5pTKx4FY+v7boZRhtc2GboFyNrFDVMlzBUizkeCI7hzL | ||
O19o3iUGedY6dY1NxOd7+HHwtALZ5T/jff73T7A6LwMUktuxGe1eynn+aOgHYCgA | ||
D4P09iGRiOAsRpZ674idBWexzqHfnfgJ38dxcUvXqvBpqd4TO/jwyPTDM8c+YONv | ||
hu5JX7uAgbtzpVDaVrJHxtL4gBIJlgruemWuuZ2DVdqm9H1PJ/LrmxoQOBxsQL7p | ||
ZFXZnuw2DTM= | ||
-----END CERTIFICATE----- |
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,27 @@ | ||
-----BEGIN RSA PRIVATE KEY----- | ||
MIIEpAIBAAKCAQEAuLMMRBiR8aF/vzrJ8mk9Tg3raVyptCBKCiQL/qpGxl9LadH7 | ||
k3Y2v23ZvedMyzEN9T0EEnxq4GtZzVE6UHVUTBkWB0doABUnsSKLVnFftsDnVQsL | ||
omilXbNvkaC74qTllmZRHepTawFdhKgWsj2kad9RDmEY5LUHQSdTqMdvCEWu9g7w | ||
IPgWLL6xL9yUsdp2Av99T8vGxIFS3Cx3AhiY75rlcsTedCcnivPhUnmREN92aqoL | ||
9JrJw2ZwBhA9ntsHK/Yy3/fshha1A4VB0ugqlP1GSsiMIRtAy0dSz1TPLALMoBf4 | ||
lDNf6OtapzfHKbYl7E1R5SaqC0C5oKwSx94axQIDAQABAoIBACJ9XNcCd45ViBNf | ||
mQJpYIdI1iLwqMf4F5tZK9w8U8cLWHvEOG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2n4NrF1uV4+ab/7PApLoPG/h2U3ocusqYvfUJZboNM8G1bGvBf6 | ||
ArRIl0JqnQ7BSMEuJh9I8yG15BWfkuHdN841G222cEYBuxP6x8E4sFwutNoSB0vc | ||
rykrADchduIUKgXFap+1MaInsuKUUIptFz06y37wjt8kUWHVL4ShRg== | ||
-----END RSA PRIVATE KEY----- |
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,8 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
Proc-Type: 4,ENCRYPTED | ||
DEK-Info: AES-256-CBC,4FB3A4FF77E83E33ADAE25754D937359 | ||
|
||
JPp+2MkwFeHGH1rAntW3nQaFmur5vjpRdpQNKzHqMyOTzYunnCAAVeP1QqQJmcjz | ||
V/fkakJwOC0hCPxavgCYNFPwlhIpXEwopYaqAZ1ULZyzTrgbdLSv6ozYI8YrTLt8 | ||
QSN2N1bzyW1y3NOPpT7/yP3wfhVkpPY+sJTwdJ6P6SE= | ||
-----END EC PRIVATE KEY----- |
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 @@ | ||
Qj6Yb+GMC/MTRBO02Qal+sTDQRlvu2EfseHiDy9dANo= |
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,44 @@ | ||
server: | ||
address: "0.0.0.0:8080" | ||
oracle: | ||
keyFile: ../../certs/oracle/key.pem | ||
keyPass: | ||
file: ../../certs/oracle/pass.txt | ||
log: | ||
dir: _log | ||
output_stdout: true | ||
basename: unittest.log.%Y-%m-%d | ||
rotation_interval: PT24H | ||
rotation_counts: 7 | ||
format: json | ||
level: info | ||
database: | ||
log: false | ||
host: localhost | ||
port: 5432 | ||
dbuser: postgres | ||
dbpassword: 1234 | ||
dbname: db | ||
api: | ||
assets: | ||
btcusd: | ||
startDate: 2020-01-01T00:00:00Z | ||
frequency: PT1H | ||
range: P10DT | ||
unit: usd/btc | ||
precision: 0 | ||
signconfig: | ||
base: 2 | ||
nbDigits: 20 | ||
btcjpy: | ||
startDate: 2020-01-01T00:00:00Z | ||
frequency: PT1H | ||
range: P2MT | ||
unit: jpy/btc | ||
precision: 0 | ||
signconfig: | ||
base: 2 | ||
nbDigits: 20 | ||
datafeed: | ||
dummy: | ||
returnValue: 9000 |