Whole nuts in their shells are a long-storage item, with many kinds of nuts having a shelf life of several months. However, they do vary widely and, unless stored in the refrigerator or freezer, it is possible that some nuts will suffer a serious loss of flavor or texture. As long as their fats have not gone rancid, it’s easy enough to restore them to usable condition by baking the nuts lightly.
Shell as many nuts as you will need at one time. Pick over the shelled nuts carefully, discarding any that are shriveled, visibly moldy or have off smells.
Preheat your oven to 350 degrees Fahrenheit. Spread the nuts in a single layer on a parchment-lined baking sheet.
Bake the nuts for 10 minutes, shaking and turning the pan halfway through the baking time to ensure that they toast evenly.
Remove the nuts from the oven and let them cool. Taste one to ensure that there is no unpleasant flavor, and proceed with your recipe.
References and Resources"On Food and Cooking: The Science and Lore of the Kitchen"; Harold S. McGee
Good Housekeeping; How to Keep Nuts Fresh
O Chef: How to Store Nuts
"The Progress Meatless Cookbook"; Carlotta Lake