Soak the ancho peppers in warm water until soft, then grind them into a paste. Heat the oil in a frying pan, adding the chopped onion, the ground peppers, tomato paste and salt. Fry for about 1 minute.