Validity of the passport to enter Canada

How much minimum passport validity do you need to travel to Canada from India? Some say that 6 months others say there is not a minimum period of time. Can someone clarify?