Bugfix: some valid key signatures were counted as invalid.