You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[C++][Parquet] WipeOutDecryptionKeys doesn't securely wipe out keys #31603
InternalFileDecryptor::WipeOutDecryptionKeys() merely call std::string::clear to dispose of the decryption key contents, but that method is not guaranteed to clear memory (it probably doesn't, actually).
We should probably devise a portable wrapper function for the various OS-specific memory clearing utilities.
Activity
asfimport commentedon Apr 14, 2022
Antoine Pitrou / @pitrou:
cc @andersonm-ibm @itamarst
asfimport commentedon Apr 14, 2022
Antoine Pitrou / @pitrou:
Actually we probably need a
SecureStringfacility so that wiping happens every time a string copy is done.asfimport commentedon Apr 14, 2022
Antoine Pitrou / @pitrou:
Draft PR for a low-level helper here: #12890
asfimport commentedon Apr 21, 2022
Krisztian Szucs / @kszucs:
@pitrou shall we postpone it to 9.0?
asfimport commentedon Apr 21, 2022
Antoine Pitrou / @pitrou:
Yes, probably.
asfimport commentedon Apr 26, 2022
Antoine Pitrou / @pitrou:
cc @ggershinsky
pitrou commentedon Mar 21, 2024
@adamreeve For the record, you might be interested in this.
GH-31603: [C++] Add SecureString implementation to arrow/util/ (#46626)
apacheGH-31603: [C++] Add SecureString implementation to arrow/util/ (a…
GH-31603: [C++] Wrap Parquet encryption keys in SecureString (#46017)
pitrou commentedon Jul 15, 2025
Issue resolved by pull request 46017
#46017
pitrou commentedon Jul 15, 2025
@EnricoMi Can you post a comment here so that we can assign this issue to you?
EnricoMi commentedon Jul 15, 2025
Sure!
Bring protegrity/arrow main branch up to date (#210)