Skip to content

Commit

Permalink
0.12 LTS: Askar upgrade and fix profile unique names (#3475)
Browse files Browse the repository at this point in the history
* Askar upgrade and fix profile unique names

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

* Update aries-askar to 0.4.3

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

---------

Signed-off-by: jamshale <[email protected]>
  • Loading branch information
jamshale authored Jan 30, 2025
1 parent 24cf926 commit f22514d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 24 deletions.
2 changes: 1 addition & 1 deletion aries_cloudagent/askar/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __init__(
@property
def name(self) -> str:
"""Accessor for the profile name."""
return self.opened.name
return self.profile_id or self.opened.name

@property
def store(self) -> Store:
Expand Down
2 changes: 1 addition & 1 deletion aries_cloudagent/askar/profile_anon.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __init__(
@property
def name(self) -> str:
"""Accessor for the profile name."""
return self.opened.name
return self.profile_id or self.opened.name

@property
def store(self) -> Store:
Expand Down
28 changes: 7 additions & 21 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ did-peer-2 = "^0.1.2"
did-peer-4 = "^0.1.4"

# askar
aries-askar= { version = "~0.3.0", optional = true }
aries-askar= { version = "~0.4.3", optional = true }
indy-credx= { version = "~1.1.1", optional = true }
indy-vdr= { version = "~0.4.0", optional = true }
anoncreds= { version = "0.2.0", optional = true }
Expand Down

0 comments on commit f22514d

Please sign in to comment.