Commit Graph

138 Commits

Author SHA1 Message Date
Aleksander Machniak
f2688ba492 Use ?? operator where applicable 2021-09-21 19:12:06 +02:00
Aleksander Machniak
7a269a2b84 Replace get_input_value() with get_input_string() where appropriate 2021-09-13 19:31:49 +02:00
Aleksander Machniak
e2187b8f2d Fix various PHP 8.1 warnings 2021-08-27 16:52:54 +02:00
Aleksander Machniak
157f969417 Fix PHP8 warnings 2021-07-11 09:37:57 +02:00
Aleksander Machniak
0c24068b5d Use small button inside boxinformation 2021-06-03 10:06:59 +02:00
Aleksander Machniak
b7cbe9aa1b Enigma: Optional support for passwordless keys (#7265) 2021-05-25 15:37:57 +02:00
Josh Soref
203f456620 Spelling (#8001) 2021-04-18 08:43:18 +02:00
Aleksander Machniak
1cba77b48e Enigma: Display an information that public and private keys are stored on the server (#7941) 2021-04-11 12:14:18 +02:00
Aleksander Machniak
8a0edf9c94 Enigma: Fix expiration dates of PGP keys capped at 2038-01-19 on a 32bit system (#7531)
Requires: https://github.com/pear/Crypt_GPG/commit/9715067e3142275
2021-03-15 19:54:56 +01:00
Aleksander Machniak
22f6b89978 Fix PHP8 warnings 2021-03-06 08:58:58 +01:00
Aleksander Machniak
6b97651501 Enigma: Fix bug where signature verification could fail for non-ascii bodies (#7919) 2021-03-06 08:52:23 +01:00
Aleksander Machniak
3bbb01fe13 PHP8 fixes, regression fixes 2020-12-13 12:14:15 +01:00
Aleksander Machniak
8eb382b4ca PHP8 fixes 2020-12-11 20:29:41 +01:00
Aleksander Machniak
ed146b68db PHP8 fixes, CS fixes, short array syntax, tests 2020-12-10 20:27:32 +01:00
Aleksander Machniak
e3416c9fc0 PHP8 fixes, CS fixes, short array syntax, tests 2020-12-06 11:43:56 +01:00
Aleksander Machniak
545a1569f1 Steps -> Actions refactoring (#7688)
* Move action handling code to rcmail class
* Add rcmail_action class
* Add action aliases
* Get rid of $OUTPUT global
* Move some methods from rcmail to rcmail_action
* PHP8 compat. fixes
* Add framework for testing actions
* Fix obvious code mistakes
2020-11-01 11:25:38 +01:00
Aleksander Machniak
f95212d626 PHP8: More warnings fixed 2020-10-11 15:24:30 +02:00
Aleksander Machniak
eb7636d491 Fixes in context of undefined variables, and code style 2020-08-16 10:29:42 +02:00
Aleksander Machniak
8bda4ecbcf Fix an obvious code bugs 2020-08-15 12:44:07 +02:00
Aleksander Machniak
b0d69503e0 Enigma: Support ECC key generation - when using GnuPG >= 2.1.7 (#6853) 2020-07-26 19:26:31 +02:00
Aleksander Machniak
36bf280a97 Elastic: Minimize forms/colors blink on page load 2020-07-11 10:52:24 +02:00
Aleksander Machniak
3478b002f8 Enigma: Fix incorrect encrypted mail structure (boundary) with Mail_Mime >= 1.10.5 2020-01-29 20:09:49 +01:00
Aleksander Machniak
1613f3ab4c INSERT OR REPLACE implementation (#6771)
For now with support in postgres and mysql databases.
For now used in rcube_cache, rcube_imap_cache and enigma plugin
2020-01-19 18:43:48 +01:00
Aleksander Machniak
689c761026 Enigma: Simplify and fix handling of IDN with not all parts being punny-coded 2020-01-18 09:29:30 +01:00
Aleksander Machniak
e89376709c Enigma: Display IDN domains of key users and identities in UTF8 2020-01-17 20:35:48 +01:00
Max Bosse
3faa976fc8 Fix creation of pgp-keys for IDN emails 2020-01-16 22:46:55 +01:00
Aleksander Machniak
66fab8cdb2 CS fixes, Avoid usused variables, fixed minor bugs 2019-10-05 19:44:39 +02:00
Jack Cherng
198585d8a0 Fix implode() wrong parameter order (#6866)
It has been deprecated in PHP 7.4.

Such as PHP deprecated:  implode(): Passing glue string after array is deprecated. Swap the parameters in /var/www/roundcubemail/program/lib/Roundcube/rcube_db.php on line 917

Signed-off-by: Jack Cherng <jfcherng@gmail.com>
2019-08-09 16:04:51 +02:00
Aleksander Machniak
f6807bcc4c Added 'keyservers' option to define list of HKP servers for Enigma/Mailvelope (#6326) 2019-06-14 19:06:32 +02:00
Aleksander Machniak
940e500c1f Enigma: For verified signatures, display the user id associated with the sender address (#5958) 2019-06-09 09:52:39 +02:00
Aleksander Machniak
8fe12e2fad Enigma: Fix "decryption oracle" bug [CVE-2019-10740] (#6638)
When composing mail (on reply/forward/edit) we decrypt content only
in the first "content part" of the message.
2019-05-11 16:15:46 +02:00
Aleksander Machniak
1ee7253ff2 Enigma: Fix error message when trying to encrypt with a revoked private key (#6607) 2019-05-11 09:03:32 +02:00
Aleksander Machniak
6efa88f049 Enigma: Fix bug where revoked users/keys were not greyed out in key info
The 'deleted' class was assigned to the wrong (next) row in a table.
It also didn't work in Elastic skin at all because of the missing style.
2019-05-11 08:35:05 +02:00
Aleksander Machniak
57c67db029 Remove year(s) from copyright headers + some cleanup 2019-04-16 10:42:45 +02:00
Aleksander Machniak
0e640e95c9 Enigma: Fixed multi-host syncronization of private and deleted keys and pubring.kbx file
Added context column to filestore table for easier listing of stored files.
2018-12-23 13:51:39 +01:00
PhilW
e024f133fa give all temp files a constant prefix 2018-11-06 07:11:04 +00:00
Aleksander Machniak
19c0d48267 Enigma: Skip encryption if the message has been already encrypted by Mailvelope 2018-08-10 10:09:40 +02:00
Aleksander Machniak
412c5ab75b Enigma: Fix deleting keys with authentication subkeys (#6381) 2018-08-09 15:50:23 +02:00
Aleksander Machniak
2fa112bd83 [EFAIL] Don't decrypt PGP messages with no MDC protection (#6289) 2018-05-29 09:27:30 +02:00
Aleksander Machniak
e05be853da Enigma: Add hint about max upload size in key import form 2018-05-24 13:25:27 +02:00
johndoh
647a7e91c6 Unify content frame (watermark) template objects (#6285)
* unify content frame (watermark) template objects
* several improvements, use existing env var for watermark url
* tighten up var parsing for contentframe template object
2018-05-18 17:25:02 +02:00
Aleksander Machniak
14cc3ec188 Add EFAIL-related warning in the code 2018-05-16 09:38:10 +02:00
Aleksander Machniak
e79838aaac Enigma: Disable autofill for new keypair password 2018-04-20 08:11:22 +02:00
Aleksander Machniak
662363c7e2 Enigma: Add positiblity to modify list of identities for key generation by other plugins 2018-04-05 11:55:25 +00:00
Aleksander Machniak
f63150b256 Enigma: Fix key selection for signing
In some cases a public key of other user could be selected instead
of the sender's private key
2018-04-04 11:14:35 +02:00
Aleksander Machniak
48417c5fc9 Remove default for enigma_pgp_homedir (#6173)
To make the default installation more secure force users to set the folder.
Added notes that it should be secured or not accessible from the web browser.
2018-03-04 09:14:43 +01:00
Aleksander Machniak
7b1f0f020b Enigma: Multi-host support 2018-02-28 09:36:25 +01:00
Aleksander Machniak
f211fcf254 Elastic: Use .boxconfirmation 2018-02-14 12:37:40 +01:00
Aleksander Machniak
0f21488ce2 Elastic: Fix enigma information boxes 2018-02-14 12:22:30 +01:00
Aleksander Machniak
674eac1c1c Enigma: Fix key generation in Safari by upgrade to OpenPGP 2.6.2 (#6149) 2018-02-12 16:46:25 +01:00