Hi,
I would like to use your shareViaPublicKey API.
await storage.shareViaPublicKey({
publicKeys: [{
id: 'user@email.com', // or any identifier for the user
pk: 'user-pk-hex-or-multibase', // optional, omit if user doesn't exist yet, it would generate temp access key
}],
paths: [{
bucket: 'personal',
path: '/file/path/here'
}],
});
However, I currently do not understand which value I should store behind the attribute 'id' or where I resolve this value.
publicKeys: [{
id: 'user@email.com', // or any identifier for the user
pk: 'user-pk-hex-or-multibase', // optional, omit if user doesn't exist yet, it would generate temp access key
}]
Can you explain this to me in more detail?
Currently i use a modified Version of the class BrowserStorage to Authenticate users on the local device by Webauthn.
Thanks in advance
Stephan
Hi,
I would like to use your shareViaPublicKey API.
However, I currently do not understand which value I should store behind the attribute 'id' or where I resolve this value.
Can you explain this to me in more detail?
Currently i use a modified Version of the class BrowserStorage to Authenticate users on the local device by Webauthn.
Thanks in advance
Stephan