Skip to content

icat kitten does not work with HTTPS image URIs #1340

Closed
@lamby

Description

@lamby

This appears to be due to ImageMagick's Security Policy:

$ icat https://sw.kovidgoyal.net/kitty/_static/kitty.png
Failed to open image: https://sw.kovidgoyal.net/kitty/_static/kitty.png with error: identify-im6.q16: attempt to perform an operation not allowed by the security policy `HTTPS' @ error/delegate.c/InvokeDelegate/1726.
identify-im6.q16: unable to open file `': No such file or directory @ error/constitute.c/ReadImage/600.

If it helps, the underlying call is: identify -format '%m %w %h %A' https://sw.kovidgoyal.net/kitty/_static/kitty.png. Hopefully we can set a policy when calling-out to identify.

Note that HTTP (ie. not-SSL) images Just Work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions