Envelope Files
Jump to navigation
Jump to search
Envelope files are a general purpose container format used on PS4 and PS5 for encrypting and signing a message. This format was likely introduced in System Software version 3.00 (>2.56 <=3.50). It follows the same principle as PS Vita Launch Lists: embed files in OS and allow update through download of encrypted files from official servers.
Messages are encrypted using AES128 in CTS mode, hashed using SHA256 and signed using RSA2048.
Structure[edit | edit source]
Format[edit | edit source]
Fields are little-endian.
Name | Offset | Size | Example | Remark |
---|---|---|---|---|
Signature | 0x000 |
4 | CC CB 73 51 |
Four bytes, not an int |
Version | 0x004 |
4 | 00 00 00 00 |
Only version 0 (zero) exists |
ID | 0x008 |
4 | 01 00 00 00 |
See Content |
Unknown | 0x00C |
4 | 00 00 00 00 |
Always 0 |
Message Size | 0x010 |
8 | 83 03 00 00 00 00 00 00 |
Size of the message in bytes. |
Unknown | 0x018 |
8 | 00 00 00 00 00 00 00 00 |
Always 0 |
Message IV | 0x020 |
16 | IV for encrypted message | |
Message Hash | 0x030 |
32 | SHA256 hash of unencrypted message bytes | |
File Signature | 0x050 |
256 | RSA248 signature verified using public key | |
Message Data | 0x150 |
Message Size | Encrypted message bytes. Encryption key and public key varies with content ID. |
Content[edit | edit source]
The underlying unencrypted message format varies between different content.
ID | Name | Description | Process | Files/URLs | Remarks |
---|---|---|---|---|---|
1
|
beta_updatelist | Beta Update List | /system/vsh/SceShellCore.elf
|
|
Password "?" in URL varies with System Software version |
2
|
timezone | Timezone | /system/vsh/SceShellCore.elf
|
|
|
3
|
system_log_config | System Log Config | /system/vsh/SceShellCore.elf
|
|
Version in URL varies with System Software version |
4
|
system_log_unknown | /system/vsh/SceShellCore.elf
|
Unknown name and usage. | ||
5
|
bgdc_config | Background Daily Checker | /system/vsh/SceShellCore.elf
|
|
|
6
|
wctl_config | Title Workaround Control | /system/vsh/SceShellCore.elf
|
|
|
7
|
morpheus_updatelist | Morpheus (VR) Update List | /system/vsh/SceShellCore.elf
|
|
|
8
|
netev_config | /system/vsh/SceShellCore.elf
|
|
||
9
|
gls_config | /system/vsh/app/NPXS21000/eboot.bin
|
|
||
10
|
hid_config | /system/vsh/SceShellCore.elf
|
|
||
12
|
hidusbpower | /system/vsh/SceShellCore.elf
|
|
Added in System Software version >3.70 <=4.05 | |
13
|
patch_hmac_key | /system/vsh/SceShellCore.elf
|
Embedded data in /system/vsh/SceShellCore.elf
|
||
14
|
bgft | Background File Transfer | /system/vsh/SceShellCore.elf
|
|
Version in URL varies with System Software version |
17
|
system_log_privacy | /system/vsh/SceShellCore.elf
|
|
Added in System Software version 5.00 | |
18
|
webbrowser_xutil | /system_ex/app/NPXS20001/eboot.bin
|
|
| |
19
|
entitlementmgr_config | /system/vsh/SceShellCore.elf
|
|
Added in System Software version >5.05 <=7.00 | |
21
|
jsnex_netflixdeckeys | /system_ex/app/NPXS20001/eboot.bin
|
Embedded data in /system_ex/app/NPXS20001/eboot.bin
|
Added in System Software version >5.05 <=7.00 | |
22
|
party_config | /system/vsh/app/NPXS21002/eboot.bin
|
|
Added in System Software version >5.05 <=7.00 |