Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heads up for some ImageMagick changes #157

Closed
znmeb opened this issue Oct 27, 2018 · 3 comments
Closed

Heads up for some ImageMagick changes #157

znmeb opened this issue Oct 27, 2018 · 3 comments

Comments

@znmeb
Copy link

znmeb commented Oct 27, 2018

There's a security update to ImageMagick that's winding its way through Homebrew and Linux distros that breaks PDF output in the magick package. I run Arch Linux and it hit me a few days ago when I did an update. See https://bugs.archlinux.org/task/60580 for the symptoms.

The workaround is here: https://bugs.archlinux.org/task/60580#comments. Note that this comment does not tell you which file you have to edit! It's an ImageMagick configuration file called "policy.xml"; you'll have to dig into the documentation for where it's stored on the system. On Arch it's /etc/ImageMagick-7/policy.xml.

Here's a link to the actual security issue: https://bugs.archlinux.org/task/59778

I can do a pull request for your documentation if you wish.

@jeroen
Copy link
Member

jeroen commented Oct 27, 2018

I guess we can still use image_read_pdf() which uses the pdftools package?

@jeroen
Copy link
Member

jeroen commented Oct 27, 2018

Ah wait this is about writing pdf?

@znmeb
Copy link
Author

znmeb commented Oct 27, 2018

I am only reading SVGs, not PDFs. As I read the config file, though, it is saying "none" for anything that uses GhostScript:

  <policy domain="coder" rights="none" pattern="{PS,PS2,PS3,EPS,PDF,XPS}" />

@jeroen jeroen closed this as completed Jul 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants