Skip to content

v0.1.7

Compare
Choose a tag to compare
@dracarys18 dracarys18 released this 06 Jan 14:02
· 8 commits to main since this release
e4dc7b3

0.1.7 (2025-01-06)

Changes from v0.1.3 to v0.1.7

Features

  • custodian: Add support for authorization for accessing keys (#24)
  • encryption: Add support for encryption/decryption of multiple objects (#43)
  • engine: Implement hashicorp vault engine (#29)
  • Add benchmarking for encryption/decryption (#32)
  • Make storage layer pluginable and add cassandra support (#31)
  • Add support to postgress strict SSL verification
  • Add support to multitenancy (#37)

Bug Fixes

  • Add proper messages to internal server error (#20)

Refactors

  • Kms encrypt blake3 hash key (#35)

Miscellaneous Tasks

  • deps: Update diesel deps (#21)
  • deps: bump openssl from 0.10.68 to 0.10.70 (#44)

Compatibility

This version of the Hyperswitch Encryption Service is compatible with the following versions of the other components:

Database Migrations

-- DB Difference between v0.1.3 and v0.1.7

ALTER TABLE data_key_store ADD COLUMN IF NOT EXISTS token VARCHAR(255);

Configuration Changes

Diff of configuration changes between v0.1.3 and v0.1.7:

diff --git a/config/development.toml b/config/development.toml
index b4cf1831050b..1dbf07e922fb 100644
--- a/config/development.toml
+++ b/config/development.toml
@@ -10,18 +10,28 @@ host = "127.0.0.1"
 port = 5000
 
 [database]
 user = "db_user"
 password = "db_pass"
 host = "localhost"
 port = 5432
 dbname = "encryption_db"
 pool_size = 5
 min_idle = 2
+enable_ssl = false
+
+[multitenancy.tenants.public]
+cache_prefix = "public"
+schema = "public"
+
+[multitenancy.tenants.global]
+cache_prefix = "global"
+schema = "global"
 
 [log]
 log_level = "debug"
 log_format = "console"
 
 [secrets]
 master_key = "6d761d32f1b14ef34cf016d726b29b02b5cfce92a8959f1bfb65995c8100925e"
+access_token = "secret123"
+hash_context = "keymanager:hyperswitch"

Full Changelog: v0.1.3...v0.1.7