Hello, OpenPGP.js.
function pgp_init(){
openpgp.config.show_comment = false;
openpgp.config.show_version = false;
}
pgp_init();
var pgp_worker = new openpgp.AsyncProxy('/js/openpgp.worker.min.js');
pgp_worker.generateKeyPair(1, 1024, 'Ann Lee [email protected]', 'password',
function(err, data){
...........
After generating key pair the error "Uncaught TypeError: number is not
a function" desappeared, but worker do not excecuting the callback
function, so it's impossible to receive generated keys in main thread.
Any advice?
--
С уважением,
Maria mailto:[email protected]
_______________________________________________
http://openpgpjs.org
Subscribe/unsubscribe: http://list.openpgpjs.org