Commit graph

3410 commits

Author SHA1 Message Date
the-djmaze ff7e41ad08 #89 Use OpenPGP.js v5.1.0 (still in progress) 2022-01-27 16:00:52 +01:00
the-djmaze dfd255545a #89 Added getEncryptedMessageKeys() to get used encryption keys
And when no passphrases are entered, use `--pinentry-mode cancel`
2022-01-27 00:28:46 +01:00
the-djmaze d3b60bf097 #89 support decrypting using Mailvelope 2022-01-26 17:08:10 +01:00
the-djmaze 3aca446e8d Distinguish PGP signed and encrypted in message viewer 2022-01-26 15:00:03 +01:00
the-djmaze 5ed4498e4f Added: MailSo\Mime\Part::IsPgpSigned()/IsPgpSignature()
Drop: MailSo\Mime\Enumerations\Constants
2022-01-26 14:43:31 +01:00
the-djmaze 8dc949f15c Added DoGnupgDecrypt(), DoGetStoredPGPKeys() and DoStorePGPKey() for #89 2022-01-26 12:15:36 +01:00
the-djmaze 897c150b1e MessageMimeStream(...$bIndexIsUid...) always true, so remove param 2022-01-26 11:48:57 +01:00
the-djmaze d757102b9e Make ParseFromString, ParseFromFile, ParseFromStream static 2022-01-25 20:18:52 +01:00
the-djmaze e0238e9966 Bugfix: ParseFromStreamRecursion return value must be of type MailSo\Mime\Part, bool returned 2022-01-25 19:57:43 +01:00
the-djmaze 0ed7f000d6 Improved detection of PGP/MIME encrypted messages instead of showing them as attachments 2022-01-25 17:02:29 +01:00
the-djmaze 48febdb414 Bugfix: encryptKeys was incorrect 2022-01-25 16:39:50 +01:00
the-djmaze b1a2b7da95 Get decrypt working for #89 2022-01-25 14:46:03 +01:00
the-djmaze 54feb03316 Added sign, decrypt and encrypt for #89 2022-01-25 13:54:50 +01:00
the-djmaze 151708a920 Support generating ed25519/cv25519 keys for #89 and #172 2022-01-25 11:45:22 +01:00
the-djmaze f26c35c411 Drop support for PEAR Crypt_GPG as it is lacking features we want in #89 2022-01-24 17:08:21 +01:00
the-djmaze 998a1c6cc8 Added: DoGnupgGenerateKey() which generates new private keys 2022-01-24 17:05:11 +01:00
the-djmaze 8635771537 Improve Settings -> OpenPGP to show available features 2022-01-24 16:47:53 +01:00
the-djmaze ce971de919 Get PGP verify message working using Promise.
#89
2022-01-24 13:43:53 +01:00
the-djmaze 1d3673f117 Improved and bugfix handling of GnuPG for #89 2022-01-24 13:01:37 +01:00
the-djmaze 51fedab4fc Better solution for gpg 'socket name' error
Improment for #89
2022-01-22 09:21:21 +01:00
the-djmaze 6df7b76c8a Solution regarding https://github.com/php-gnupg/php-gnupg/issues/44
For our issue #89
2022-01-21 20:00:18 +01:00
the-djmaze cff662009f WIP: revamp Crypt_GPG for #89 2022-01-21 17:54:51 +01:00
the-djmaze a7eeeb4f55 Many more changes for #89 2022-01-20 16:38:27 +01:00
the-djmaze 3cc3a76b23 Composer changes for OpenPGP.js 2022-01-20 09:59:56 +01:00
the-djmaze e731343093
Merge pull request #191 from ikidd/master
fixed for php:7.4-fpm
2022-01-19 20:17:34 +01:00
the-djmaze c2e162b01b Properly load keyrings of Mailvelope, OpenPGP.js and GnuPG 2022-01-19 20:14:21 +01:00
the-djmaze 9f0b872839 Object.entries(d).forEach() to forEachObjectEntry() 2022-01-19 19:36:29 +01:00
the-djmaze a47397ef09 Revamp PGP management due to implementing Mailvelop and PEAR Crypt_GPG 2022-01-19 18:24:07 +01:00
Ian Kidd b1fc295e22
fixed for php:7.4-fpm
As per https://github.com/docker-library/php/issues/912

to correct build error: "configure: error: unrecognized options: --with-freetype-dir, --with-jpeg-dir"
2022-01-18 18:46:03 -07:00
the-djmaze 43a1196dbb Make Admin => Config readonly #189 2022-01-18 16:46:58 +01:00
the-djmaze 87548632a9 Cleaner DoMessagePgpVerify result 2022-01-18 15:08:07 +01:00
the-djmaze 7ef1a8f14a Don't return Text and Signature when verified. 2022-01-18 15:06:45 +01:00
the-djmaze b8d898bc8a #89 Detect and verify PGP cleartext/clearsigned messages 2022-01-18 14:51:08 +01:00
the-djmaze d35473841f #89 DoMessagePgpVerify() succeeds with GnuPG 2022-01-18 14:03:49 +01:00
the-djmaze bf84684965 Added GnuPG->verify() for testing #89
Bugfix SnappyMail\PGP\Keyservers
Renamed DoPgpVerify to DoMessagePgpVerify
2022-01-17 22:04:14 +01:00
the-djmaze fde44c0102 Changes for #89
This part fetches the required message parts for pgp verification.
2022-01-17 17:16:25 +01:00
the-djmaze 638128ff93 Attachmnet => Attachment 2022-01-17 16:39:10 +01:00
the-djmaze e6290e06e9 Bugfix: undefined $iLiteralSize 2022-01-17 15:58:39 +01:00
the-djmaze 8dcd0cf833 Changes for #89
Now it does not fetch the PGP signature, because validation was broken anyway.
Instead it validates multipart/signed according to RFC 3156 section 5 and returns details for the signed part:
* BodyPartId
* SigPartId
* MicAlg

So in the future several implementations (GnuPG, OpenPGP.js, etc.) can use the correct data for verification.
2022-01-17 15:58:23 +01:00
the-djmaze ba49d06d1a v2.11.0 2022-01-14 18:57:55 +01:00
the-djmaze 630dc1e854 Added toggle in message menu to switch between HTML/Plain content parts (when available) 2022-01-14 17:13:17 +01:00
the-djmaze e04832c624 Fix legend i18n label 2022-01-14 14:18:39 +01:00
the-djmaze 94bf85ec23 Bugfix: iterator_to_array() doesn't fetch current() 2022-01-14 14:06:34 +01:00
the-djmaze 7680372eda Added option to prefer HTML to plain text view. 2022-01-14 14:05:33 +01:00
the-djmaze 8343e76d5f Cleanup and improved handling of BODYSTRUCTURE 2022-01-14 12:51:32 +01:00
the-djmaze 0b767bb373 Some IMAP RFC updates 2022-01-13 16:37:55 +01:00
the-djmaze 33967c2319 Support IMAP RFC 3516 BINARY 2022-01-13 15:40:58 +01:00
the-djmaze 464e766fcc Put OpenPGP check outside "plain".
This allows also for checking HTML messages (but errors for now)
2022-01-13 12:00:12 +01:00
the-djmaze b1bbd58e21 Strip utm_* tracking 2022-01-13 11:10:40 +01:00
the-djmaze 4fa37ce187 Attempt to <a> bugs in HTML emails #187 2022-01-13 10:33:06 +01:00