Fix signature validation
Merge pull request #4539 from mickgeek/master

Fix signature validation