Rails/ActiveStorage: Client-Side encryption with Amazon S3

Recently, we implemented client-side encryption for ActiveStorage - Which was a customer’s requirement in light of FISA and Schrems II GDPR rulings. In summary, relying only on Amazon’s KMS is not enough, so we implemented Client-Side encryption. Unfortunately, there are not a lot of guides out, that explain, how to best do this with ActiveStorage. So here is our take on it.
Rails/ActiveStorage: Client-Side encryption with Amazon S3 #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/rails-activestorage-client-side-encryption-with-amazon-s3

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles