Ted Unangst <[email protected]> wrote:

> MarcusMüller wrote:
> > I've just stumbled across a malfunction in signify: It cannot handle
> > file names that contain a `)` character, when checking a list of hashes
> > generated by `sha256` command line utilities (`sha256sum --tags` on
> > Linux). 
> 
> This fix is unfortunately rather complicated for the problem. Files with ) are
> not used within openbsd, for instance. It may possible to simplify it a bit? 

A similar construct is in bin/md5/md5.c, for the sha256 -C option.
This does not use sscanf, but hand-parses the string.  It uses strrchr
to search for ')'.

I think this should be fixed, but agree the diff seems complicated.

Reply via email to