feat: ability to import/export IPNS key
Is your feature request related to a problem? Please describe.
Users cannot import/export keys easily, and have to use the CLI.
Describe the solution you'd like
We should provide both an import and export button in Settings - IPNS Publishing Keys, next to rename/remove.
When a user imports/exports a key, we should accept/export both .key files and base64 if possible.
Describe alternatives you've considered
Users currently have to run CLI commands to do this, e.g. ipfs key export <name>
Additional context
From slack chat: https://ipshipyard.slack.com/archives/C046HDAHA13/p1741954637480849
Hi @SgtPooki, good day! I attempted this, but encountered an error: "Failed to import: file argument 'key' is required." After tracing the issue, I found it's related to the Kubo client. Would it be okay if I submit a PR to fix it?
@george-hub331 absolutely. are you talking about in kubo-rpc-client?
yea
#2348