Master cylinder?? Issue.

You can get rust/sediment in the brake hoses & lines that block the pressure. Try disconnecting the brake lines individually & blowing air through in both directions.