Thiol protease that recognizes and hydrolyzes a peptide bond at the C-terminal glycine of either ubiquitin or NEDD8. Thiol-dependent hydrolysis of ester, thioester, amide, peptide and isopeptide bonds formed by the C-terminal Gly of ubiquitin (a 76-residue protein attached to proteins as an intracellular targeting signal). Expressed during the parasite blood stage, in schizonts (at protein level). The Asn-rich domain is dispensable for deubiquitinating and deneddylating activities. Belongs to the peptidase C12 family.