[PR #3935] [MERGED] Introducing key_manager for storing encryption keys . #3813

Closed
opened 2026-02-27 22:05:05 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3935
Author: @georgemoralis
Created: 1/18/2026
Status: Merged
Merged: 1/19/2026
Merged by: @georgemoralis

Base: mainHead: main


📝 Commits (5)

  • 2bba853 Introducing key_manager for storing encryption keys . Currently only trophy key is neccesary
  • a737af2 keep gcc happy?
  • 6ab2e1b addded logging to keymanager
  • 81ad6e1 revert file
  • 04611c4 added npbind file format and rewrote part of trp file format

📊 Changes

10 files changed (+675 additions, -78 deletions)

View changed files

📝 CMakeLists.txt (+5 -1)
src/common/key_manager.cpp (+161 -0)
src/common/key_manager.h (+79 -0)
📝 src/common/logging/filter.cpp (+2 -0)
📝 src/common/logging/types.h (+2 -0)
src/core/file_format/npbind.cpp (+114 -0)
src/core/file_format/npbind.h (+87 -0)
📝 src/core/file_format/trp.cpp (+204 -76)
📝 src/core/file_format/trp.h (+10 -1)
📝 src/main.cpp (+11 -0)

📄 Description

Correctly only trophy key , but can be expand if more encryption keys are neccesary in future.
Solve also the issue of storing trophy key in the same settings file.
Also added copy from config.toml file if already set there so i don't break the current configurations (will be removed after a while)


🔄 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/3935 **Author:** [@georgemoralis](https://github.com/georgemoralis) **Created:** 1/18/2026 **Status:** ✅ Merged **Merged:** 1/19/2026 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (5) - [`2bba853`](https://github.com/shadps4-emu/shadPS4/commit/2bba853333db4b17f46dc3a5117e8ceba6edbf40) Introducing key_manager for storing encryption keys . Currently only trophy key is neccesary - [`a737af2`](https://github.com/shadps4-emu/shadPS4/commit/a737af21cdbd4ab65a2f44cc2059a7f5d26dae28) keep gcc happy? - [`6ab2e1b`](https://github.com/shadps4-emu/shadPS4/commit/6ab2e1b8d6bed391ab2daf5ef5340993523dad96) addded logging to keymanager - [`81ad6e1`](https://github.com/shadps4-emu/shadPS4/commit/81ad6e166806050e736c04908d4ecb393e160f7a) revert file - [`04611c4`](https://github.com/shadps4-emu/shadPS4/commit/04611c41deb16c058587f7886473f5871351496a) added npbind file format and rewrote part of trp file format ### 📊 Changes **10 files changed** (+675 additions, -78 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+5 -1) ➕ `src/common/key_manager.cpp` (+161 -0) ➕ `src/common/key_manager.h` (+79 -0) 📝 `src/common/logging/filter.cpp` (+2 -0) 📝 `src/common/logging/types.h` (+2 -0) ➕ `src/core/file_format/npbind.cpp` (+114 -0) ➕ `src/core/file_format/npbind.h` (+87 -0) 📝 `src/core/file_format/trp.cpp` (+204 -76) 📝 `src/core/file_format/trp.h` (+10 -1) 📝 `src/main.cpp` (+11 -0) </details> ### 📄 Description Correctly only trophy key , but can be expand if more encryption keys are neccesary in future. Solve also the issue of storing trophy key in the same settings file. Also added copy from config.toml file if already set there so i don't break the current configurations (will be removed after a while) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:05:05 +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#3813
No description provided.