Nicola Bludau wrote: But I had no idea how to process them, and now they seem to be off.
Peanuts are well known for growing a mold that is a carcinogen for humans (Kidney if I recall, but I'd have to look it up.)
So if they seem to be "off", I am not sure I would turn them into human food, but start again and have a plan for the processing - drying and roasting stages, and this should kill or immobilize the mold spores for safe storage.
At the very least, I'd do some up-to-date research on the issue. I am not in the right eco-system to grow them, so I have not personal experience with this.