diff --git a/setup.py b/setup.py index 79ea0c3..ca07465 100644 --- a/setup.py +++ b/setup.py @@ -65,7 +65,7 @@ ], python_requires='>=3.12.1', install_requires=[ - 'keri>=1.1.6', + 'keri>=1.2.0-dev0', 'multicommand>=1.0.0', 'requests>=2.28', 'http_sfv>=0.9.8', diff --git a/src/signify/app/credentialing.py b/src/signify/app/credentialing.py index e5a5948..e45e444 100644 --- a/src/signify/app/credentialing.py +++ b/src/signify/app/credentialing.py @@ -95,7 +95,7 @@ def serialize(serder, anc): if len(atc) % 4: raise ValueError("Invalid attachments size={}, nonintegral" " quadlets.".format(len(atc))) - pcnt = coring.Counter(code=coring.CtrDex.AttachedMaterialQuadlets, + pcnt = coring.Counter(code=coring.CtrDex.AttachmentGroup, count=(len(atc) // 4)).qb64b msg = bytearray(serder.raw) msg.extend(pcnt) diff --git a/tests/core/test_authing.py b/tests/core/test_authing.py index b6b5574..f66efda 100644 --- a/tests/core/test_authing.py +++ b/tests/core/test_authing.py @@ -9,6 +9,7 @@ from keri import kering from keri.core import serdering from keri.core.coring import Tiers +from keri.kering import Serials, versify from mockito import mock, unstub, expect, verifyNoUnwantedInteractions import pytest @@ -131,7 +132,7 @@ def test_controller_derive(): assert serder.raw == raw from keri.core import coring - e1 = dict(v=coring.Vstrings.json, + e1 = dict(v=versify(kind=Serials.json, size=0), t="rot", d="", i="EMPYj-h2OoCyPGQoUUd1tLUYe62YD_8A3jjXxqYawLcV", diff --git a/tests/core/test_keeping.py b/tests/core/test_keeping.py index fdc2dfd..cab7acb 100644 --- a/tests/core/test_keeping.py +++ b/tests/core/test_keeping.py @@ -845,7 +845,7 @@ def test_base_keeper_sign_indexed(indexed, indices, ondices): from keri.core.coring import Signer mock_signer_one = mock(spec=Signer, strict=True) - from keri.core.coring import Siger + from keri.core import Siger mock_cigar = mock({'qb64': 'an indexed signature'}, spec=Siger, strict=True) expect(mock_signer_one, times=1).sign(b'ser bytes', index=0, only=False, ondex=0).thenReturn(mock_cigar)