From 3772c6d5b08f3de977db4febf8a963f41f06d498 Mon Sep 17 00:00:00 2001 From: Lance Date: Mon, 1 Apr 2024 10:58:35 -0400 Subject: [PATCH] updated keri api erros for getting started docker script (#61) Signed-off-by: 2byrds <2byrds@gmail.com> Signed-off-by: Charles Lanahan --- docker-compose.yml | 4 ++-- src/dkr/app/cli/commands/did/webs/generate.py | 6 +++--- volume/dkr/examples/get_started_docker.sh | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 429c04a..6998e7b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: "3" -networks: - websnet: +# networks: +# websnet: services: witnesshost: diff --git a/src/dkr/app/cli/commands/did/webs/generate.py b/src/dkr/app/cli/commands/did/webs/generate.py index 8c7729b..7a429b4 100644 --- a/src/dkr/app/cli/commands/did/webs/generate.py +++ b/src/dkr/app/cli/commands/did/webs/generate.py @@ -172,7 +172,7 @@ def genTelCesr(self, reger: viring.Reger, regk: str, msgs: bytearray): msgs.extend(msg) def genAcdcCesr(self, aid, creder, msgs: bytearray): - print(f"Generating {creder.crd['d']} ACDC CESR events, issued by {creder.crd['i']}") + # print(f"Generating {creder.crd['d']} ACDC CESR events, issued by {creder.crd['i']}") cmsg = self.hby.habs[aid].endorse(creder) msgs.extend(cmsg) @@ -187,7 +187,7 @@ def genCredCesr(self, aid: str, schema: str, msgs: bytearray): creder, *_ = rgy.reger.cloneCred(said=saider.qb64) - if creder.status is not None: - self.genTelCesr(rgy.reger, creder.status, msgs) + if creder.regi is not None: + self.genTelCesr(rgy.reger, creder.regi, msgs) self.genTelCesr(rgy.reger, creder.said, msgs) self.genAcdcCesr(aid, creder, msgs) diff --git a/volume/dkr/examples/get_started_docker.sh b/volume/dkr/examples/get_started_docker.sh index 37fc60b..ff9eca0 100755 --- a/volume/dkr/examples/get_started_docker.sh +++ b/volume/dkr/examples/get_started_docker.sh @@ -29,7 +29,7 @@ kli vc registry incept --name controller --alias controller --registry-name dAli kli oobi resolve --name controller --oobi-alias myDesigAliases --oobi "https://weboftrust.github.io/oobi/EN6Oh5XSD5_q2Hgu-aqpdfbVepdpYpFlgz6zvJL5b_r5" -kli vc issue --name controller --alias controller --registry-name dAliases --schema EN6Oh5XSD5_q2Hgu-aqpdfbVepdpYpFlgz6zvJL5b_r5 --data @desig-aliases-attr-public.json --rules @desig-aliases-rules-public.json +kli vc create --name controller --alias controller --registry-name dAliases --schema EN6Oh5XSD5_q2Hgu-aqpdfbVepdpYpFlgz6zvJL5b_r5 --data @desig-aliases-attr-public.json --rules @desig-aliases-rules-public.json kli vc list --name controller --alias controller --issued --schema EN6Oh5XSD5_q2Hgu-aqpdfbVepdpYpFlgz6zvJL5b_r5