jb55 on Nostr: An idea that someone gave me the other day for notedeck: Spawn a signer subprocess ...
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
Mike Dilger (npub1acg…p35c) ? You have anything like this?
Published at
2025-02-06 19:58:26Event JSON
{
"id": "8396febf9039ff37486eee7bfa7507f683dcaac85ae5f2a8f31427dd22a91b96",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1738871906,
"kind": 1,
"tags": [
[
"p",
"ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49"
]
],
"content": "An idea that someone gave me the other day for notedeck:\n\nSpawn a signer subprocess that you communicate with over standard i/o. Launch this subprocess without network privileges (cgroups ?).\n\nThis 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. \n\nstdin/out interface with json would be simple to implement. Not sure how amber works but i assume it would be similar to that.\n\nthoughts nostr:npub1acg6thl5psv62405rljzkj8spesceyfz2c32udakc2ak0dmvfeyse9p35c ? You have anything like this?",
"sig": "24b4478a4058624d07fd863605d13051a5e04ed0e94f2af90c069513ce4cbab6c16f01fbdc9e9a968c8cdf74785ab370a625614b7e6ddb89397399d68669a975"
}