Is this a security vulnerability? IOW, if you log out of Coracle, the browser still has write access via nsecbunker if the same pubkey is re-entered. So you're logged out, but it's trivial to log back in without re-establishing permission. It seems to me the key should be re-generated every login.

Reply to this note

Please Login to reply.

Discussion

I agree; if you logout from coracle the private key should be destroyed

How does the token work? Do you need that every time, or is that just intended to bypass manual authorization? IOW, authentication depends on the approved app key, right?

Just for manual authorization; the token tells the bunker “I’ve been preauthorized”

Once used you can’t redeem it anymore so you should not save it. Just save the npub from the token