a manual of moral theology for english-speaking countries
p. 459
charity, which as we have seen bind under a grave obligation, it will of itself be a serious sin, though frequently only venial on account of levity of matter. The measure of the gravity of the sin will be the harm which it causes to the person whose reputation suffers. The making known of the grave but secret sin of another with malicious intent or to his serious injury will certainly be a mortal sin. The disclosure of a venial sin of another or even of some hidden defect for which he is not responsible, as, for example, illegitimacy, may cause him serious damage and constitute a grievous sin. However, the making known of even a grievous sin of another is not always mortally sinful, for sometimes no serious harm follows from it. A notorious drunkard will not be injured appreciably if a secret sin of drunkenness is made public, nor a woman of doubtful reputation if some specific fall is mentioned. On the other hand, although a man has lost his reputation in one particular matter, he may still have one to lose in other matters, and if his secret sins in these matters be made known a more or less grievous sin of detraction will be committed. A man may be of notoriously loose morals but with a character still to lose for honesty and uprightness.
3. When a man has been tried and condemned in an open court of justice, there is no wrong done him by publishing the fact in the newspapers, or telling it to those who would not otherwise have heard of it. The judicial sentence penalizes him and deprives him of the right to his reputation in the matter touched by the sentence. This holds true of distant places and countries, and even of distant times. No injustice then is committed against one who has been legally convicted of crime by making this known in a place to which he has come in the hope of its not being known.