As long as they are fully dried they should be good for a long while
If you are worried about it (and your living situation allows it) just toss them in the freezer. Freezer will keep'em nice.
Don't do this. It can cause the cells in the shrooms to burst and it'll fuck your shrooms up.
I put mine in a bag then put that bag in a glass jar and put that jar in a dark place.