Skip to content

Implemented interfaces and class for manipulating and storing sensitive string data#97

Merged
JPeterMugaas merged 3 commits intoTaurusTLS-Developers:mainfrom
tregubovav-dev:@AT-SSLContainers-Refactor
Sep 13, 2025
Merged

Implemented interfaces and class for manipulating and storing sensitive string data#97
JPeterMugaas merged 3 commits intoTaurusTLS-Developers:mainfrom
tregubovav-dev:@AT-SSLContainers-Refactor

Conversation

@tregubovav-dev
Copy link
Contributor

@tregubovav-dev tregubovav-dev commented Sep 13, 2025

  • Declared ITaurusTLS_PassVault and ITaurusTLS_Pass interfaces for string string data as encrypted 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
  • Return type of TTaurusTLS_BytesVault.GetPlainBytes method changed to TPlainBytes to support flexibility in derived classes
  • Fixed possible AV exception in TWiper.Wipe functions when a constant assigned to a string value

Summary 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.

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
@JPeterMugaas JPeterMugaas merged commit 84019bf into TaurusTLS-Developers:main Sep 13, 2025
JPeterMugaas added a commit to TurboPack/indy_extras that referenced this pull request Sep 13, 2025
@tregubovav-dev tregubovav-dev deleted the @AT-SSLContainers-Refactor branch September 15, 2025 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants