Closed anjos closed 3 years ago
Thanks for the report, but I think this falls just below my threshold of adaptation.
At least Gentoo and Ubuntu maintainers seem to find it still risky to lift these restrictions. I can't really assess the risks myself, so I'm leaning towards being conservative and not changing the configuration, in particular because I can imagine that some users of this image are feeding untrusted input to convert
.
As a solution to your specific problem, I guess you could change the settings in your CI configuration / build script if you know what you are doing, or use GhostScript directly for the conversion.
Thanks for following this up. If you just start bash on this image, you can change the security settings yourself.
OK, closing this issue as "won't fix". Users who want the relaxed security policy should change the configuration manually.
In one of my latex builds where we use this image, we make use of
convert
from imagemagick (which is installed within the image), to build a high-resolution PNG version of standalone TikZ figure. Unfortunately, there is a missing security policy within the image that makes this conversion harder to achieve.To test for this, you can start bash within the image, then do something like this:
To fix this, you'd have to add the security rule within the image as stated at https://stackoverflow.com/questions/52998331/imagemagick-security-policy-pdf-blocking-conversion:
From this point, PDF -> PNG conversion should work properly from the start.