Oddbean new post about | logout
 Virtually impossible. Amethyst decrypts 100s of events in the same second. If the key is outside the phone, it will take forever to even load.  
 Is there a way to do a batch decrypt with nsec bunker? 
 It's not in the spec. So... It will take time  
 You can do batching right now, just send 100 nip46 requests without waiting for the replies and you've got the batch - you pay 1 RTT per batch. We discussed this once on github, IIRC nsec.app was able to do ~50 decrypts per second. Unlikely to get much faster, 90% of time is spent verifying signatures of nip46 requests etc.  
 Ok now that I'm thinking about it, the signature verification overhead could go away with batching, maybe it could make sense.  
 I would imagine it need a new batch command right?

sending a bunch of request as a hack probably is a lot less efficient 
 You could decrypt them once and re-encrypt with your local cache-key, and then only use that local key for cache data. That's a lot of work, but it's not impossible.