Global Feed Post Login
Replying to Avatar jb55

An idea that someone gave me the other day for notedeck:

Spawn a signer subprocess that you communicate with over standard i/o. Launch this subprocess without network privileges (cgroups ?).

This subprocess would be responsible for signing things. Then you could make an option to swap this out for any other signer process on your system so you could run your own.

stdin/out interface with json would be simple to implement. Not sure how amber works but i assume it would be similar to that.

thoughts nostr:npub1acg6thl5psv62405rljzkj8spesceyfz2c32udakc2ak0dmvfeyse9p35c ? You have anything like this?

Avatar
Rusty Russell 11mo ago

If you do JSON RPC I strongly recommend you guarantee one request per line. This makes clients easier to write: read a line, parse

Reply to this note

Please Login to reply.

Discussion

Avatar
jb55 11mo ago

oh for sure. will likely just make it compatible with nostr requests which are one line

Thread collapsed