RebelOfBabylon on Nostr: Question: would it be possible to do time based delegation? To be more clear, I mean ...
Question: would it be possible to do time based delegation? To be more clear, I mean say you have a nostr webapp that you'd like to use, so you create some delegated keys, those keys are stored in the browser (think JWT tokens) and eventually expire. And a new fresh pair can be renegotiated later. This would allow users to sign/send events using the app but without needing constant approval from the remote signer (I'm think a chat app that uses your nostr keys, it would be a pain to have to constantly use my remote signer as opposed to just using it once for a session). Is this kind of scheme possible or even advisable?
Published at
2024-07-30 14:18:30Event JSON
{
"id": "8e768ba9c5b51fccb5149a10d46ba1c3e64e0b421608fd4f66525e1f3e4bdeeb",
"pubkey": "d06e6018c1fcf7d80d4f18ae7ea669fa10f84389f95f6d1bdcea9727cb266c33",
"created_at": 1722349110,
"kind": 1,
"tags": [
[
"e",
"2ff59593a8e37f5b0cfd3abaaaff6aaccce75ac578f6b696c4e252405c970864",
"",
"root"
],
[
"p",
"17717ad4d20e2a425cda0a2195624a0a4a73c4f6975f16b1593fc87fa46f2d58"
]
],
"content": "Question: would it be possible to do time based delegation? To be more clear, I mean say you have a nostr webapp that you'd like to use, so you create some delegated keys, those keys are stored in the browser (think JWT tokens) and eventually expire. And a new fresh pair can be renegotiated later. This would allow users to sign/send events using the app but without needing constant approval from the remote signer (I'm think a chat app that uses your nostr keys, it would be a pain to have to constantly use my remote signer as opposed to just using it once for a session). Is this kind of scheme possible or even advisable?",
"sig": "1e061062331b5995a387f9038c0a1bd82bd553e335cc011e4a06d3ed31fc8550d0c507398f8e168c3315217439b8fb2a49bbeffdb7700f4337b94c14870fbc02"
}