Invalid header option [at readpe.c:86]
Running Manjaro, lattest updates, OpenSSL installed, only thing that works is the optional header, everything else, gives. ERROR: invalid header option [at readpe.c:86], I'm not where my Windows PC is, so I can't try any utility on it, tried this on known good PE file. Thanks
This specific error means it received an invalid/unexpected value in argument -h. The valid values are dos, coff, or optional.
Looking over the code I didn't find any obvious issues. I will spin up a Majora VM tomorrow.
This might sound silly, but I rather make sure: dos, coff and optional are case-sensitive all lowercase.
Testing this I could not reproduce this. I installed it from the aur package with makepkg -si and it worked just fine (tested with putty.exe)