ssh signing: return an error when signature cannot be read