de jure there's no legitimate government after abu mazen dismissed the hamas government he was the legitimate government but only for the short period allowed by the pa constitution after which new elections were necessary he ignored that provision both governments are illegitimate although the hamas government in gaza was at least elected while abbas is basically a washington tel aviv appointee fwiw