-
Notifications
You must be signed in to change notification settings - Fork 113
How to Encrypt/Decrypt Sensitive Data in Elixir? #80
Copy link
Copy link
Closed
Labels
T1dTime Estimate 1 DayTime Estimate 1 DayenhancementNew feature or enhancement of existing functionalityNew feature or enhancement of existing functionalitypriority-2Second highest priority, should be worked on as soon as the Priority-1 issues are finishedSecond highest priority, should be worked on as soon as the Priority-1 issues are finishedquestionA question needs to be answered before progress can be made on this issueA question needs to be answered before progress can be made on this issue
Metadata
Metadata
Assignees
Labels
T1dTime Estimate 1 DayTime Estimate 1 DayenhancementNew feature or enhancement of existing functionalityNew feature or enhancement of existing functionalitypriority-2Second highest priority, should be worked on as soon as the Priority-1 issues are finishedSecond highest priority, should be worked on as soon as the Priority-1 issues are finishedquestionA question needs to be answered before progress can be made on this issueA question needs to be answered before progress can be made on this issue
Type
Fields
Give feedbackNo fields configured for issues without a type.
Scenario
We want to encrypt (personal) data
beforestoring it in PostgreSQL.So that if for any reason the DB is ever "compromised" through SQL injection or other "attack",
the data is strongly encrypted and thus the "leak" is (somewhat) "mitigated".
read: https://security.stackexchange.com/questions/56278/field-level-encryption-vs-disk-encryption-for-pci-compliance
The starting point is to read the Erlang
cryptodocs: http://erlang.org/doc/man/crypto.htmlIt has lots of detail but few practical examples ...
Requirement
We read: https://github.com/rubencaro/cipher which is "overkill" for what we need.
Example code:
Looked at: https://github.com/danielberkompas/cloak