Skip to content

Could you provide the PCK encryption for building Android using non-APK extensions? #6675

Description

@mikuYongh

Describe the project you are working on

I am developing a 2D game that includes a lot of scripts.

Describe the problem or limitation you are having in your project

The game I created is about 2GB. I want to encrypt it and generate an APK file. However, when I need to encrypt the PCK file, I have to select the APK extension, which requires a secret key from the Google Play Console. But I don't want to use this key to encrypt my game, maybe for other reasons. When 4.0 removed the GD script encryption function that was present in 3.x, I wondered if it was possible to achieve encryption in 4.x without requiring the APK extension, because leaving the PCK file unencrypted would be very insecure for the game.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Can you provide an APK build that does not depend on APK expansion using GDScript encryption or other encryption methods?

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

I am not very familiar with how encryption works, but I would like to have more considerations for the security of the game.

If this enhancement will not be used often, can it be worked around with a few lines of script?

It is not possible.

Is there a reason why this should be core and not an add-on in the asset library?

Using encryption can improve the security of the APK in Godot 4.x. If the game is not encrypted, it can be easily cracked, so I believe that using only this encryption method is insufficient for security considerations.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions