Extracts just fine using 4.19 EU4
aes key 0x38D519D3867059256FFEAA9C7F575787EF2C048D38BF5C33CD1798A445570EE3
Thank you! It works fine for decryption.
Do you happen to know (or anyone reading this) how to obtain the following values for "repaking"?
EncryptionKey=
SigningPublicExponent=
SigningModulus=
SigningPrivateExponent=
So far I know "EncryptionKey" is AES-256 (32 bytes) which once converted from HEX to Base64 is 44 characters long and can be used directly in UE 4.19 Editor.
ONUZ04ZwWSVv/qqcf1dXh+8sBI04v1wzzReYpEVXDuM=
Tested and working, you can encrypt your own paks with the same encryption used by the game.
But there is a problem, additionally the game needs the paks to be signed with a RSA key, so it cannot read modified paks by just encrypting them (Store encrypted CRCs of each 128kb chunk of the pak file in a separate sig file alongside the pak file.).
So as the UE4 documentation says,
"SigningPublicExponent" is the RSA key public exponent used for signing a pak file.
"SigningModulus" is the RSA key modulus used for signing a pak file.
"SigningPrivateExponent" is the RSA key private exponent used for signing a pak file.
For the record here is a random generated signing key by UE 4.19,
Base64:
SigningPublicExponent=/XDcMShioGFM4oCec6JvT/G0TOC95biIJC7+sydYzRkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
SigningModulus=V/SAydLKBE4r5ix7Bi/7FdUe5qA5sSqabYr6G3cIaE0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
SigningPrivateExponent=9VKVlXgm4STlpoLbWudO7tMe5qA5sSqabYr6G3cIaE0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
HEX:
SigningPublicExponent=0xFD70DC312862A0614CE2809E73A26F4FF1B44CE0BDE5B888242EFEB32758CD190000000000000000000000000000000000000000000000000000000000000000
SigningModulus=0x57F480C9D2CA044E2BE62C7B062FFB15D51EE6A039B12A9A6D8AFA1B7708684D0000000000000000000000000000000000000000000000000000000000000000
SigningPrivateExponent=0xF55295957826E124E5A682DB5AE74EEED31EE6A039B12A9A6D8AFA1B7708684D0000000000000000000000000000000000000000000000000000000000000000
Help on how to obtain this would be really appreciated.