xmtp / libxmtp

LibXMTP is a shared library encapsulating the core functionality of the XMTP messaging protocol, such as cryptography, networking, and language bindings.
MIT License
42 stars 18 forks source link

Generate and persist account keys #73

Closed richardhuaaa closed 1 year ago

richardhuaaa commented 1 year ago

We can generate/store the vmac keys as-is. If there are already keys on disk, we should read those into memory as part of initialization.

Wallet signing the identity key and possibly the fallback key is left as a separate task for simplicity.

richardhuaaa commented 1 year ago

We should make sure that when we persist, information about whether the keys have been successfully uploaded or not is included. Related: xmtp-js/#347

neekolas commented 1 year ago

I'm marking this as closed, and we can create a new ticket for migrating to proto. But that doesn't block anything for now.