I'd like to start using git via nostr, but I'm extremely strict about how I interact with my keys. My secret key is locked up in a vault and not exportable on purpose. My signer does not currently work with nip46 and I have my issues with nip46 as well. That said I would like to see if there is interest for the ability to create an IPC api for external credential managers. Similar to git cli, ssh and so on.
Suggestions:
- Possibly connecting to a locally running process via pipes or sockets
- Starting a child process of the credential manager to pass cryptographic event's to to sign/verify.
I think we could safely assume passing JSON encoded messages between processes would make the most sense.
In the future this would easily allow hardware signer support (especially if we created a simple protocol)