> sharing the key would be illegal

How so? And what region are you referring to? There are many countries in the world with vastly different laws.

Unfortunately, the "region" would be the 193 member states of WIPO: https://en.wikipedia.org/wiki/Anti-circumvention

So, you are right, the laws in Micronesia, Palau and South Sudan might be vastly different.