holisticon / secure-delete-article

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CI Quality Gate Status

Secure Do To List

A to do list that stores its data encrypted and GDPR-compliant using crypto shredding. It was developed as a proof-of-concept and example for crypto shredding. It uses the Keycloak GDPR module.

Setup

Prerequisites:

  • JDK 11+
  • Docker
  • NodeJS 12+

Start the application:

# Start MySQL database and Keycloak containers
docker-compose up -d

# build the application
./mvnw clean install

# start the backend
./mvnw spring-boot:run -f assembly

# start the frontend (in another terminal)
cd frontend
npm start

Demo Data

To test the application, there are some preconfigured users in Keycloak:

  • Master Realm (login to the Keycloak admin-console)
    • admin / admin
  • App Realm (login to the demo app)
    • user1 / user1
    • user2 / user2

Testing

Performance Tests

For performance we're using Gatling:

$ ./mvnw gatling:test -f assembly

Debugging

To debug the deployed gdpr-module in Keycloak:

$ docker compose up

then connect via Remote Debugging:

-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:9097

About


Languages

Language:Mustache 50.4%Language:Scala 16.2%Language:Kotlin 12.1%Language:TypeScript 9.1%Language:Java 7.3%Language:JavaScript 2.5%Language:Dockerfile 1.0%Language:HTML 0.9%Language:Shell 0.3%Language:SCSS 0.1%