Put the tofu between kitchen towels and squeeze it for at least half an hour (e.g. weighed down with a kitchen board and books)
Finely chop the garlic and, if necessary, cut the red onion into fine rings.
Then put all the other ingredients except for the black olives in a sealable container and mix.
When the tofu is squeezed out and can absorb liquid again, cut it into bite-sized cubes and add to the other ingredients.
Now add the black olives as well.
Mix everything together carefully so that the tofu cubes are preserved and leave to soak for a few hours or, preferably, overnight.
Take it out of the refrigerator some time before eating and serve with crispy bread, for example.