Skip to content

Incompatible with Erlang 28.0 #86

@Hermanverschooten

Description

@Hermanverschooten

Erlang OTP 28.0was just released and replaced to the ASN.1 module.

According to the release notes:

Public_key

  • The ancient ASN.1 modules used in public_key has been replaced with more modern versions, but we have strived to keep the documented Erlang API for the public_key application compatible.

This results in a compilation error with the current version of x509:

==> x509
Compiling 24 files (.ex)

== Compilation error in file lib/x509/signature_algorithm.ex ==
** (FunctionClauseError) no function clause matching in X509.ASN1.oid/1
    expanding macro: X509.ASN1.oid/1
    lib/x509/signature_algorithm.ex:47: X509.SignatureAlgorithm.algorithm/2
could not compile dependency :x509, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile x509 --force", update it with "mix deps.update x509" or clean it with "mix deps.clean x509"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions