Combine the vinegar, sugar, chile pepper, mint, and salt in a medium saucepan and bring to a boil over medium heat. Stir once or twice to dissolve the sugar. Pour the boiling brine over the squash. Cover with a clean kitchen towel and let steep overnight.