Hi Higgler,
If you want to minimize outgassing, match thermal expansion, and be re-workable you might consider a silicone material. There are several RTVs that we use for aerospace components - there is a 3145 that I believe conforms to MIL-24624...
But if you need a structural potting...