Is hijab an obligation(wajib) in Islam?
And is it obligatory on upon governments to propagate and enforce it?
Islam Stack Exchange is a question and answer site for Muslims, experts in Islam, and those interested in learning more about Islam. It only takes a minute to sign up.
Sign up to join this communityQuran gives a "code of conduct" for men and women interaction in public in Surah-e-Noor
Two guidelines are same for men and women:
Following guidelines are for women only:
Thus "hijab" is not a religious obligation. Since it is not an obligation, it can not enforced by an islamic state. The only two things an islamic state CAN enforce by law is "salat" and "zakat", as mentioned in Surah Al-Haj. If a muslim is performing these two duties, he is a "muslim" in the eyes of the law of an islamic state.
For more details, refer to this link