Hi all:
I am still trying to get OpenPGP.js to "communicate" with the
PHP-implementation by singpolyma (github):
https://github.com/bendiken/openpgp-php
However, the PHP-version does not support CAST5-encrypted private keys
(only AES/Triple-DES encrypted keys).
In OpenPGP.js, I saw that when I generate a keypair, the private key is
also encrypted with CAST5 (line 11,030). Then, I tried to change the
variable
this.symmetricEncryptionAlgorithm = 9;
to the value 9, but then an error occurs:
TypeError: ctx.rk is undefined
t0 = b0 ^ ctx.rk[r][0];
Can you help? How can I use AES as the standard algorithm for symmetric
encryptions in OpenPGP.js?
Thanks
Martin
_______________________________________________
http://openpgpjs.org