SELF: Difference between revisions
Jump to navigation
Jump to search
m (→Encryption: Added minor details) |
CelesteBlue (talk | contribs) No edit summary |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
SELF files are a wrapper around encrypted [http://en.wikipedia.org/wiki/ELF ELF] files. The encrypted header contains keys to decrypt each encrypted ELF program, which are decrypted and loaded individually. Because of this, a copy of the ELF headers and ELF program headers are stored in plain text next to the | SELF files are a wrapper around encrypted [http://en.wikipedia.org/wiki/ELF ELF] files. The encrypted header contains keys to decrypt each encrypted ELF program, which are decrypted and loaded individually. Because of this, a copy of the ELF headers and ELF program headers are stored in plain text next to the [[Certified File]] header. | ||
== Authority | == Authority Id == | ||
8 | 8 bytes long. Located at offset 0x80 in PSVita SELF header. | ||
[[SceAppMgr#sceAppMgrConvertVs0UserDrivePath|sceAppMgrConvertVs0UserDrivePath]] checks the | [[SceAppMgr#sceAppMgrConvertVs0UserDrivePath|sceAppMgrConvertVs0UserDrivePath]] checks the Authority Id to limit mount points. | ||
<code>0x2800000000008000</code> | <code>0x2800000000008000</code> ([[SceWebCore]] eboot.bin - NPXS10017 / NPXS10037 on 1.69-3.01, replaced later by [[SceWebKit]]). | ||
<code>0x2800000000008003</code> | <code>0x2800000000008003</code> ([[SceWebCore]]) can access <code>vs0:data/external/cert/</code> and <code>vs0:data/external/webcore/</code>. | ||
<code>0x210000101CD20007</code> | <code>0x210000101CD20007</code> ([[PSM|PSM Dev Assistant]] can access <code>vs0:data/external</code> and <code>vs0:sys/external</code>. | ||
[[Category:Formats]] | [[Category:Formats]] | ||
Latest revision as of 19:57, 26 September 2019
SELF files are a wrapper around encrypted ELF files. The encrypted header contains keys to decrypt each encrypted ELF program, which are decrypted and loaded individually. Because of this, a copy of the ELF headers and ELF program headers are stored in plain text next to the Certified File header.
Authority Id
8 bytes long. Located at offset 0x80 in PSVita SELF header.
sceAppMgrConvertVs0UserDrivePath checks the Authority Id to limit mount points.
0x2800000000008000
(SceWebCore eboot.bin - NPXS10017 / NPXS10037 on 1.69-3.01, replaced later by SceWebKit).
0x2800000000008003
(SceWebCore) can access vs0:data/external/cert/
and vs0:data/external/webcore/
.
0x210000101CD20007
(PSM Dev Assistant can access vs0:data/external
and vs0:sys/external
.