-
Notifications
You must be signed in to change notification settings - Fork 309
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
Canonical location for app public keys #458
Comments
Does this require any changes from Gaia? |
I don't think it would, @hstove -- I think it would only require changes in |
Awesome, yeah that makes sense. This would be really cool (especially in combination with your inbox proposal, which would open up a ton of possibilities). |
If also "storage: gaiaurl" is added to appsMeta (duplicated), we'd have a way of deprecating and later removing "apps" in total to get away from the cruft of having apps and appsMeta separated. The platform is still so young that we're not likely to have a lot of apps/code that exists now actually be usable in a years time anyway. So it might be nice planning for deprecation/nice formats. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed. Please reopen if needed. |
There's a number of features that require communicating user's app-specific public keys-- e.g., end-to-end encryption and signing. We could support these features much more easily by having a canonical location for storing app-specific public keys for multi-player applications
Imagine, being able to encrypt a file to another specific user by calling:
And that would encrypt the file to blankstein.id in a way that blankstein.id's appPrivateKey would know how to decrypt. Would be pretty cool, right?
Anyways, I talked about this in #381 -- and proposed turning the
apps
key in the profile object into a mapping fromappDomain
to an object{ hubUrl, publicKey }
instead of just a string as it is today. Unfortunately, this wouldn't be a backwards compatible change, and for changes to the profile object, it would be nice to have backwards compatible changes.Instead, we could add a key to profile object
appsMeta
which would be a mapping fromappDomain
to objects, and store the public key there.The text was updated successfully, but these errors were encountered: