add pubkey/privkey to worker