Add RAII secure string container to wipe decrypted string memory on scope exit
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start by reading AES8.hpp to see how decrypted strings are returned and how its temporary buffers are wiped. Define the wrapper’s scoped read access and zeroing behavior for both std::string and std::wstring; the issue does not name a test file or specify how the wrapper should be exposed. Done means decrypted string buffers are cleared when the wrapper leaves scope.
Written by the indexing model from the issue text.
Description
AES8.hpp wipes its temporary stack buffer, runtime key, key schedule, and S-box state immediately after decrypting a literal, but returns a standard std::string or std::wstring whose buffer remains in memory until the caller destroys or overwrites it. Add an optional RAII secure string wrapper that zeroes its internal buffer in the destructor and supports scoped read access.
- Dominant language
- C++
- Stars
- 845
- Forks
- 87
- Avg merge
- 17h 4m
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from x86byte/Obfusk8
-
enhancement help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
enhancement help wanted
Difficulty 1/5 Under an hour Newbie friendliness 65/100
-
enhancement help wanted
Difficulty 4/5 3-5 days Newbie friendliness 54/100
-
enhancement help wanted
Difficulty 4/5 3-5 days Newbie friendliness 55/100
-
enhancement help wanted
Difficulty 4/5 3-5 days Newbie friendliness 55/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
? - Needs Triage bot_watch bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NVIDIA/cudf-spark-jni#5594 ·
Maintainers usually reply within 1 day
-
Branch-master
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
TrinityCore/TrinityCore#32177 ·
Maintainers usually reply within 10 days
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
mw00/project-maya#1499 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day