Exporting locked komponents not encrypting JSON

When exporting a komponent as read-only with locked globals the resulting JSON is not AES encrypted as expected. Spoke on reddit but creating a ticket for posterity.

Hi, i double checked and this is as expected, if you want to encrypt something inside a Komponent you need to nest them, means that you need to add ANOTHER Komponent inside the encrypted one and put your "secret" global in that one instead. You will then not be able to access parent Komponent globals though, to do that you need to add them also in the nested one and map those ones to the parent ones, not very user friendly i know.