@ethernity-cloud/sdk-js 1.6.0 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/cas/config.js +2 -2
- package/info.js +324 -324
- package/nodenithy/build/securelock/src/securelock.js.tmpl +5 -2
- package/nodenithy/build.mjs +3 -3
- package/nodenithy/run/docker-compose-final.yml.tmpl +5 -1
- package/nodenithy/run/docker-compose.yml.tmpl +5 -1
- package/nodenithy/run/image_registry.js +383 -380
- package/package.json +2 -2
- package/pynithy/build/docker-compose.yml +3 -1
- package/pynithy/build/securelock/src/securelock.py.tmpl +6 -2
- package/pynithy/build.mjs +3 -3
- package/pynithy/run/docker-compose-final.yml +1 -1
- package/pynithy/run/docker-compose-final.yml.tmpl +5 -1
- package/pynithy/run/docker-compose.yml +1 -1
- package/pynithy/run/docker-compose.yml.tmpl +5 -1
- package/pynithy/run/image_registry.js +383 -380
package/README.md
CHANGED
|
@@ -43,10 +43,10 @@ The sdk has been tested on the following operating systems:
|
|
|
43
43
|
provisioned by the ethernity-cas validator set exactly as on mainnet.
|
|
44
44
|
`ecld-publish` registers the securelock session on-chain in the
|
|
45
45
|
SessionRegistry (`0xcb1F389b...`, see `cas/config.js`), resolves a CAS
|
|
46
|
-
from the ValidatorRegistry (`
|
|
46
|
+
from the ValidatorRegistry (`0xa821b36F...`, or `ECLD_CAS_ADDR=host:port`)
|
|
47
47
|
for the compose and the certificate harvest, takes the trustedzone
|
|
48
|
-
session name from the ImageRegistry,
|
|
49
|
-
published image. `ecld-build` signs the securelock `--production`.
|
|
48
|
+
session name from the ImageRegistry (ECImageRegistryV2,
|
|
49
|
+
`0x99A84C62...`), and links the session to the published image. `ecld-build` signs the securelock `--production`.
|
|
50
50
|
Harvesting the certificate needs SGX. The other testnets have no CAS
|
|
51
51
|
deployment and self-sign from MR_ENCLAVE as before.
|
|
52
52
|
- Mainnet - to be provided during the following updates
|
package/cas/config.js
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
// Kept in sync with etny-{pynithy,nodenithy}/v3/networks.yaml
|
|
15
15
|
// (cas_session_registry_address, validator_registry_address).
|
|
16
16
|
const VALIDATOR_REGISTRY = {
|
|
17
|
-
'etny-pynithy-testnet': '
|
|
18
|
-
'etny-nodenithy-testnet': '
|
|
17
|
+
'etny-pynithy-testnet': '0xa821b36F378F76c793c436F5f9c9CC36c684eBE5',
|
|
18
|
+
'etny-nodenithy-testnet': '0xa821b36F378F76c793c436F5f9c9CC36c684eBE5',
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
const SESSION_REGISTRY = {
|