Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declare Poison as an optional dependency #144

Merged

Conversation

lnikkila
Copy link
Contributor

Related to #98.

Poison is optionally depended on by JOSE.Poison, which is conditionally compiled in. Mix should know that this dependency exists, so that Poison is compiled first, and available during JOSE's compilation when used.

Since Poison is very heavily depended on, I picked the last few major versions to avoid dependency hell when pulling in other libraries that might still depend on an older version. It seems to me that all of these should be compatible with JOSE.Poison, as I only see it depend on Poison.EncodeError which has been around for a long time.

Poison is optionally depended on by JOSE.Poison, which is conditionally
compiled in. Mix should know that this dependency exists, so that Poison
is compiled first, and available during JOSE's compilation when used.
@potatosalad
Copy link
Owner

@lnikkila Thanks!

@potatosalad potatosalad merged commit bc79e44 into potatosalad:main Dec 7, 2023
potatosalad added a commit that referenced this pull request Apr 7, 2024
* Security Patches
  * [CVE-2023-50966](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-50966): Add `jose:pbes2_count_maximum/0`.  By default, the maximum iterations are set to 10,000 and it will raise an error if `p2c` is larger than this value.
* Changes
  * Declare Poison as an optional dependency, thanks to [@lnikkila][https://github.com/lnikkila]; see [#144](#144).
  * Ensure `jiffy:encode/1` returns a binary, thanks to [@ssepml](https://github.com/ssepml); see [#145](#145).
  * Various type spec additions and dialyzer/dialyxir integrations, thanks to [@whatyouhide](https://github.com/whatyouhide) and [@maennchen](https://github.com/maennchen).
  * Doc updates and fixes, thanks to [@aymanosman](https://github.com/aymanosman) and [@adamu](https://github.com/adamu); see [#158](#158) and [#159](#159).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants