Green’s Dictionary of Slang

square, the n.

[square adj.]

1. [mid-19C] (UK Und.) the laws and customs of the underworld, by which all criminals should abide.

2. [mid-19C+] a respectable way of life.

3. [1930s] (US black) a trustworthy individual.