Wash the brine off the green olives.
Place in a medium pot with cold water and bring to a boil.
Cook on medium heat for 15-20 minutes, wash in cold water and drain again.
Sauté thinly chopped onion in olive oil over medium heat.
Add harissa (or chili flakes) and mix well.
Add chopped garlic and cook one minute.
Add crushed tomatoes, sugar, sweet paprika, black pepper and salt.
Mix well and cook for 5 minutes. Add drained green olives and ½ cup water and mix well.
Cover the pot and cook on low heat for about 35 minutes, checking and mixing occasionally.