I was wondering if there was some miraculous way to get a master key that was lost?
Unfortunately there’s no way to retrieve a master key that’s been lost.
I’m not sure of your circumstances, but if you’re able to get Octopus up and running again (e.g. from a server snapshot), you can get it from the Octopus Manager.
Sorry it’s not better news!