It could be Glyptal, You once saw a lot of the inside of cast gearboxs painted with it. It sealed the casting to stop the oil soaking in and also stopped any loose sand from the casting from floating around. Pretty sur its the same stuff used on the windings of some motors.
Greg