-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Request]: Storage Handling #1269
Comments
To be more precise: Regards |
When you call const credentialJwt = await issuerDocument.createCredentialJwt(
issuerStorage,
issuerFragment,
unsignedVc,
new JwsSignatureOptions(),
); (taken from createVC example) The storage will be automatically used to sign the VC. You don't have to sign it manually. The key that will be used is defined by the Note that in the JS bindings, we don't offer any persistent storage solution yet. You have to implement the storage interfaces yourself. In Rust, we provide a stronghold implementation ready to be used. About the SDK, AFAIK there are no plans right now for including identity as a part of the SDK. |
Hey, thx for the Fast Response. I saw that vc method. I want first to create the did with the Service... and then later create the vc ( e.g. at an other point in time) in a seperated method. How is this possible? Get the storage with the keyId??? |
ahhh ok, no persitent storage... I read that to late -> I saw that stronghold for rust -> is it planned to have it in JS? |
Hello,
I hope you can help me.
Description
I create some UI examples based on your nodejs examples.
Here I want to first of all create a DID with a specific verification method
In different steps I want to use that method to create VCs. But I need to have the storage (..the private keys)
In your example you have the direct access to the storage and could you it directly.
Could you help me to understand how I access that storage to create VCs.
I tried to use
var keyStorage = storage.keyStorage();
var keyIdStorage = storage.keyIdStorage();
But when I try :
const storage: Storage = new Storage(keyStorage , keyIdStorage);
I gives me the error:
identity-wasm/node/identity_wasm.js:9339
const ret = getObject(arg0).getKeyId(MethodDigest.__wrap(arg1));
^
TypeError: getObject(...).getKeyId is not a function
I know that this is an Support question, but I hope you can help me out?
By the way, is it planned to include the identity framwaork somehow to the sdk?
Regards..
The text was updated successfully, but these errors were encountered: