Skip to content
New issue

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

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

Already on GitHub? # to your account

Encryption At Rest #284

Merged
merged 6 commits into from
Nov 7, 2023
Merged

Encryption At Rest #284

merged 6 commits into from
Nov 7, 2023

Commits on Nov 7, 2023

  1. moving sqlitePragmaString function to SqliteRepository file.

    Migrated from github.com/glebarez/sqlite to gorm.io/driver/sqlite (which uses github.com/mattn/go-sqlite3)
    
    Override github.com/mattn/go-sqlite3 with forked version from @jgiannuzzi which supports Encryption at rest.
    See mattn/go-sqlite3#1109
    See #236
    
    Added documentation for how to open an encrypted sqlite database in IntelliJ - CONTRIBUTING.md update
    AnalogJ committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    c08d548 View commit details
    Browse the repository at this point in the history
  2. adding tests:

    - verify invalid/short database.encryption.key values throw an error
    - make sure that we mock database.encryption.key checks in all tests.
    - make sure we always delete the -shm and -wal temp files.
    TODO: TestListBackgroundJobs and TestUpdateBackgroundJob broken
    AnalogJ committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    02706d7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    85c34ba View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d0130d1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    32354fa View commit details
    Browse the repository at this point in the history
  6. fixing test.

    AnalogJ committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    7851013 View commit details
    Browse the repository at this point in the history