[PR #2005] [MERGED] Fix for trophy decryption #2432

Closed
opened 2026-02-27 21:16:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2005
Author: @psucien
Created: 1/1/2025
Status: Merged
Merged: 1/1/2025
Merged by: @psucien

Base: mainHead: fix/trophy


📝 Commits (4)

  • 0cc5808 fix for trophy decryption
  • 827214b more sanity checks
  • 309fc59 switch back to strings for simplicity
  • fe73057 get rid of unnecessary span

📊 Changes

4 files changed (+27 additions, -18 deletions)

View changed files

📝 src/common/config.cpp (+1 -1)
📝 src/core/crypto/crypto.cpp (+5 -15)
📝 src/core/crypto/crypto.h (+2 -1)
📝 src/core/file_format/trp.cpp (+19 -1)

📄 Description

Fix for memory corruption and incorrect decryption sequence.
NOTE: Now user should store the key as a toml array, e.g. TrophyKey = [1, 2, 3, 4, .. ]


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/2005 **Author:** [@psucien](https://github.com/psucien) **Created:** 1/1/2025 **Status:** ✅ Merged **Merged:** 1/1/2025 **Merged by:** [@psucien](https://github.com/psucien) **Base:** `main` ← **Head:** `fix/trophy` --- ### 📝 Commits (4) - [`0cc5808`](https://github.com/shadps4-emu/shadPS4/commit/0cc5808bf47bc93ffea52c7c1159dfa3464ab75c) fix for trophy decryption - [`827214b`](https://github.com/shadps4-emu/shadPS4/commit/827214b23784d4dcc9ce087b24f77e64bb555e88) more sanity checks - [`309fc59`](https://github.com/shadps4-emu/shadPS4/commit/309fc59d16978d1f0f6a8dd8f839b34da8f57c0a) switch back to strings for simplicity - [`fe73057`](https://github.com/shadps4-emu/shadPS4/commit/fe7305754bc4440c4f40ef66068507c07c807718) get rid of unnecessary span ### 📊 Changes **4 files changed** (+27 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `src/common/config.cpp` (+1 -1) 📝 `src/core/crypto/crypto.cpp` (+5 -15) 📝 `src/core/crypto/crypto.h` (+2 -1) 📝 `src/core/file_format/trp.cpp` (+19 -1) </details> ### 📄 Description Fix for memory corruption and incorrect decryption sequence. ~~NOTE: Now user should store the key as a toml array, e.g. `TrophyKey = [1, 2, 3, 4, .. ]`~~ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:16:29 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#2432
No description provided.