Closed sylfax closed 1 year ago
Just tested with SSI Kit:
ssikit did create -m ebsi
Creating did:ebsi (key: c6150b22560449f69b69fb9042fda868)
DID created: did:ebsi:zqbpbMhyHg95cDyyuWQ8Rui
ssikit essif onboard --did did:ebsi:zqbpbMhyHg95cDyyuWQ8Rui bearer.txt
ESSIF onboarding for DID did:ebsi:zqbpbMhyHg95cDyyuWQ8Rui running...
ESSIF onboarding for DID did:ebsi:zqbpbMhyHg95cDyyuWQ8Rui was performed successfully.
ssikit essif auth-api --did did:ebsi:zqbpbMhyHg95cDyyuWQ8Rui
EBSI Authentication API flow for DID did:ebsi:zqbpbMhyHg95cDyyuWQ8Rui running...
EBSI Authentication API flow for DID did:ebsi:zqbpbMhyHg95cDyyuWQ8Rui was performed successfully.
Are you possibly using an old version of the Wallet Kit?
Okay, it seems like this happens when EBSI returns:
{"title":"Unauthorized","status":401,"type":"about:blank","detail":"\"exp\" claim timestamp check failed"}
I will add an expiration check for the bearer token and an appropriate error message.
There is now both a check for invalid Verifiable Authorizations (like in your place it will still be stored) & for expired bearer tokens at the onboarding step.
Thanks!
It's works perfectly!
Thanks!
It's works perfectly!
Great to hear!
Hello,
I'm using the latest version. I want to generate a DID for an issuer for EBSI. Now I have the following error in the following step (the previous steps work fine:
waltid-walletkit config --as-issuer essif auth-api --did did:ebsi:z22Bp8QEiHPPuPtbEyj45zby
The error is the following: `walt.id SSI Kit 1.13.0-SNAPSHOT (running on Java 17.0.3+6-LTS) [main] DEBUG id.walt.services.WaltIdServices - Creating dir-structure at: data
[main] INFO id.walt.webwallet.backend.cli.ConfigCmd - Running in context of: Issuer EBSI Authentication API flow for DID did:ebsi:z22Bp8QEiHPPuPtbEyj45zby running...
[main] DEBUG id.walt.services.ecosystems.essif.EssifClient - ESSIF Authorization API flow started [main] DEBUG id.walt.services.ecosystems.essif.userwallet.UserWalletService - Loading Verifiable Authorization from HKV Store. Exception in thread "main" com.beust.klaxon.KlaxonException: Unable to instantiate EbsiVAWrapper:No argument provided for a required parameter: parameter #0 verifiableCredential of fun
<init>
(id.walt.services.ecosystems.essif.EbsiVa, id.walt.credentials.w3c.W3CProof?): id.walt.services.ecosystems.essif.EbsiVAWrapper No argument provided for a required parameter: parameter #0 verifiableCredential of fun<init>
(id.walt.services.ecosystems.essif.EbsiVa, id.walt.credentials.w3c.W3CProof?): id.walt.services.ecosystems.essif.EbsiVAWrapper