Public-key crypto and improvements to OpenPGP.js