Skip to content

Commit 4028b58

Browse files
committed
Merge remote-tracking branch 'wot/main'
2 parents 6862dd6 + 7737bfd commit 4028b58

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+786
-311
lines changed

Diff for: README.md

+9
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@ python 3.12.1+
3838
libsodium 1.0.18+
3939

4040

41+
##### Libsodium installation
42+
43+
After installing with Homebrew you need to link the library to the default location that the `ctypes.find_library()` looks in, `/usr/local/lib`, as shown below:
44+
45+
```shell
46+
sudo ln -s /opt/homebrew/lib /usr/local/lib
47+
```
48+
49+
4150
#### python packages
4251
lmdb 0.98+
4352
pysodium 0.7.5+

Diff for: docs/Makefile

+13-1
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,21 @@ BUILDDIR = _build
1212
help:
1313
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
1414

15-
.PHONY: help Makefile
15+
.PHONY: help Makefile clean html
1616

1717
# Catch-all target: route all unknown targets to Sphinx using the new
1818
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1919
%: Makefile
2020
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
21+
22+
clean:
23+
rm -rf $(BUILDDIR)/*
24+
25+
html:
26+
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/html
27+
@echo
28+
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
29+
@echo
30+
31+
open:
32+
open _build/html/index.html

Diff for: docs/_static/.gitkeep

Whitespace-only changes.

Diff for: docs/conf.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
sphinx_rtd_theme = None
2929

3030
project = 'keri'
31-
copyright = '2022, Dr. Samuel Smith and contributors'
31+
copyright = '2022 - 2024, Dr. Samuel Smith and contributors'
3232
author = 'Dr. Samuel Smith'
3333

3434
version = release = keri.__version__
@@ -62,7 +62,6 @@
6262
#
6363
if sphinx_rtd_theme:
6464
html_theme = "sphinx_rtd_theme"
65-
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
6665
else:
6766
html_theme = "default"
6867

Diff for: docs/index.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
==================================================
2-
Python Implementation of the KERI Core Libraries
3-
==================================================
1+
==========================================================
2+
Python Reference Implementation of the KERI Core Libraries
3+
==========================================================
44

55
.. image:: https://img.shields.io/pypi/v/keri.svg
66
:target: https://pypi.org/project/keri/
@@ -32,6 +32,7 @@ API Reference
3232
.. toctree::
3333
:maxdepth: 1
3434

35+
naming
3536
keri_app
3637
keri_core
3738
keri_db

Diff for: docs/keri_app.rst

+2-14
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@ keri.app.apping
1313
.. automodule:: keri.app.apping
1414
:members:
1515

16-
keri.app.booting
17-
----------------
18-
19-
.. automodule:: keri.app.booting
20-
:members:
21-
2216
keri.app.challenging
2317
--------------------
2418

@@ -32,7 +26,7 @@ keri.app.configing
3226
:members:
3327

3428
keri.app.connecting
35-
------------------
29+
-------------------
3630

3731
.. automodule:: keri.app.connecting
3832
:members:
@@ -85,12 +79,6 @@ keri.app.keeping
8579
.. automodule:: keri.app.keeping
8680
:members:
8781

88-
keri.app.kiwiing
89-
----------------
90-
91-
.. automodule:: keri.app.kiwiing
92-
:members:
93-
9482
keri.app.notifying
9583
------------------
9684

@@ -100,7 +88,7 @@ keri.app.notifying
10088
keri.app.oobing
10189
---------------
10290

103-
.. automodule:: keri.app.oobing
91+
.. automodule:: keri.app.oobiing
10492
:members:
10593

10694
keri.app.signaling

Diff for: docs/keri_core.rst

+30
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,24 @@ keri.core.coring
77
.. automodule:: keri.core.coring
88
:members:
99

10+
keri.core.counting
11+
------------------
12+
13+
.. automodule:: keri.core.counting
14+
:members:
15+
1016
keri.core.eventing
1117
------------------
1218

1319
.. automodule:: keri.core.eventing
1420
:members:
1521

22+
ker.core.indexing
23+
-----------------
24+
25+
.. automodule:: keri.core.indexing
26+
:members:
27+
1628
keri.core.parsing
1729
-----------------
1830

@@ -31,3 +43,21 @@ keri.core.scheming
3143
.. automodule:: keri.core.scheming
3244
:members:
3345

46+
keri.core.signing
47+
-----------------
48+
49+
.. automodule:: keri.core.signing
50+
:members:
51+
52+
keri.core.streaming
53+
-------------------
54+
55+
.. automodule:: keri.core.streaming
56+
:members:
57+
58+
keri.core.structing
59+
-------------------
60+
61+
.. automodule:: keri.core.structing
62+
:members:
63+

Diff for: docs/keri_db.rst

+6
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ keri.db.koming
2525
.. automodule:: keri.db.koming
2626
:members:
2727

28+
keri.db.migrations
29+
------------------
30+
31+
.. automodule:: keri.db.migrations
32+
:members:
33+
2834
keri.db.subing
2935
--------------
3036

Diff for: docs/keri_demo.rst

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
KERI Demo API
2+
=============
3+
4+
keri.demo.demoing
5+
-----------------
6+
7+
.. automodule:: keri.demo.demoing
8+
:members:

Diff for: docs/keri_help.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
KERI Help API
2-
============
2+
=============
33

44
keri.help.helping
55
-----------------

Diff for: docs/keri_peer.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
KERI Peer API
2-
============
2+
=============
33

44
keri.peer.exchanging
55
--------------------

Diff for: docs/keri_vc.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
KERI Verificable Credential API
2-
=============
2+
===============================
33

44
keri.vc.protocoling
5-
----------------
5+
-------------------
66

77
.. automodule:: keri.vc.protocoling
88
:members:

Diff for: docs/naming.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
2-
# Python Style Guide for keripy
1+
# Naming and Style guide
2+
## Python Style Guide for KERIpy
33

44
The Python PEPs on style have many options or allowed variants.
55
The purpose of this document is to select a single preferred style

Diff for: docs/requirements.txt

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
1-
myst-parser >= 0.16.1
2-
Sphinx >= 4.3.2
1+
myst-parser >= 4.0.0
2+
Sphinx >= 8.1.3
3+
4+
sphinx-rtd-theme==3.0.1
5+
sphinxcontrib-applehelp==2.0.0
6+
sphinxcontrib-devhelp==2.0.0
7+
sphinxcontrib-htmlhelp==2.1.0
8+
sphinxcontrib-jquery==4.1
9+
sphinxcontrib-jsmath==1.0.1
10+
sphinxcontrib-qthelp==2.0.0
11+
sphinxcontrib-serializinghtml==2.0.0

Diff for: scripts/demo/basic/challenge.sh

+6
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ cha2_oobi="$(kli oobi generate --name cha2 --alias cha2 --role witness | sed -n
1414
kli oobi resolve --name cha1 --oobi-alias cha2 --oobi "${cha2_oobi}"
1515
kli oobi resolve --name cha2 --oobi-alias cha1 --oobi "${cha1_oobi}"
1616

17+
cha1_pre="$(kli aid --name cha1 --alias cha1)"
18+
cha2_pre="$(kli aid --name cha2 --alias cha2)"
19+
20+
kli contacts replace --name cha1 --prefix "${cha2_pre}" --alias cha2
21+
kli contacts replace --name cha2 --prefix "${cha1_pre}" --alias cha1
22+
1723
words1="$(kli challenge generate --out string)"
1824
words2="$(kli challenge generate --out string)"
1925

Diff for: scripts/demo/basic/demo-script.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,16 @@ isSuccess
4646
kli sign --name test --base "${KERI_TEMP_DIR}" --alias trans --text @${KERI_DEMO_SCRIPT_DIR}/data/anchor.json
4747
isSuccess
4848

49-
kli verify --name test --base "${KERI_TEMP_DIR}" --alias trans --prefix EIryzWYlZ9bQr7EhMAoBXk4r2h-OgaEqERid7-AHNp6o --text @${KERI_DEMO_SCRIPT_DIR}/data/anchor.json --signature AABuQervAG8QLyvho99362U8TScec_4zYDVF1pUMWfWfKbl5thR6QakpvSvVMdcPcGYxi0McgNtW-Z3EhpC01I4A
49+
kli verify --name test --base "${KERI_TEMP_DIR}" --prefix EIryzWYlZ9bQr7EhMAoBXk4r2h-OgaEqERid7-AHNp6o --text @${KERI_DEMO_SCRIPT_DIR}/data/anchor.json --signature AABuQervAG8QLyvho99362U8TScec_4zYDVF1pUMWfWfKbl5thR6QakpvSvVMdcPcGYxi0McgNtW-Z3EhpC01I4A
5050
isSuccess
5151

52-
kli verify --name test --base "${KERI_TEMP_DIR}" --alias trans --prefix EIryzWYlZ9bQr7EhMAoBXk4r2h-OgaEqERid7-AHNp6o --text @${KERI_DEMO_SCRIPT_DIR}/data/anchor.json --signature ABBJcS2ZbcHEdEEnaJE1CFUxdsKqkoU5TS34CImGh3s0cs-k3cNcy2PJxQ8WjIvAot1-cZ71o1E-WkqZ-tCTNZsJ
52+
kli verify --name test --base "${KERI_TEMP_DIR}" --prefix EIryzWYlZ9bQr7EhMAoBXk4r2h-OgaEqERid7-AHNp6o --text @${KERI_DEMO_SCRIPT_DIR}/data/anchor.json --signature ABBJcS2ZbcHEdEEnaJE1CFUxdsKqkoU5TS34CImGh3s0cs-k3cNcy2PJxQ8WjIvAot1-cZ71o1E-WkqZ-tCTNZsJ
5353
isSuccess
5454

55-
kli verify --name test --base "${KERI_TEMP_DIR}" --alias trans --prefix EIryzWYlZ9bQr7EhMAoBXk4r2h-OgaEqERid7-AHNp6o --text @${KERI_DEMO_SCRIPT_DIR}/data/anchor.json --signature ACBieMVQBXvIxeqQuHc4Db_-GUoFE9e37TW8t6DomwXdMcSxBiHJpDp3EJH1Dcz9lHKbFuCRqoNo4wywZGtUpOcB
55+
kli verify --name test --base "${KERI_TEMP_DIR}" --prefix EIryzWYlZ9bQr7EhMAoBXk4r2h-OgaEqERid7-AHNp6o --text @${KERI_DEMO_SCRIPT_DIR}/data/anchor.json --signature ACBieMVQBXvIxeqQuHc4Db_-GUoFE9e37TW8t6DomwXdMcSxBiHJpDp3EJH1Dcz9lHKbFuCRqoNo4wywZGtUpOcB
5656
isSuccess
5757

58-
kli verify --name test --base "${KERI_TEMP_DIR}" --alias trans --prefix EIryzWYlZ9bQr7EhMAoBXk4r2h-OgaEqERid7-AHNp6o --text @${KERI_DEMO_SCRIPT_DIR}/data/anchor.json --signature ACSHdal6kHAAjbW_frH83sDDCoBHw_nNKFysW5Dj8PSsnwVPePCNw-kFmF6Z8H87q7D3abw_5u2i4jmzdnWFsRDz
58+
kli verify --name test --base "${KERI_TEMP_DIR}" --prefix EIryzWYlZ9bQr7EhMAoBXk4r2h-OgaEqERid7-AHNp6o --text @${KERI_DEMO_SCRIPT_DIR}/data/anchor.json --signature ACSHdal6kHAAjbW_frH83sDDCoBHw_nNKFysW5Dj8PSsnwVPePCNw-kFmF6Z8H87q7D3abw_5u2i4jmzdnWFsRDz
5959
ret=$?
6060
if [ $ret -eq 0 ]; then
6161
echo "Testing invalid signature should fail $ret"

Diff for: scripts/demo/credentials/multisig-grant-multisig-admit.sh

+16
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ kli incept --name issuer2 --alias issuer2 --file ${KERI_DEMO_SCRIPT_DIR}/data/is
2828

2929
# Exchange OOBIs between issuer group
3030
kli oobi resolve --name issuer1 --oobi-alias issuer2 --oobi http://127.0.0.1:5642/oobi/EFJtDtSoE6XOOqLoLvYoB7ctCzMtJDiAJltnXiK_EdlM/witness
31+
kli contacts replace --name issuer1 --prefix EFJtDtSoE6XOOqLoLvYoB7ctCzMtJDiAJltnXiK_EdlM --alias issuer2
3132
kli oobi resolve --name issuer2 --oobi-alias issuer1 --oobi http://127.0.0.1:5642/oobi/EEVlFHcMWAQNwezHjyKK5cKKzF6zgLlnrLyi_CcAEXCs/witness
33+
kli contacts replace --name issuer2 --prefix EEVlFHcMWAQNwezHjyKK5cKKzF6zgLlnrLyi_CcAEXCs --alias issuer1
3234

3335
# Create the identifier to which the credential will be issued
3436
kli init --name issuee1 --salt 0ACDEyMzQ1Njc4OWxtbm9qWc --nopasscode --config-dir ${KERI_SCRIPT_DIR} --config-file demo-witness-oobis
@@ -40,19 +42,29 @@ kli incept --name issuee2 --alias issuee2 --file ${KERI_DEMO_SCRIPT_DIR}/data/is
4042

4143
# Exchange OOBIs between issuee group
4244
kli oobi resolve --name issuee1 --oobi-alias issuee2 --oobi http://127.0.0.1:5642/oobi/EPw5WQAFcNXXSbg_pTKgh8-K_rfXnD1uDKS13OeNHkKE/witness
45+
kli contacts replace --name issuee1 --prefix EPw5WQAFcNXXSbg_pTKgh8-K_rfXnD1uDKS13OeNHkKE --alias issuee2
4346
kli oobi resolve --name issuee2 --oobi-alias issuee1 --oobi http://127.0.0.1:5642/oobi/EI0IoYyHxXc7_uQyaN2WocSC3lRZsvrDAPbREOw7fM0_/witness
47+
kli contacts replace --name issuee2 --prefix EI0IoYyHxXc7_uQyaN2WocSC3lRZsvrDAPbREOw7fM0_ --alias issuee1
4448

4549
# Introduce issuer to issuee
4650
kli oobi resolve --name issuee1 --oobi-alias issuer1 --oobi http://127.0.0.1:5642/oobi/EEVlFHcMWAQNwezHjyKK5cKKzF6zgLlnrLyi_CcAEXCs/witness
51+
kli contacts replace --name issuee1 --prefix EEVlFHcMWAQNwezHjyKK5cKKzF6zgLlnrLyi_CcAEXCs --alias issuer1
4752
kli oobi resolve --name issuee2 --oobi-alias issuer1 --oobi http://127.0.0.1:5642/oobi/EEVlFHcMWAQNwezHjyKK5cKKzF6zgLlnrLyi_CcAEXCs/witness
53+
kli contacts replace --name issuee2 --prefix EEVlFHcMWAQNwezHjyKK5cKKzF6zgLlnrLyi_CcAEXCs --alias issuer1
4854
kli oobi resolve --name issuee1 --oobi-alias issuer2 --oobi http://127.0.0.1:5642/oobi/EFJtDtSoE6XOOqLoLvYoB7ctCzMtJDiAJltnXiK_EdlM/witness
55+
kli contacts replace --name issuee1 --prefix EFJtDtSoE6XOOqLoLvYoB7ctCzMtJDiAJltnXiK_EdlM --alias issuer2
4956
kli oobi resolve --name issuee2 --oobi-alias issuer2 --oobi http://127.0.0.1:5642/oobi/EFJtDtSoE6XOOqLoLvYoB7ctCzMtJDiAJltnXiK_EdlM/witness
57+
kli contacts replace --name issuee2 --prefix EFJtDtSoE6XOOqLoLvYoB7ctCzMtJDiAJltnXiK_EdlM --alias issuer2
5058

5159
# Introduce the issuee to issuer
5260
kli oobi resolve --name issuer1 --oobi-alias issuee1 --oobi http://127.0.0.1:5642/oobi/EI0IoYyHxXc7_uQyaN2WocSC3lRZsvrDAPbREOw7fM0_/witness
61+
kli contacts replace --name issuer1 --prefix EI0IoYyHxXc7_uQyaN2WocSC3lRZsvrDAPbREOw7fM0_ --alias issuee1
5362
kli oobi resolve --name issuer2 --oobi-alias issuee1 --oobi http://127.0.0.1:5642/oobi/EI0IoYyHxXc7_uQyaN2WocSC3lRZsvrDAPbREOw7fM0_/witness
63+
kli contacts replace --name issuer2 --prefix EI0IoYyHxXc7_uQyaN2WocSC3lRZsvrDAPbREOw7fM0_ --alias issuee1
5464
kli oobi resolve --name issuer1 --oobi-alias issuee2 --oobi http://127.0.0.1:5642/oobi/EPw5WQAFcNXXSbg_pTKgh8-K_rfXnD1uDKS13OeNHkKE/witness
65+
kli contacts replace --name issuer1 --prefix EPw5WQAFcNXXSbg_pTKgh8-K_rfXnD1uDKS13OeNHkKE --alias issuee2
5566
kli oobi resolve --name issuer2 --oobi-alias issuee2 --oobi http://127.0.0.1:5642/oobi/EPw5WQAFcNXXSbg_pTKgh8-K_rfXnD1uDKS13OeNHkKE/witness
67+
kli contacts replace --name issuer2 --prefix EPw5WQAFcNXXSbg_pTKgh8-K_rfXnD1uDKS13OeNHkKE --alias issuee2
5668

5769
## Load Data OOBI for schema of credential to issue
5870
kli oobi resolve --name issuer1 --oobi-alias vc --oobi http://127.0.0.1:7723/oobi/EBfdlu8R27Fbx-ehrqwImnK-8Cm79sqbAQ4MmvEAYqao
@@ -84,10 +96,14 @@ wait $PID_LIST
8496

8597
# Introduce issuer issuer issuer to issuees
8698
kli oobi resolve --name issuer1 --oobi-alias issuee --oobi http://127.0.0.1:5642/oobi/ELkmm28zQEyxkryJZQ4WVT4fjukklM4dR91l2DQfQHZK/witness
99+
kli contacts replace --name issuer1 --prefix ELkmm28zQEyxkryJZQ4WVT4fjukklM4dR91l2DQfQHZK --alias issuee
87100
kli oobi resolve --name issuer2 --oobi-alias issuee --oobi http://127.0.0.1:5642/oobi/ELkmm28zQEyxkryJZQ4WVT4fjukklM4dR91l2DQfQHZK/witness
101+
kli contacts replace --name issuer2 --prefix ELkmm28zQEyxkryJZQ4WVT4fjukklM4dR91l2DQfQHZK --alias issuee
88102

89103
kli oobi resolve --name issuee1 --oobi-alias issuer --oobi http://127.0.0.1:5642/oobi/ELrnb8aI_wy2q_sSbCAwkgy2kOdMpRI1urFrhQiMJGLW/witness
104+
kli contacts replace --name issuee1 --prefix ELrnb8aI_wy2q_sSbCAwkgy2kOdMpRI1urFrhQiMJGLW --alias issuer
90105
kli oobi resolve --name issuee2 --oobi-alias issuer --oobi http://127.0.0.1:5642/oobi/ELrnb8aI_wy2q_sSbCAwkgy2kOdMpRI1urFrhQiMJGLW/witness
106+
kli contacts replace --name issuee2 --prefix ELrnb8aI_wy2q_sSbCAwkgy2kOdMpRI1urFrhQiMJGLW --alias issuer
91107

92108
# Create a credential registry owned by the issuer issuer
93109
kli vc registry incept --name issuer1 --alias issuer --registry-name vLEI --usage "Issue vLEIs" --nonce AHSNDV3ABI6U8OIgKaj3aky91ZpNL54I5_7-qwtC6q2s &

Diff for: scripts/demo/credentials/multisig-issuer-interactive.sh

+7
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,25 @@ kli incept --name multisig2 --alias multisig2 --file ${KERI_DEMO_SCRIPT_DIR}/dat
1515

1616
# Exchange OOBIs between multisig group
1717
kli oobi resolve --name multisig1 --oobi-alias multisig2 --oobi http://127.0.0.1:5642/oobi/EJccSRTfXYF6wrUVuenAIHzwcx3hJugeiJsEKmndi5q1/witness
18+
kli contacts replace --name multisig1 --prefix EJccSRTfXYF6wrUVuenAIHzwcx3hJugeiJsEKmndi5q1 --alias multisig2
1819
kli oobi resolve --name multisig2 --oobi-alias multisig1 --oobi http://127.0.0.1:5642/oobi/EKYLUMmNPZeEs77Zvclf0bSN5IN-mLfLpx2ySb-HDlk4/witness
20+
kli contacts replace --name multisig2 --prefix EKYLUMmNPZeEs77Zvclf0bSN5IN-mLfLpx2ySb-HDlk4 --alias multisig1
1921

2022
# Create the identifier to which the credential will be issued
2123
kli init --name holder --salt 0ACDEyMzQ1Njc4OWxtbm9qWc --nopasscode --config-dir ${KERI_SCRIPT_DIR} --config-file demo-witness-oobis
2224
kli incept --name holder --alias holder --file ${KERI_DEMO_SCRIPT_DIR}/data/gleif-sample.json
2325

2426
# Introduce multisig to Holder
2527
kli oobi resolve --name holder --oobi-alias multisig2 --oobi http://127.0.0.1:5642/oobi/EJccSRTfXYF6wrUVuenAIHzwcx3hJugeiJsEKmndi5q1/witness
28+
kli contacts replace --name holder --prefix EJccSRTfXYF6wrUVuenAIHzwcx3hJugeiJsEKmndi5q1 --alias multisig2
2629
kli oobi resolve --name holder --oobi-alias multisig1 --oobi http://127.0.0.1:5642/oobi/EKYLUMmNPZeEs77Zvclf0bSN5IN-mLfLpx2ySb-HDlk4/witness
30+
kli contacts replace --name holder --prefix EKYLUMmNPZeEs77Zvclf0bSN5IN-mLfLpx2ySb-HDlk4 --alias multisig1
2731

2832
# Introduce the holder to all participants in the multisig group
2933
kli oobi resolve --name multisig1 --oobi-alias holder --oobi http://127.0.0.1:5642/oobi/ELjSFdrTdCebJlmvbFNX9-TLhR2PO0_60al1kQp5_e6k/witness
34+
kli contacts replace --name multisig1 --prefix ELjSFdrTdCebJlmvbFNX9-TLhR2PO0_60al1kQp5_e6k --alias holder
3035
kli oobi resolve --name multisig2 --oobi-alias holder --oobi http://127.0.0.1:5642/oobi/ELjSFdrTdCebJlmvbFNX9-TLhR2PO0_60al1kQp5_e6k/witness
36+
kli contacts replace --name multisig2 --prefix ELjSFdrTdCebJlmvbFNX9-TLhR2PO0_60al1kQp5_e6k --alias holder
3137

3238
# Load Data OOBI for schema of credential to issue
3339
kli oobi resolve --name multisig1 --oobi-alias vc --oobi http://127.0.0.1:7723/oobi/EBfdlu8R27Fbx-ehrqwImnK-8Cm79sqbAQ4MmvEAYqao
@@ -48,6 +54,7 @@ kli multisig join --name multisig2
4854

4955
wait $PID_LIST
5056
kli oobi resolve --name holder --oobi-alias multisig --oobi http://127.0.0.1:5642/oobi/EC61gZ9lCKmHAS7U5ehUfEbGId5rcY0D7MirFZHDQcE2/witness
57+
kli contacts replace --name holder --prefix EC61gZ9lCKmHAS7U5ehUfEbGId5rcY0D7MirFZHDQcE2 --alias multisig
5158

5259
# Create a credential registry owned by the multisig issuer
5360
kli vc registry incept --name multisig1 --alias multisig --registry-name vLEI --usage "Issue vLEIs" --nonce AHSNDV3ABI6U8OIgKaj3aky91ZpNL54I5_7-qwtC6q2s &

Diff for: src/keri/app/cli/commands/clean.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,13 @@ def __init__(self, args):
4747
super(CleanDoer, self).__init__()
4848

4949
def recur(self, tyme):
50-
5150
hby = existing.setupHby(name=self.args.name, base=self.args.base,
5251
bran=self.args.bran, temp=self.args.temp)
52+
53+
print("Clearing escrows...")
54+
hby.db.clearEscrows()
55+
print("Finished")
56+
5357
print("Migrating...")
5458
hby.db.migrate()
5559
print("Finished")
@@ -59,6 +63,6 @@ def recur(self, tyme):
5963

6064
print("Database open, performing clean...")
6165
hby.db.clean()
62-
print("Finished.")
66+
print("Finished")
6367

6468
return True

0 commit comments

Comments
 (0)