Skip to content

Commit f22514d

Browse files
authored
0.12 LTS: Askar upgrade and fix profile unique names (openwallet-foundation#3475)
* Askar upgrade and fix profile unique names Signed-off-by: jamshale <jamiehalebc@gmail.com> * Update aries-askar to 0.4.3 Signed-off-by: jamshale <jamiehalebc@gmail.com> --------- Signed-off-by: jamshale <jamiehalebc@gmail.com>
1 parent 24cf926 commit f22514d

4 files changed

Lines changed: 10 additions & 24 deletions

File tree

aries_cloudagent/askar/profile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def __init__(
5555
@property
5656
def name(self) -> str:
5757
"""Accessor for the profile name."""
58-
return self.opened.name
58+
return self.profile_id or self.opened.name
5959

6060
@property
6161
def store(self) -> Store:

aries_cloudagent/askar/profile_anon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def __init__(
5555
@property
5656
def name(self) -> str:
5757
"""Accessor for the profile name."""
58-
return self.opened.name
58+
return self.profile_id or self.opened.name
5959

6060
@property
6161
def store(self) -> Store:

poetry.lock

Lines changed: 7 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ did-peer-2 = "^0.1.2"
5050
did-peer-4 = "^0.1.4"
5151

5252
# askar
53-
aries-askar= { version = "~0.3.0", optional = true }
53+
aries-askar= { version = "~0.4.3", optional = true }
5454
indy-credx= { version = "~1.1.1", optional = true }
5555
indy-vdr= { version = "~0.4.0", optional = true }
5656
anoncreds= { version = "0.2.0", optional = true }

0 commit comments

Comments
 (0)