I am working on a service for hosting an HD wallet for a user, generating new address for each transaction, but without hosting their private key.
The idea is to let the user export an EPK from their HD wallet (once this is supported) into a file of some sort. Then they continue to manage their private key in any wallet that they want.
My question is: what format should that file be? Perhaps a PEM file that looks something like:
-----BEGIN EPK-----
...
-----END EPK-----
-----BEGIN EPK SIGNATURE-----
...
-----END EPK SIGNATURE-----
The signature is necessary to prevent mitm after exporting and before uploading. Is there already an implementation of exporting EPKs that I can try out? I appreciate your thoughts