privacysandbox / protected-auction-key-value-service

Protected Auction Key/Value Service
Apache License 2.0
55 stars 20 forks source link

Known issue: Loading binary data as values is not supported properly #29

Closed peiwenhu closed 8 months ago

peiwenhu commented 1 year ago

Some part of the server system treats the values as null-terminated string. So if binary data is written as the value in the mutation records in delta files, since they may contain '\0', the string may be truncated.

The fix is WIP. Temporary workaround is to base64 encode the string while writing and decode it after reading.