Skip to content

Commit

Permalink
Hot fixing cloneCreds fix into main. (WebOfTrust#691)
Browse files Browse the repository at this point in the history
* Hot fixing cloneCreds fix into main.

Signed-off-by: pfeairheller <[email protected]>

* Rev version number.

Signed-off-by: pfeairheller <[email protected]>

---------

Signed-off-by: pfeairheller <[email protected]>
  • Loading branch information
pfeairheller committed Feb 26, 2024
1 parent f1fa336 commit 7afa432
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

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

.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.0 .
@@docker buildx build --platform=linux/amd64 -f images/witness.demo.dockerfile --tag weboftrust/keri-witness-demo:1.1.1 .

.PHONY: publish-keri
publish-keri:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from setuptools import find_packages, setup
setup(
name='keri',
version='1.1.0', # also change in src/keri/__init__.py
version='1.1.1', # also change in src/keri/__init__.py
license='Apache Software License 2.0',
description='Key Event Receipt Infrastructure',
long_description="KERI Decentralized Key Management Infrastructure",
Expand Down
2 changes: 1 addition & 1 deletion src/keri/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-

__version__ = '1.1.0' # also change in setup.py
__version__ = '1.1.1' # also change in setup.py


2 changes: 1 addition & 1 deletion src/keri/vdr/viring.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ def cloneCreds(self, saids, db):
atc = bytearray(signing.serialize(creder, prefixer, seqner, saider))
del atc[0:creder.size]

iss = bytearray(self.cloneTvtAt(pre=prefixer.qb64, sn=seqner.sn))
iss = bytearray(self.cloneTvtAt(creder.said))
iserder = serdering.SerderKERI(raw=iss)
issatc = bytes(iss[iserder.size:])

Expand Down
6 changes: 6 additions & 0 deletions tests/vdr/test_verifying.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,12 @@ def test_verifier(seeder):
saider = regery.reger.schms.get("EMQWEcCnVRk1hatTNyK3sIykYSrrFvafX3bHQ9Gkk1kC")
assert saider[0].qb64 == creder.said

# also try it via the cloneCreds function
creds = regery.reger.cloneCreds(saids=saider, db=hab.db)

for idx, cred in enumerate(creds):
assert dcre.sad == cred["sad"]

"""End Test"""


Expand Down

0 comments on commit 7afa432

Please sign in to comment.