voltone / x509

Elixir package for working with X.509 certificates, Certificate Signing Requests (CSRs), Certificate Revocation Lists (CRLs) and RSA/ECC key pairs
BSD 3-Clause "New" or "Revised" License
120 stars 28 forks source link

Compile warning in path_validation_test.ex, a file that doesn't exist in repo #79

Open jdewar opened 1 month ago

jdewar commented 1 month ago

I'm running into a baffling warning. I'm mix.locked on 0.8.9, and I keep receiving the below error at compile time

==> x509
Compiling 25 files (.ex)
    warning: Jason.decode!/1 is undefined (module Jason is not available or is yet to be defined)
    │
  7 │     |> Jason.decode!()
    │              ~
    │
    └─ lib/x509/path_validation_test.ex:7:14: X509.PathValidationTest.all_scenarios/0

Generated x509 app

but path_validation_test.ex is not a file in the repo in release-0.8.9. I see the file in my deps/x509 folder after 'mix deps.get' and before I try to compile, so it's not a compile artifact.

This isn't a blocker, but it's messing with my understanding of hex packages / git repos / my own sanity.

I see that the file is added here: https://diff.hex.pm/diff/x509/0.8.8..0.8.9 but I'm not sure how it's not in this GitHub repo.

voltone commented 2 weeks ago

There must have been a stale file leftover from an experimental branch when I packaged the Hex release. Sorry about that! What's stopping you from moving to a later version?

jdewar commented 2 weeks ago

0.8.9 is the latest version on hex.pm

voltone commented 2 weeks ago

0.8.9 is the latest version on hex.pm

🤦‍♂️

I will push 0.8.10 soon. Thanks for the report!