I’ve great luck with the edibility of Italian hard, dry salami on extended trips. Â I cut it into slices at each meal.
I’ve also had great luck attracting bears with salami. Â The two times a black bear in the California Sierra grabbed a pack from us, it was the pack with the salami in it.
I’m comfortable with salami or pepperoni, sliced or not, for many days on the trail, but if pre-sliced, I’m more careful to carry it in a zip lock and burp as much air as possible out of the bag after each use.
Also (and this applies even more to cold cuts like roast beef or pastrami which I’ll use for 2-3 days in mild weather), you can do a lot to keep things cold on the trail. Â Expose them to the night air and then the following morning place them in the center of your pack with insulating clothing and sleeping bags/pads around them. Â The first times I backpacked in ice cream sundaes or frozen wedding cake figuring it would thaw on the way in, I found that I’d insulated it so well that I was rushing to get it thawed before the event. Subsequently, I’d track the temperature through the hike in so that it was refrigerated but not frozen for the planned meal. Â And the more I did it, the less styrofoam I used for insulation and the more I relied on clothes and sleeping bag/pads I’d be bringing anyway. Â Multipurpose you gear!
Sometimes, there are supplies you won’t use for several days (a second fuel canister, food for later in the trip, etc) that you can freeze along with your meats and cheeses for the middle of the trip. Â That gives you a larger thermal mass that will stay colder longer.
Pro-tip#1: put dry ice BELOW the ice cream so the ice cream is kept at a serve-able 10-20F. Â If you put the dry ice ABOVE and close to the ice cream, you can’t cut -100F ice cream with an axe!
Pro-tip#2: while live lobsters like to be in cold water, using dry ice to make the water cold can suffocate the lobster. Â Yes, we discovered this on a backpacking trip.