Re: I generate the licenses..
"The keys are somehow linked to the maintenance contract."
I had a client who reverse-engineered the keys because the vendor's maintenance was so dire. He reckoned I did a better job. Over the years I certainly dug out a few very peculiar things they'd done. That's apart from the things discovered right at the start such as the scripts to set up the system which had .sql suffixes and weren't SQL.