镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Please port ncrypto from deprecated HMAC_ apis to EVP_MAC apis #59493

Description

@xnox

deps/ncrypto/ncrypto.cc currently uses HMAC_ apis.

These APIs are widely available in multiple openssl-like implementations.

In OpenSSL however they are deprecated and by-pass provider framework, as well as potentially hardware acceleration.

These APIs will be removed, please consider switching to EVP_MAC APIs instead.

Activity

  1. jasnell commented on Aug 17, 2025

    @jasnell
    Member

    We have to keep in mind that Node.js still has a requirement to support OpenSSL 1.1.1 for the time being. I think we can certainly support the newer APIs but I'm not sure we can completely eliminate the origin HMAC_ apis just yet. It's something I'll investigate tho.

  2. added
    cryptoIssues and PRs related to the crypto subsystem.
    dependenciesPRs that add, update, or configure Node.js dependencies.
    on Aug 17, 2025
  3. self-assigned this
    on Aug 17, 2025
  4. xnox commented on Aug 17, 2025

    @xnox
    Author

    Yeah, that is the common theme - dotnet and python are in the same situation.

  5. xnox commented on Oct 20, 2025

    @xnox
    Author

    I see that KMAC was added with EVPMAC support; thus it is possible there is enough ncrytpo.cc bits to actually implement crypto_hmac.cc with EVPMac

  6. github-actions commented on May 19, 2026

    @github-actions
    Contributor

    This issue has been marked as stale due to 210 days of inactivity.
    It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open.

  7. added
    staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.
    on May 19, 2026
  8. xnox commented on May 19, 2026

    @xnox
    Author

    this is still desired.

    nginx, python, dotnet all moved to support evp mac API in addition to the older HMAC API to gain support for openssl 4.0.

  9. removed
    staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.
    on May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

cryptoIssues and PRs related to the crypto subsystem.dependenciesPRs that add, update, or configure Node.js dependencies.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions