Skip to content

openssl: symmetric, digest, sign/verify, pkey, x509 on the linked OpenSSL #211

Closed

Description

@blacktrs

Priority P0. ext/openssl is 4/64 although every binary already links OpenSSL.

First slice: openssl_encrypt, openssl_decrypt, openssl_cipher_iv_length, openssl_cipher_key_length, openssl_get_cipher_methods, openssl_random_pseudo_bytes, openssl_digest, openssl_get_md_methods, openssl_sign, openssl_verify, openssl_pkey_new, openssl_pkey_get_private, openssl_pkey_export, openssl_x509_parse, openssl_x509_read, openssl_error_string, openssl_pbkdf2, openssl_public_encrypt/private_decrypt (+ reverse).
Second slice: csr_*, pkcs7/pkcs12/cms, spki, dh/derive, seal/open. Classes OpenSSLCertificate, OpenSSLCertificateSigningRequest.

Needed by Laravel Crypt, JWT libraries, Symfony security.

Source: docs/builtins.md (generated audit). Each missing name traps at run time with Call to undefined function. Oracle is Zend: add tests/aot/cases/<name>.php + expected/<name>.out, regenerate docs/builtins.md with php tools/builtins_audit.php. Tier priority: see ROADMAP §2.

Activity

  1. blacktrs commented on Nov 12, 2026

    @blacktrs
    ContributorAuthor

    Verified on main 55e1f1c: 63/64 ext/openssl functions are defined (stdlib + prelude); the only one missing is openssl_free_key, a deprecated no-op. openssl.cnf-driven options stay in #238.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions