openwallet-foundation/credo-ts

Bug: Error initializing Agent

Closed this issue · 2 comments

Came across this while configuring and initializing the Agent
Error creating key with key type 'ed25519': Cannot read property 'Software' of undefined

Tracing down the stack trace to

async getMediationConnection(mediatorInvitationUrl) -> 
    this.mediationRecipient.getRouting({ useDefaultMediator: false });
     const recipientKey = await agentContext.wallet.createKey({ keyType: crypto_1.KeyType.Ed25519 });

In previos versions of credo its working fine, but after upgrading to 0.5.9, we have this error

I think you need to update your version of Aries Askar

@TimoGlastra You are totally right, after updating ask version, it worked
Thank you