Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P poppler
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 664
    • Issues 664
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 46
    • Merge requests 46
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • poppler
  • poppler
  • Issues
  • #1083
Closed
Open
Issue created May 25, 2021 by Tamas K. Papp@tkpapp

encrypted document appears empty

I am trying to open an encrypted document in Ubuntu 21.04 with frontends that use poppler (eg Okular, etc) and in all of them

  1. the frontend does not ask for a password,
  2. the document is empty.

Unfortunately I cannot share the document, but I would like to do my best providing debugging information. In particular, is there anything I can do with poppler in the command line that would reproduce this or provide debugging info?

I would do it for the current version (libpoppler107 (= 21.02.0-1)) and also compile master from the git repo.

(Sorry if this information is in the docs or the wiki, I would not find it).

Some output from qpdf --show-encryption:

R = 4
P = -4
User password = REDACTED
Supplied password is owner password
Supplied password is user password
extract for accessibility: allowed
extract for any purpose: allowed
print low resolution: allowed
print high resolution: allowed
modify document assembly: allowed
modify forms: allowed
modify annotations: allowed
modify other: allowed
modify anything: allowed
stream encryption method: AESv2
string encryption method: AESv2
file encryption method: AESv2

pdfinfo:

pdfinfo /tmp/napilista.pdf 
Syntax Error: Invalid encryption key length
Creator:        gÓ0KÖço5
                        ±IÊ«mrŁ
�˚¥ï€€«˛«ŸÆ0÷ÿ¸
               "tC™BFOÖZW�
Producer:       ò:æé˚”¹2®zA{Ö\1ØÛ¨§[XûÌ[]¸Å⁄b‘ÝíGÉmÙµRc§··ñÔ
CreationDate:   H}lqv.GPT"Q=AK%HUo`
Tagged:         no
UserProperties: no
Suspects:       no
Form:           none
JavaScript:     no
Pages:          1
Encrypted:      no
Page size:      841 x 595 pts (A4)
Page rot:       0
File size:      58174 bytes
Optimized:      no
PDF version:    1.7

Firefox (88.0.1+build1-0ubuntu0.21.04.2) opens the PDF just fine, after asking for a password. `

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking