-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
using nodejs cluster and running all crypto functions in workers provides a lot of isolation in comparison to function closures (used now).
master:
- wait for request
- spawn a worker on request to sign, encrypt or verify
- send secret to worker
worker
- generate public/private key pair inside the worker, derived from secret
- sign, encrypt and/or verify using the keypair
- overwrite the keypair
- send the signed/encrypted/verified result back to master
- die.
master
- receive returned result, send it to callee.
caveat:
see if performance suffers too much.
time is relative.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request