Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
8c092dc
Fixes command line multisig join for incept/rotate/interact (#707)
m00sey Mar 12, 2024
3f683b3
Version bump to 1.1.7
pfeairheller Mar 12, 2024
6495a90
Update to kli multisig join command work correctly for IPEX ADMIT mes…
pfeairheller Mar 17, 2024
1fe9214
Version bump
pfeairheller Mar 17, 2024
c97212d
docs: update docker run command for locally built image (#724)
tsterker Mar 25, 2024
d18fe3f
Add support for the --send argument back into `kli revoke`. It got c…
pfeairheller Mar 26, 2024
94c8c8d
Version Bump
pfeairheller Mar 27, 2024
da94906
adds escrow clean up to migrate (#733)
m00sey Apr 2, 2024
636774f
version 1.1.10
m00sey Apr 2, 2024
258726d
Update to contact list to account for non-backward compatible changes…
pfeairheller Apr 4, 2024
03367ed
process only saved credentials during migration (#749)
Arsh-Sandhu Apr 9, 2024
e770118
Version bump
pfeairheller Apr 10, 2024
6d8ad21
Fix OOBI resolution (#766)
pfeairheller Apr 25, 2024
fa91970
Version bump
pfeairheller Apr 25, 2024
08e5730
Feat/no bran (#781)
m00sey May 9, 2024
652ab09
v1.1.14
m00sey May 9, 2024
77b1d43
feat: multisig join --group arg (#782)
kentbull May 14, 2024
f2cf0f2
fixes some usages of coring.Serder to use serdering.SerderKERI (#788)
m00sey May 31, 2024
6c8e86b
1.1.15 bump
m00sey May 31, 2024
9f43317
updates dockerfile to new alpine (#792)
m00sey Jun 3, 2024
1d2e766
adds bytes cast (#795)
m00sey Jun 3, 2024
5b626ab
fix: correct short arg for --group from -a to -g (#801)
kentbull Jun 12, 2024
89317bd
fixes end role check - bump to v1.1.16
m00sey Jul 4, 2024
d62ce52
fixes end role check - bump to v1.1.16
m00sey Jul 4, 2024
64e712e
v1.1.17
m00sey Jul 5, 2024
9a4ed6a
updates Hio version (#823)
m00sey Jul 25, 2024
9061ef9
bump to 1.1.18
m00sey Jul 26, 2024
c2eef91
feat: update smids and rmids on rotate (#857)
kentbull Oct 4, 2024
41ce1ad
Version Bump
pfeairheller Oct 4, 2024
214a89d
Version Bump
pfeairheller Oct 14, 2024
1d1d76d
cherry pick migration commit and add name fix (#879)
kentbull Oct 24, 2024
f96d746
version bump
m00sey Oct 24, 2024
3299987
feat: KERI_LMDB_MAP_SIZE for setting LMDB file size (#889)
kentbull Nov 14, 2024
d16b2ae
version bump
m00sey Nov 14, 2024
4fb13ef
adds multi architecture build (#891)
m00sey Nov 20, 2024
5cc5e2a
Clear both KEL and TEL escrows; list all events in escrow, or their c…
kentbull Nov 25, 2024
9a16f70
version bump
m00sey Nov 25, 2024
9884288
version bump
m00sey Nov 25, 2024
d87ab62
trailing comma
m00sey Nov 26, 2024
8f5720b
change log
m00sey Nov 26, 2024
d750040
escrow logs
m00sey Nov 27, 2024
22bae1e
adds test for escrow clear
m00sey Dec 3, 2024
a700ce6
adds rp to exn to work with newer witnesses running on newer keri (#905)
m00sey Dec 13, 2024
1c9bc52
version bump
m00sey Dec 14, 2024
b8479d3
refactor: logging should use keri.help, not hio.help (#907)
kentbull Dec 15, 2024
db467bf
fix: add nonces in prep for private creds (#914)
kentbull Dec 31, 2024
247c6e2
refactor: move escrow logs to TRACE and msg body logs to DEBUG (#913)
kentbull Jan 2, 2025
8b0ca13
version 1.1.28
m00sey Jan 2, 2025
2627a81
version bump
m00sey Jan 2, 2025
62ff39a
fix: add missing private arg to proving.credential() (#925)
kentbull Jan 13, 2025
daf9cda
1.1.30
m00sey Jan 13, 2025
100b162
to 1.1.30: feat: add consistent logging at INFO and DEBUG levels (#930)
kentbull Feb 21, 2025
bb2b9dd
version bump
m00sey Feb 24, 2025
620d172
list
m00sey Feb 24, 2025
a06fae1
cleans up escrow counts
m00sey Feb 25, 2025
1657f0e
kli mark, rem, list notifications (#946)
m00sey Mar 3, 2025
03a3fa3
fix: merge instead of replace contact data on re-OOBI (#944)
kentbull Mar 3, 2025
c14e067
version bump
m00sey Mar 3, 2025
b336a4f
Merge branch 'v1.1.32' into v1.1.32-pr1
Arsh-Sandhu Mar 11, 2025
42659ec
remove unused code
Arsh-Sandhu Mar 12, 2025
4611f80
allows missing rp field for exns when it is the only missing field
Arsh-Sandhu Mar 13, 2025
b43bf71
allows missing rp field for exns when it is the only missing field
Arsh-Sandhu Mar 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/python-app-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ macos-latest, ubuntu-latest ]
os: [ macos-13, ubuntu-latest ]

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10.4
- name: Set up Python 3.12.2
uses: actions/setup-python@v2
with:
python-version: 3.10.4
python-version: 3.12.2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -47,10 +47,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10.4
- name: Set up Python 3.12.2
uses: actions/setup-python@v2
with:
python-version: 3.10.4
python-version: 3.12.2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -68,10 +68,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10.4
- name: Set up Python 3.12.2
uses: actions/setup-python@v2
with:
python-version: 3.10.4
python-version: 3.12.2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
36 changes: 27 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,34 @@

.PHONY: build-keri
build-keri:
@docker buildx build --platform=linux/amd64 -f images/keripy.dockerfile --tag weboftrust/keri:1.1.6 .

.PHONY: build-witness-demo
build-witness-demo:
@@docker buildx build --platform=linux/amd64 -f images/witness.demo.dockerfile --tag weboftrust/keri-witness-demo:1.1.6 .
VERSION=1.1.33

.PHONY: publish-keri
publish-keri:
@docker push weboftrust/keri --all-tags
define DOCKER_WARNING
In order to use the multi-platform build enable the containerd image store
The containerd image store is not enabled by default.
To enable the feature for Docker Desktop:
Navigate to Settings in Docker Desktop.
In the General tab, check Use containerd for pulling and storing images.
Select Apply and Restart."
endef

build-keri: .warn
@docker build --platform=linux/amd64,linux/arm64 -f images/keripy.dockerfile -t weboftrust/keri:$(VERSION) .

.PHONY: build-witness-demo
build-witness-demo: .warn
@docker build --platform=linux/amd64,linux/arm64 -f images/witness.demo.dockerfile -t weboftrust/keri-witness-demo:1.1.10 .

.PHONY: publish-keri-witness-demo
publish-keri-witness-demo:
@docker push weboftrust/keri-witness-demo --all-tags
@docker push weboftrust/keri-witness-demo --all-tags

publish-keri:
@docker push weboftrust/keri:$(VERSION)

.warn:
@echo -e ${RED}"$$DOCKER_WARNING"${NO_COLOUR}

RED="\033[0;31m"
NO_COLOUR="\033[0m"
export DOCKER_WARNING
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ to get a version string similar to the following:
### Local installation - Docker build
Run `make build-keri` to build your docker image.

Then run `docker run -it gleif/keri /bin/bash` and you can run `kli version` from within the running container to play with KERIpy.
Then run `docker run --pull=never -it --entrypoint /bin/bash weboftrust/keri:1.1.33` and you can run `kli version` from within the running container to play with KERIpy.

Make sure the image tag matches the version used in the `Makefile`.
We use `--pull=never` to ensure that docker does not implicitly pull a remote image and relies on the local image tagged during `make build-keri`.

### Dependencies
#### Binaries
Expand Down
2 changes: 2 additions & 0 deletions docs/keri_db.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ keri.db.dbing
.. automodule:: keri.db.dbing
:members:

The `KERI_LMDB_MAP_SIZE` environment variable can be used to set the size of the LMDB map. The default size is 4GB.

keri.db.escrowing
-----------------

Expand Down
41 changes: 20 additions & 21 deletions images/keripy.dockerfile
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
# Builder layer
FROM python:3.10-alpine as builder
ARG BASE=python:3.12.2-alpine3.19

# Install compilation dependencies
RUN apk --no-cache add \
bash \
FROM ${BASE} AS builder

RUN apk add --no-cache bash

SHELL ["/bin/bash", "-c"]

RUN apk add --no-cache \
curl \
build-base \
alpine-sdk \
libffi-dev \
libsodium \
libsodium-dev

SHELL ["/bin/bash", "-c"]
libsodium-dev

# Setup Rust for blake3 dependency build
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"

WORKDIR /keripy

RUN python -m venv venv

ENV PATH=/keripy/venv/bin:${PATH}

RUN pip install --upgrade pip && \
mkdir /keripy/src
RUN pip install --upgrade pip
RUN mkdir /keripy/src

# Copy Python dependency files in
COPY requirements.txt setup.py ./
# Set up Rust environment and install Python dependencies
# Must source the Cargo environment for the blake3 library to see
# the Rust intallation during requirements install
RUN . ${HOME}/.cargo/env && \
pip install -r requirements.txt

RUN . ${HOME}/.cargo/env
RUN pip install -r requirements.txt

# Runtime layer
FROM python:3.10.13-alpine3.18
FROM ${BASE}

RUN apk --no-cache add \
bash \
Expand All @@ -44,7 +44,6 @@ WORKDIR /keripy
COPY --from=builder /keripy /keripy
COPY src/ src/

ENV PATH=/keripy/venv/bin:${PATH}

ENV PATH="/keripy/venv/bin:${PATH}"

ENTRYPOINT [ "kli" ]
Empty file added keri/cf/demo-witness-oobis.json
Empty file.
Empty file.
21 changes: 11 additions & 10 deletions scripts/demo/basic/migrate-quadlet.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
#!/bin/bash

kli migrate --name multisig1
kli migrate --name multisig2
kli migrate --name multisig3
kli migrate --name multisig4
kli migrate --name delegator --force
kli migrate --name multisig1 --force
kli migrate --name multisig2 --force
kli migrate --name multisig3 --force
kli migrate --name multisig4 --force

kli migrate --name wil
kli migrate --name wan
kli migrate --name wes
kli migrate --name wit
kli migrate --name wub
kli migrate --name wyz
kli migrate --name wil --force
kli migrate --name wan --force
kli migrate --name wes --force
kli migrate --name wit --force
kli migrate --name wub --force
kli migrate --name wyz --force
61 changes: 61 additions & 0 deletions scripts/demo/basic/multisig-join.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
#!/bin/bash

# WITNESSES
# To run the following scripts, open another console window and run:
# $ kli witness demo

kli init --name multisigj1 --salt 0ACDEyMzQ1Njc4OWxtbm9aBc --nopasscode --config-dir "${KERI_SCRIPT_DIR}" --config-file demo-witness-oobis
kli incept --name multisigj1 --alias multisigj1 --file ${KERI_DEMO_SCRIPT_DIR}/data/multisig-1-sample.json

kli init --name multisigj2 --salt 0ACDEyMzQ1Njc4OWdoaWpsaw --nopasscode --config-dir "${KERI_SCRIPT_DIR}" --config-file demo-witness-oobis
kli incept --name multisigj2 --alias multisigj2 --file ${KERI_DEMO_SCRIPT_DIR}/data/multisig-2-sample.json

kli oobi resolve --name multisigj1 --oobi-alias multisigj2 --oobi http://127.0.0.1:5642/oobi/EKJ6tNVUGbdaiwx2nWDCFXG-_PY_AzESOcoKlm0kRNP3/witness/BBilc4-L3tFUnfM_wJr4S4OJanAv_VmF_dJNN6vkf2Ha
kli oobi resolve --name multisigj2 --oobi-alias multisigj1 --oobi http://127.0.0.1:5642/oobi/EFY7MixHb0so4WFFHw6btOPc5qeeWfPm7v5MJWcdcbyG/witness/BBilc4-L3tFUnfM_wJr4S4OJanAv_VmF_dJNN6vkf2Ha

PID_LIST=""

kli multisig incept --name multisigj1 --alias multisigj1 --group multisig --file ${KERI_DEMO_SCRIPT_DIR}/data/multisig-join-sample.json &
pid=$!
PID_LIST+=" $pid"

kli multisig join --name multisigj2 --auto &
pid=$!
PID_LIST+=" $pid"

wait $PID_LIST

kli status --name multisigj1 --alias multisig

kli rotate --name multisigj1 --alias multisigj1
kli query --name multisigj2 --alias multisigj2 --prefix EFY7MixHb0so4WFFHw6btOPc5qeeWfPm7v5MJWcdcbyG
kli rotate --name multisigj2 --alias multisigj2
kli query --name multisigj1 --alias multisigj1 --prefix EKJ6tNVUGbdaiwx2nWDCFXG-_PY_AzESOcoKlm0kRNP3

PID_LIST=""

kli multisig rotate --name multisigj1 --alias multisig --smids EKJ6tNVUGbdaiwx2nWDCFXG-_PY_AzESOcoKlm0kRNP3 --smids EFY7MixHb0so4WFFHw6btOPc5qeeWfPm7v5MJWcdcbyG --isith '["1/2", "1/2"]' --nsith '["1/2", "1/2"]' --rmids EKJ6tNVUGbdaiwx2nWDCFXG-_PY_AzESOcoKlm0kRNP3 --rmids EFY7MixHb0so4WFFHw6btOPc5qeeWfPm7v5MJWcdcbyG &
pid=$!
PID_LIST+=" $pid"

kli multisig join --name multisigj2 --auto &
pid=$!
PID_LIST+=" $pid"

wait $PID_LIST

kli status --name multisigj1 --alias multisig

PID_LIST=""

kli multisig interact --name multisigj1 --alias multisig --data '{"d": "potato"}' &
pid=$!
PID_LIST+=" $pid"

kli multisig join --name multisigj2 --auto &
pid=$!
PID_LIST+=" $pid"

wait $PID_LIST

kli status --name multisigj1 --alias multisig
8 changes: 4 additions & 4 deletions scripts/demo/basic/rotate-new-quartet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ kli query --name multisig1 --alias multisig1 --prefix EJccSRTfXYF6wrUVuenAIHzwcx

# Perform rotation of mulisig AID from local kli AIDs that roll themselves out and the new AIDs in
kli multisig rotate --name multisig1 --alias multisig \
--smids EKYLUMmNPZeEs77Zvclf0bSN5IN-mLfLpx2ySb-HDlk4:2 \
--smids EJccSRTfXYF6wrUVuenAIHzwcx3hJugeiJsEKmndi5q1:2 \
--smids EKYLUMmNPZeEs77Zvclf0bSN5IN-mLfLpx2ySb-HDlk4:1 \
--smids EJccSRTfXYF6wrUVuenAIHzwcx3hJugeiJsEKmndi5q1:1 \
--smids EBFg-5SGDCv5YfwpkArWRBdTxNRUXU8uVcDKNzizOQZc:0 \
--smids EBmW2bXbgsP3HITwW3FmITzAb3wVmHlxCusZ46vgGgP5:0 \
--smids EL4RpdS2Atb2Syu5xLdpz9CcNNYoFUUDlLHxHD09vcgh:0 \
Expand All @@ -22,8 +22,8 @@ kli multisig rotate --name multisig1 --alias multisig \
pid=$!
PID_LIST="$pid"
kli multisig rotate --name multisig2 --alias multisig \
--smids EKYLUMmNPZeEs77Zvclf0bSN5IN-mLfLpx2ySb-HDlk4:2 \
--smids EJccSRTfXYF6wrUVuenAIHzwcx3hJugeiJsEKmndi5q1:2 \
--smids EKYLUMmNPZeEs77Zvclf0bSN5IN-mLfLpx2ySb-HDlk4:1 \
--smids EJccSRTfXYF6wrUVuenAIHzwcx3hJugeiJsEKmndi5q1:1 \
--smids EBFg-5SGDCv5YfwpkArWRBdTxNRUXU8uVcDKNzizOQZc:0 \
--smids EBmW2bXbgsP3HITwW3FmITzAb3wVmHlxCusZ46vgGgP5:0 \
--smids EL4RpdS2Atb2Syu5xLdpz9CcNNYoFUUDlLHxHD09vcgh:0 \
Expand Down
Loading