In the VC specification; prepare_credential should validate the JWS, I’m using JavaScript/TypeScript; so far I can decode the JWS; and have access to all the component inside: the signature; the headers, etc. How should this JWS be validated ? are there any minimum requirements for things to be validated to have the minimum of security?
The preapre_credential is part of the issuer api, expected to be a canister. Are you developing a canister in Typescript? Are you developing an issuer or a relying party?
I’m building an issuer in TypeScript using Azle, I read the specification and the doc on Dfinity, however I was refering to the demo written in rust, I saw the prepare_credential using extra from the rust vc_issuer rust lib.
To become an issuer, you need a canister. At the moment, the most popular languages to write canisters are Motoko (not yet supported by the SDK) and Rust.
I will note your request and I’ll try to prioritize supporting Azle in the SDK. That would be very interesting for me as well.
I guess that you can reach out to the developers of Azle and ask them. Maybe they can submit a grant to add VC support in Azle.
Hi, I have some questions about VC Flow that I hope you can answer:
Can I use package
@dfinity/verifiable-credentials
for standalone frontend: ReactJS, VueJS (not Rust frontend)? because I’m trying to implement it but it’s stuck at Internet Identity vc-flow with message: “Waiting for verification data”
2. When will Motoko language be able to use VC Flow.
Azle cannot execute Wasm like this currently, unfortunately. We would like to get to that but we are tied up trying to get the 1.0 release of the ICP APIs.