Enigma: Update to OpenPGPjs 4.2.1 - fixes user name encoding issues in key generation (#6524)

pull/6528/head
Aleksander Machniak 6 years ago
parent cb4b1443c8
commit 281a6135e3

@ -11,6 +11,7 @@ CHANGELOG Roundcube Webmail
- Update to TinyMCE 4.8.2 - Update to TinyMCE 4.8.2
- Plugin API: Added 'raise_error' hook (#6199) - Plugin API: Added 'raise_error' hook (#6199)
- Plugin API: Added 'common_headers' hook (#6385) - Plugin API: Added 'common_headers' hook (#6385)
- Enigma: Update to OpenPGPjs 4.2.1 - fixes user name encoding issues in key generation (#6524)
- Managesieve: Added support for 'editheader' extension - RFC5293 (#5954) - Managesieve: Added support for 'editheader' extension - RFC5293 (#5954)
- Markasjunk: Integrate markasjunk2 features into markasjunk - marking as non-junk + learning engine (#6504) - Markasjunk: Integrate markasjunk2 features into markasjunk - marking as non-junk + learning engine (#6504)
- Password: Added 'modoboa' driver (#6361) - Password: Added 'modoboa' driver (#6361)

@ -63,11 +63,11 @@
{ {
"lib": "openpgp", "lib": "openpgp",
"name": "OpenPGP.js", "name": "OpenPGP.js",
"version": "2.6.2", "version": "4.2.1",
"url": "https://raw.githubusercontent.com/openpgpjs/openpgpjs/v$v/dist/openpgp.min.js", "url": "https://raw.githubusercontent.com/openpgpjs/openpgpjs/v$v/dist/openpgp.min.js",
"api_url": "https://api.github.com/repos/openpgpjs/openpgpjs/contents/dist/openpgp.min.js?ref=v$v", "api_url": "https://api.github.com/repos/openpgpjs/openpgpjs/contents/dist/openpgp.min.js?ref=v$v",
"dest": "plugins/enigma/openpgp.min.js", "dest": "plugins/enigma/openpgp.min.js",
"sha1": "cce0087eb20328453b9378a2b01cc6339cef97b2", "sha1": "5f793a81236614f69d555545cb855c43521d2fa9",
"license": "LGPL", "license": "LGPL",
"copyright": "Copyright (c) OpenPGP Development Team", "copyright": "Copyright (c) OpenPGP Development Team",
"source": "https://github.com/openpgpjs/openpgpjs/blob/v$v/dist/openpgp.js" "source": "https://github.com/openpgpjs/openpgpjs/blob/v$v/dist/openpgp.js"

@ -171,7 +171,7 @@ rcube_webmail.prototype.enigma_key_create_save = function()
openpgp.generateKey(options).then(function(keypair) { openpgp.generateKey(options).then(function(keypair) {
// success // success
var post = {_a: 'import', _keys: keypair.privateKeyArmored, _generated: 1, var post = {_a: 'import', _keys: keypair.privateKeyArmored, _generated: 1,
_passwd: password, _keyid: keypair.key.primaryKey.fingerprint}; _passwd: password, _keyid: keypair.key.primaryKey.getFingerprint()};
// send request to server // send request to server
rcmail.http_post('plugin.enigmakeys', post, lock); rcmail.http_post('plugin.enigmakeys', post, lock);

Loading…
Cancel
Save