Skip to content

PR for transparent encryption of values in a durable ChatMemoryRepository https://github.com/spring-projects/spring-ai/issues/2975 #3008

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joshlong
Copy link
Member

@joshlong joshlong commented May 6, 2025

this is a WIP. don't merge. (still needs tests and more) just wondering about the approach / validity

it is a solution for #2975

I imagine we could have a property set that activates the BeanPostProcessor and wraps any ChatMemoryRepository so that they transparently encode their values in the database

this would work for any persistence mechanism - JDBC, Neo4j, Cassandra, etc.

Signed-off-by: Josh Long <54473+joshlong@users.noreply.github.com>
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.

1 participant