Look up how to dehydrate beans in your oven!! I recently got into it and it works wonders. You fully cook the beans and then throw them in the oven on a tray at super low heat for like 6 hours. Then you can just leave them in a ziploc bag for a very long time without having to worry about them, and you rehydrate them by pouring hot water over them and letting them sit for a few minutes. Home dehydration has made meals on the trail soooo much better for me. Give it a shot!