GO:0047134:   protein-disulfide reductase activity
Catalysis of the reaction: protein-dithiol + NAD(P)+ = protein-disulfide + NAD(P)H + H+.