Skip to content

Commit

Permalink
Pass the correct key for multitenant single wallets (#3450)
Browse files Browse the repository at this point in the history
Signed-off-by: jamshale <[email protected]>
  • Loading branch information
jamshale authored Jan 20, 2025
1 parent 7565ada commit f090b29
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions acapy_agent/multitenant/single_wallet_askar_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,12 @@ async def get_wallet_profile(
"multitenant.wallet_name", self.DEFAULT_MULTITENANT_WALLET_NAME
)
context = base_context.copy()

sub_wallet_settings = {
"wallet.recreate": False,
"wallet.seed": None,
"wallet.key": "",
"wallet.rekey": None,
"wallet.key": base_context.settings.get("wallet.key", ""),
"wallet.rekey": base_context.settings.get("wallet.rekey"),
"wallet.id": None,
"wallet.name": multitenant_wallet_name,
"wallet.type": "askar",
Expand Down

0 comments on commit f090b29

Please sign in to comment.