Preheat the oven to 350 degrees
Scoop the seeds out of your squash or pumpkin using a large metal spoon. Rinse and remove pulp from seeds. Dry with a cloth towel (they’ll stick to paper towel). Lay seeds in a single layer on a baking sheet covered with parchment paper.
Cook for 15 minutes to dry out seeds further. Drizzle lightly with olive oil and sprinkle with sea salt. Return to the oven for 45 minutes longer, stirring the seeds a couple times during the cooking time. Set to the side to cool. Store in an airtight container.