I am about to release a C# 3.x project and have read that for security I should compiled the editor from source using a 256-bit encryption key. I am following all the steps and have my new custom build of Godot Mono. However, I noticed that in the latest 3.6rc and perhaps in 3.5.stable, when I go to export my C# project, under the Scripts tab it says "GDScript Export mode" and "GDScript Encryption Key".
I doesn't say anything about C# scripts or assets, etc. Does this only encrypt GDScripts?

    ondesic what do you mean by for security? what are you developing? Bank application?

    No. I would like my actual source code to not be visible to hackers. I have read that if the PCK file is broken into, the user can see the entire project including source code in plain text.
    I am using the 3.5.3 Mono C# version. I want to encrypt my entire project. When I go to Project|Export and select the Script tab it shows:
    I noticed that it only says "GDScript Export". How do I encrypt mt C# files and other assets?

    • xyz replied to this.

      ondesic Afaik PCK encryption is only supported in 4.x

      Does this mean that I need to port my project to 4.x to add protection to my c# project? Is there a way to do this with 3.x?

        ondesic Likely, if you think encrypting it would be of so much importance. I'm not aware of a way to do it in 3.x although I haven't researched it thoroughly.

        ondesic why would you protect the source?

        I would gladly package my games source code along with the game. That is just being polite. You know how in golden days when you bought a tv, it came with a schematics and you could see how everything is connected and could repair it yourself, and it lasted for 40 years.
        People should treat software the same way imo.

        • xyz replied to this.

          kuligs2 That's what open source is for. However there are myriad of legitimate reason a software developer or vendor may prefer to keep a product's source closed and protected by any means possible. For a detailed list of such reasons - ask ChatGPT.

          I am releasing a commercial game. I want to do all I can to protect the years I put into it as an indie developer. Hope that makes sense, and I hope I can find a solution.