[GH-ISSUE #1371] Show error message about encrypted PDFs #383

Closed
opened 2026-02-26 18:46:47 +03:00 by kerem · 1 comment
Owner

Originally created by @parasiteoflife on GitHub (Sep 30, 2024).
Original GitHub issue: https://github.com/documenso/documenso/issues/1371

Feature Description

Related to #42.

Please show a toast/popup message about unsupported PDF file, the only way to realize about this is by looking in the console.

It seems there is a fork of pdf-lib that supports encrypted files:

https://github.com/sico/pdf-lib-with-encrypt
https://www.npmjs.com/package/pdf-lib-with-encrypt

Use Case

No response

Proposed Solution

Show message

Alternatives (optional)

Switch to fork lib

Additional Context

No response

Please check the boxes that apply to this feature request.

  • I have searched the existing feature requests to make sure this is not a duplicate.
  • I have provided a detailed description of the requested feature.
  • I have explained the use case or scenario for this feature.
  • I have included any relevant technical details or design suggestions.
  • I understand that this is a suggestion and that there is no guarantee of implementation.
  • I want to work on creating a PR for this issue if approved
Originally created by @parasiteoflife on GitHub (Sep 30, 2024). Original GitHub issue: https://github.com/documenso/documenso/issues/1371 ### Feature Description Related to #42. Please show a toast/popup message about unsupported PDF file, the only way to realize about this is by looking in the console. It seems there is a fork of pdf-lib that supports encrypted files: https://github.com/sico/pdf-lib-with-encrypt https://www.npmjs.com/package/pdf-lib-with-encrypt ### Use Case _No response_ ### Proposed Solution Show message ### Alternatives (optional) Switch to fork lib ### Additional Context _No response_ ### Please check the boxes that apply to this feature request. - [X] I have searched the existing feature requests to make sure this is not a duplicate. - [X] I have provided a detailed description of the requested feature. - [X] I have explained the use case or scenario for this feature. - [X] I have included any relevant technical details or design suggestions. - [X] I understand that this is a suggestion and that there is no guarantee of implementation. - [ ] I want to work on creating a PR for this issue if approved
kerem 2026-02-26 18:46:47 +03:00
Author
Owner

@dguyen commented on GitHub (Oct 28, 2024):

Hi, a toast should appear when uploading an unsupported or encrypted file

image

Do you have an example we can use to test?

<!-- gh-comment-id:2440707943 --> @dguyen commented on GitHub (Oct 28, 2024): Hi, a toast should appear when uploading an unsupported or encrypted file <img width="646" alt="image" src="https://github.com/user-attachments/assets/e0f56ea0-91c0-41ac-96e6-94c57ce266d1"> Do you have an example we can use to test?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#383
No description provided.