You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
await storage.shareViaPublicKey({
publicKeys: [{
id: '[email protected]', // 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: '[email protected]', // 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
The text was updated successfully, but these errors were encountered:
The response received contains a "sig" that must be exchanged between the clients. This sig of the other client can then be used in combination with its PublicKey to execute the following command:
With this procedure I was able to realize a complete share of a file between two clients.
Is this exactly how you want it to be handled or should it be handled differently?
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
The text was updated successfully, but these errors were encountered: