phoenix-ecto-encryption-example
phoenix-ecto-encryption-example copied to clipboard
🔐 A detailed example for how to encrypt data in an Elixir (Phoenix v1.7) App before inserting into a database using Ecto Types
Hi, This is such an incredible repo/example, thank you to all at Dwyl for making this. I was curious if this is susceptible to key commitment vulnerabilities? **Paper**: [https://eprint.iacr.org/2020/1456](https://eprint.iacr.org/2020/1456) **Cryptography.fm...
First of all, thanks for this great tutorial! I learned a lot following along! After going through the code several times, I'm wondering why we would need to explicitly encrypt/decrypt...
Key rotation is mentioned on the Readme on the following parts in the Readme: https://github.com/dwyl/phoenix-ecto-encryption-example#owasp-cryptographic-rules  https://github.com/dwyl/phoenix-ecto-encryption-example#1-create-the-encryption-app  and on the `get_key` function description: https://github.com/dwyl/phoenix-ecto-encryption-example#3-define-the-6-functions  However it wasn't clear...
Firstly, thank you so much for this amazing resource! Onto the issue. When I insert this code: https://github.com/dwyl/phoenix-ecto-encryption-example/blob/6d79f2595045ad74f9692390a39ed37f70a309d3/config/config.exs#L30-L42 and have (double/single) quotes around the values in the `.env` file, the...
@nelsonic This README is AWESOME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! (I know this is not what issues are for but it really is amazing. Thanks so much) I have gone through and made some points,...
I feel that the _best_ way to showcase this example is with some _basic_ User Interface similar to: https://github.com/dwyl/hapi-login-example 📱 👍 But I don't want to make the example _too_...
Submit PR to: https://github.com/sobolevn/awesome-cryptography#elixir once this tutorial has been reviewed and transferred to dwyl ...
Bumps [argon2_elixir](https://github.com/riverrun/argon2_elixir) from 3.2.1 to 4.0.0. Changelog Sourced from argon2_elixir's changelog. v4.0.0 (2023-10-07) Enhancements updated default configuration values in line with RFC9106 v3.2.0 (2023-08-26) Bug fixes fixed Windows build for...
Bumps [ecto_sql](https://github.com/elixir-ecto/ecto_sql) from 3.11.2 to 3.11.3. Changelog Sourced from ecto_sql's changelog. v3.11.3 (2024-06-13) Enhancements [mysql] Relax myxql dependency Commits 258cb16 Release v3.11.3 c5edeb8 Relax myxql dependency (#613) See full diff...