tool: add applet to retrieve pubkey from privkey