dwyl / phoenix-ecto-encryption-example

🔐 A detailed example for how to encrypt data in an Elixir (Phoenix v1.7) App before inserting into a database using Ecto Types
274 stars 20 forks source link

PR: Update `Phoenix` Version + Mention `fields` in `README.md` #36 #47

Closed nelsonic closed 2 years ago

nelsonic commented 2 years ago
nelsonic commented 2 years ago

cascade of failures because of newer Erlang removing :crypto.block_encrypt/4 ... :facepalm:

nelsonic commented 2 years ago

Getting the error:

** (Mix) The task "compile.gettext" could not be found. Did you mean "compile.leex"?

🙄

nelsonic commented 2 years ago

Dang it. Updating this to repo from Phoenix 1.4 to 1.6 is turning into a bigger PR than I would have liked ... 🙄

codecov[bot] commented 2 years ago

Codecov Report

Merging #47 (8e879ec) into main (3f89df2) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #47   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9        11    +2     
  Lines           36        65   +29     
=========================================
+ Hits            36        65   +29     
Impacted Files Coverage Δ
lib/encryption/application.ex 100.00% <ø> (ø)
lib/encryption_web/router.ex 100.00% <ø> (ø)
lib/encryption/aes.ex 100.00% <100.00%> (ø)
lib/encryption/encrypted_field.ex 100.00% <100.00%> (ø)
lib/encryption/user.ex 100.00% <100.00%> (ø)
lib/encryption/hash_field.ex 100.00% <0.00%> (ø)
lib/encryption/password_field.ex 100.00% <0.00%> (ø)
lib/encryption_web/endpoint.ex 100.00% <0.00%> (ø)
lib/encryption/repo.ex 100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 684959b...8e879ec. Read the comment docs.

nelsonic commented 2 years ago

@SimonLab ref #36 + Phoenix update. Thanks! 🙏