Cracked open an approximately 18 year old bag of dried pinto beans, initially sealed in mylar bag with o2 absorbers, but they seem to have spoiled, beans seemed darker, some of them had mold on them, and a rancid odor coming out of it, alot of the beans did look fine, so in a pinch probably most of the bag was edible, my theory is that the ones with mold were causing the odor, so tossed it. 17 year old bag of jasmine rice dried, smelled and looked basically fine, sealed same way as the beans. My suspicion is that all the rice is going to be fine, though the beans probably all spoiled/molded at some level? I'll be opening more in the next few weeks will update.