Skip to content

Add an encryption provider to encrypt data before storage#14

Merged
jdon merged 12 commits intorewrite_traitsfrom
encryption
Sep 23, 2025
Merged

Add an encryption provider to encrypt data before storage#14
jdon merged 12 commits intorewrite_traitsfrom
encryption

Conversation

@aewakefield
Copy link
Copy Markdown
Collaborator

This allows for events, side effects and snapshots to be encrypted before storing them.

This allows for events, side effects and snapshots to be encrypted
before storing them.
Copy link
Copy Markdown
Owner

@jdon jdon left a comment

Choose a reason for hiding this comment

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

Overall looks good, I think the main thing to change is the error type that is returned for pickling / encrypting so it's no longer anyhow.

Also looks like there are a couple of clippy lints to fix .

Comment thread eventastic_postgres/src/lib.rs Outdated
Comment thread eventastic_postgres/src/reader_impl.rs Outdated
Comment thread eventastic_postgres/src/encryption.rs Outdated
Comment thread eventastic_postgres/src/transaction.rs Outdated
aewakefield and others added 10 commits July 31, 2025 11:23
Co-Authored-By: Alex Wakefield <1181370+aewakefield@users.noreply.github.com>
Co-Authored-By: Fabio Mirza <79943909+mapokko@users.noreply.github.com>
When we get this error logged we end up with lots of different
messages due to the aggregate ID and version number. These should be
logged outside of the message to make grouping this easier.
chore: simplify the error message
Generic SideEffectStorage
@jdon jdon merged commit 23065a4 into rewrite_traits Sep 23, 2025
4 checks passed
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.

3 participants