Hi!

I'm trying to use openPGP.js in my app, created with Apache Cordova.
On Android os everything works just fine, but now I've got an error on WP8.

Here is the code

var publicKey = openpgp.key.readArmored(_publicKey);
openpgp.encryptMessage(publicKey.keys, text).then(function (pgpMessage) {
    // success
    callback(pgpMessage);
}).catch(function (error) {
    // failure
    console.error(error);
});

I keep getting an error: openpgp is undefined. I don't really know why this
happens (and why w88 only), but I really need your help.

There is my question on SO
http://stackoverflow.com/questions/30254759/openpgp-js-on-wp8-error#30254759
- in case you prefer to answer there.

Thank you!
_______________________________________________

http://openpgpjs.org
Subscribe/unsubscribe: http://list.openpgpjs.org

Reply via email to