Titus Wormer
4db9e45b8c
Add support for /AuthEvent, on-demand decryption
...
Normally entire PDFs are encrypted (or not).
But it is also possible to only encrypt attachments.
It is then also possible to *only* prompt for a password when the user opens
them.
In the existing flow, prompting for passwords happens because things are decrypted.
A specific error is thrown, caught, and the user is prompted.
To keep this flow working, this PR changes to decrypting attachments on demand,
instead of eagerly.
This sounds logical: to not read attachments on startup.
I’ve extensively tested this, not only with regular attachments, but also with outline items
and attachments in annotations.
This PR builds on GH-21234.
It’s an alternative to the naïve GH-20732.
Closes GH-20049.
2026-06-03 16:44:57 +02:00
..
2026-05-31 11:36:32 +02:00
2026-05-25 14:31:55 +02:00
2026-05-25 14:31:55 +02:00
2026-06-03 16:44:57 +02:00
2026-04-06 11:49:25 +02:00
2025-10-17 22:26:05 +02:00
2026-06-03 16:44:57 +02:00
2026-03-25 15:18:50 +01:00
2026-03-05 11:45:29 +01:00
2026-01-31 16:25:53 +01:00
2025-03-08 16:06:27 +01:00
2025-03-08 16:06:27 +01:00
2025-03-08 17:33:16 +01:00
2021-07-28 19:10:42 +02:00
2026-06-03 16:44:57 +02:00
2026-05-05 17:25:18 +02:00
2026-05-03 13:17:18 +02:00
2026-05-26 21:24:51 +02:00
2021-01-09 20:37:51 +01:00
2026-04-09 12:15:19 +02:00
2026-05-05 17:25:18 +02:00
2026-01-25 14:22:19 +01:00
2026-04-02 11:22:28 +02:00
2026-04-02 11:22:28 +02:00
2026-05-25 14:31:55 +02:00
2026-06-03 16:44:57 +02:00
2026-05-04 15:01:53 +02:00
2026-02-19 00:08:57 +01:00
2026-05-31 20:24:39 +02:00
2026-04-30 11:40:34 +02:00
2026-05-31 11:36:32 +02:00
2026-05-28 22:11:13 +02:00
2021-01-09 20:37:51 +01:00
2026-05-23 12:33:56 +02:00
2026-05-31 21:16:29 +02:00
2026-06-03 16:44:57 +02:00
2026-01-31 16:25:53 +01:00
2026-05-25 15:33:39 +02:00
2026-05-25 18:22:21 +02:00
2025-04-01 09:09:00 +02:00
2026-05-30 21:53:29 +02:00
2026-04-04 19:56:54 +02:00
2026-05-21 21:24:00 +02:00
2023-08-13 08:55:58 +02:00
2021-07-28 19:10:42 +02:00
2026-04-26 12:05:12 +02:00
2026-04-13 16:49:07 +02:00
2025-03-01 14:21:05 +01:00
2026-04-02 11:22:28 +02:00
2026-04-12 13:40:18 +02:00
2026-04-30 12:06:08 +02:00
2026-05-06 17:52:35 +02:00
2026-05-05 17:25:18 +02:00
2026-01-13 18:39:17 +01:00
2026-04-11 12:44:30 +02:00
2026-05-05 17:25:18 +02:00
2026-05-06 17:52:35 +02:00
2021-07-28 19:10:42 +02:00
2026-02-25 13:31:44 +01:00
2023-03-23 12:57:10 +01:00
2022-01-30 15:53:31 +01:00
2021-07-28 19:10:42 +02:00
2026-06-03 16:44:57 +02:00
2026-04-13 22:23:03 +02:00
2025-05-06 15:49:59 +02:00
2026-04-14 12:28:45 +02:00
2026-04-20 18:42:09 +02:00
2026-05-28 10:30:37 +02:00
2026-04-13 22:23:03 +02:00
2026-06-03 16:44:57 +02:00
2025-10-17 22:26:05 +02:00
2026-04-25 12:13:12 +02:00
2025-10-17 22:26:05 +02:00
2021-07-28 19:10:42 +02:00
2025-12-01 10:21:27 +08:00
2026-05-31 20:24:39 +02:00
2026-05-25 14:31:55 +02:00
2026-05-15 12:10:30 +02:00
2024-12-06 18:25:13 +01:00
2026-05-26 17:49:56 +02:00
2026-05-26 17:49:56 +02:00
2026-05-25 14:31:55 +02:00
2026-05-06 17:52:35 +02:00
2026-01-30 14:15:39 +01:00
2026-06-03 16:44:57 +02:00
2026-05-31 11:36:32 +02:00
2023-07-27 09:48:24 +02:00
2025-03-02 15:19:04 +01:00
2026-04-25 12:13:12 +02:00