I think I have found the answer on the internet
https://www.frentech-uk.co.uk/freque...0brake%20fluid.
It says :-
Red rubber grease is compatible with DOT3/4 and 5.1 brake fluids. No mineral oils or greases may be used in places that come into contact with brake fluid.
macafee2