keripy icon indicating copy to clipboard operation
keripy copied to clipboard

kli vc registry incept does not work - Registry.make() got an unexpected keyword argument 'temp'

Open lenkan opened this issue 7 months ago • 1 comments

Version

1.2.5-dev0 (main branch)

Environment

Python 3.13, ubuntu 24.04

Expected behavior

kli vc registry incept should create a registry.

Actual behavior

ERR: Registry.make() got an unexpected keyword argument 'temp'

Steps to reproduce

  1. Create keystore
  2. Create identifier
  3. Create registry

Script to reproduce:

#!/bin/bash
set -e

kli witness demo &

teardown () {
    echo "Teardown"
    trap - SIGTERM && kill -- -$$
}

trap teardown EXIT

while true; do
    status=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:5642/oobi || true)

    if [[ $status -eq 200 ]]; then
        break
    fi

    echo "Waiting for witness to start"
    sleep 2
done

echo "Witness started"


random_name=ks_$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 8 | head -n 1)
kli init --name "$random_name" --nopasscode
kli oobi resolve --name "$random_name" --oobi http://127.0.0.1:5642/oobi/BBilc4-L3tFUnfM_wJr4S4OJanAv_VmF_dJNN6vkf2Ha/controller

kli incept --name "$random_name" --alias registry_test \
    --wit BBilc4-L3tFUnfM_wJr4S4OJanAv_VmF_dJNN6vkf2Ha \
    --toad 1 \
    --icount 1 \
    --ncount 1 \
    --isith 1 \
    --nsith 1 \
    --transferable

kli vc registry incept --name "$random_name" --alias registry_test

Log output:

$ ./scripts/demo/basic/incept.sh
Waiting for witness to start
Witness wan : BBilc4-L3tFUnfM_wJr4S4OJanAv_VmF_dJNN6vkf2Ha
Witness wil : BLskRTInXnMxWaGqcpSyMgo0nYbalW99cGZESrz3zapM
Witness wes : BIKKuvBwpmDVA4Ds-EpL5bt9OqPzWPja2LigFYZN2YfX
Witness wit : BM35JN8XeJSEfpxopjn5jr7tAHCE5749f0OobhMLCorE
Witness wub : BIj15u5V11bkbtAxMA7gcNJZcax-7TgaBMLsQnMHpYHP
Witness wyz : BF2rZTW79z4IXocYRQnjjsOuvFUQv-ptCf8Yltd7PfsM
Witness started
KERI Keystore created at: /home/lenkan/.keri/ks/ks_qzCtWRZQ
KERI Database created at: /home/lenkan/.keri/db/ks_qzCtWRZQ
KERI Credential Store created at: /home/lenkan/.keri/reg/ks_qzCtWRZQ
http://127.0.0.1:5642/oobi/BBilc4-L3tFUnfM_wJr4S4OJanAv_VmF_dJNN6vkf2Ha/controller resolved
Waiting for witness receipts...
Prefix  EIW29rIe751YqPrA6iw5QTDCWbTG92GsFhYikEZrQYjF
        Public key 1:  DHs_FX1K-eLgLBMoQan3GGEXfpPJz_TGSNZrYeZTBhA0

ERR: Registry.make() got an unexpected keyword argument 'temp'
Teardown
Terminated

lenkan avatar May 12 '25 14:05 lenkan

Seems its the same/related issue which I have as well. Proposed a PR: https://github.com/WebOfTrust/keripy/pull/1073

DenisPopov15 avatar Aug 05 '25 06:08 DenisPopov15