kunpengsecl/update-ras-test-config.patch

26 lines
944 B
Diff

--- kunpengsecl-v1.0.0-pre/attestation/ras/cmd/ras/config.yaml 2021-12-26 12:17:34.000000000 +0800
+++ kunpengsecl-v1.0.0/attestation/ras/cmd/ras/config.yaml 2022-01-21 21:48:55.182706734 +0800
@@ -9,7 +9,7 @@
hbduration: 5s
trustduration: 2m0s
rasconfig:
- authkeyfile: ./ecdsakey.pub
+ authkeyfile: /etc/attestation/default_test/ecdsakey.pub
auto-update-config:
isallupdate: false
updateclients: []
@@ -31,9 +31,9 @@
- 4
changetime: 1970-01-01T08:00:00+08:00
mgrstrategy: auto
- pcakeycertfile: ./pca-ek.crt
- pcaprivkeyfile: ./pca-ek.key
+ pcakeycertfile: /etc/attestation/default_test/pca-ek.crt
+ pcaprivkeyfile: /etc/attestation/default_test/pca-ek.key
port: 127.0.0.1:40001
rest: 127.0.0.1:40002
- rootkeycertfile: ./pca-root.crt
- rootprivkeyfile: ./pca-root.key
+ rootkeycertfile: /etc/attestation/default_test/pca-root.crt
+ rootprivkeyfile: /etc/attestation/default_test/pca-root.key