Alexis
Alexis

Reputation: 521

zero knowledge encryption with keycloak

Here is my structure:

Architecture

I have been reading a little bit, and I have concluded that storing sensitive information in the database could pose security risks.

A solution could be to use zero knowledge encryption:

  1. user authenticates with password
  2. frontend uses the password to encrypt data sent to the backend
  3. backend stores encrypted data

The problem is that I have no access to the password since Keycloak stores it internally. Do you guys know if there is a way of implementing a solution like this? or a better alternative? I am new to cryptography.

Upvotes: 0

Views: 508

Answers (0)

Related Questions