Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • T tails
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 971
    • Issues 971
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • tails
  • tails
  • Issues
  • #19250
Closed
Open
Issue created Oct 31, 2022 by intrigeri@intrigeriMaintainer

pdf-redact-tools broken

According to wb:7457382ca5dfac33a6d238bffcf41f8c, pdf-redact-tools is broken in Tails 5.6:

Exact steps to reproduce the error

pdf-redact-tools -s file.pdf
pdf-redact-tools -m file.pdf

Actual result and description of the error

convert-im6.q16: attempt to perform an operation not allowed by the
security policy `PDF' @ error/constitute.c/IsCoderAuthorized/421.
convert-im6.q16: no images defined
`/home/amnesia/Desktop/a_pages/page-transparent.png' @
error/convert.c/ConvertImageCommand/3229.
Traceback (most recent call last):
  File "/usr/bin/pdf-redact-tools", line 217, in <module>
    main()
  File "/usr/bin/pdf-redact-tools", line 207, in main
    if pdfrt.explode(achromatic):
  File "/usr/bin/pdf-redact-tools", line 102, in explode
    filename_template = os.path.join(self.pages_dirname,
filenames[0].replace('-0.png', '-{}.png'))
IndexError: list index out of range
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking