Heat the oil in a large roasting pan. Dice the tofu, season with salt and pepper and fry with the chopped onions. Deglaze with water. Add the paprika and the peeled, chopped tomatoes, stew everything for 30 minutes.
Mix the sauerkraut into the tofu and onion mixture. Add the bay leaf and season with salt and pepper. Finely grate the potatoes and mix in. Braise everything for another 10-15 minutes. Mix in the sour cream before serving.