Skip to content

Update encryption metadata to support different encrypt_modes for Dictionary vs Pages#193

Merged
avalerio-tkd merged 2 commits into
mainfrom
av_sequencer_update_07
Dec 10, 2025
Merged

Update encryption metadata to support different encrypt_modes for Dictionary vs Pages#193
avalerio-tkd merged 2 commits into
mainfrom
av_sequencer_update_07

Conversation

@avalerio-tkd

Copy link
Copy Markdown
Collaborator
  • Updated encryption mode keys to use different keys for dictionary page and data page.
  • Fixes an issue upstream where the encryption mode value was different in case of dictionary encodings.

…age and data page.

- Fixes an issue upstream where the encryption mode value was different in case of dictionary encodings.
Comment thread src/server/encryption_sequencer.cpp Outdated
Comment on lines +41 to +42
constexpr const char* ENCRYPTION_MODE_DICTIONARY_PAGE = "encrypt_mode_dict_page";
constexpr const char* ENCRYPTION_MODE_DATA_PAGE = "encrypt_mode_data_page";

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should have "KEY" in the names for these.

@argmarco-tkd argmarco-tkd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this, LGTM. Please see note on the naming of the new constants.

No need for a new PR if/when addressed.

@avalerio-tkd avalerio-tkd merged commit a3edae5 into main Dec 10, 2025
2 checks passed
@avalerio-tkd avalerio-tkd deleted the av_sequencer_update_07 branch December 10, 2025 20:11
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