Closed Marcjazz closed 7 months ago
Hi @Marcjazz.
I was able to get accurate results with this code: https://github.com/lukasjhan/sd-jwt-bug-tests/blob/master/index.ts Can you check above sample project?
btw: my nodejs version is 20.11.1
Hello @lukasjhan
I will try that, but I'm using the @hopae/sd-jwt package instead
Oh That was the problem. Currently we change our package name to @sd-jwt/core
Please use our latest package verison :)
If there is a place where the package name is marked as old, please let me know. I'll fix it.
I'm trying to retrieve presentable keys from an SD JWT compact string but I keep getting an empty array though the
sdjwt.decode(sdjwtCompact)
clearing affirm they're disclosures within thesdjwtCompact
. Here my sample codeHere are the logs
Even with this jwt I took from the sd-jwt-ts present test package I still don't get the presentable keys