only sign if publishing is possible