Implemented interfaces and class for manipulating and storing sensitive string data#97
Merged
JPeterMugaas merged 3 commits intoTaurusTLS-Developers:mainfrom Sep 13, 2025
Conversation
Return typ of TTaurusTLS_BytesVault.GetPlainBytes method changed to TPlainBytes to support flexibility in derived classes
Fixed possible AV exception when a constant assigned to a string value
…rings. * Declared ITaurusTLS_PassVault and ITaurusTLS_Pass interfaces for string string data as encypted UTF8-encoded null-terminated strings and provide access to decrypted strings by request. * TTaurusTLS_PassVault implementing interfaces above. * Unit tests covered ITaurusTLS_PassVault and ITaurusTLS_Pass interfaces
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ITaurusTLS_PassVaultandITaurusTLS_Passinterfaces for string string data as encrypted UTF8-encoded null-terminated strings and provide access to decrypted strings by request.TTaurusTLS_PassVaultimplementing interfaces above.ITaurusTLS_PassVaultandITaurusTLS_PassinterfacesTTaurusTLS_BytesVault.GetPlainBytesmethod changed toTPlainBytesto support flexibility in derived classesSummary by Bito
This pull request introduces new interfaces and classes for securely managing sensitive string data, including `ITaurusTLS_PassVault` and `ITaurusTLS_Pass`. It enhances string wiping functionality and modifies the return type of `GetPlainBytes` for better flexibility, while also addressing a bug related to access violations. Comprehensive unit tests have been added to ensure reliability.