Skip to content

feat(crypto): expose getCipherInfo via manifest (#3955)#4068

Merged
proggeramlug merged 1 commit into
mainfrom
cycle48-getcipherinfo
Jun 2, 2026
Merged

feat(crypto): expose getCipherInfo via manifest (#3955)#4068
proggeramlug merged 1 commit into
mainfrom
cycle48-getcipherinfo

Conversation

@proggeramlug
Copy link
Copy Markdown
Contributor

Summary

crypto.getCipherInfo() was rejected by the #463 unimplemented-API gate even though its runtime implementation (js_crypto_get_cipher_info) and native dispatch already existed — the perry-api-manifest was simply missing the row.

This adds the method("crypto", "getCipherInfo", false, None) entry and regenerates the API docs.

Fixes #3955.

Validation

Built -p perry at 0.5.1099 and verified both node-suite fixtures match node --experimental-strip-types byte-for-byte (compiled-to-binary to avoid auto-optimize compile noise):

  • crypto/cipher/get-cipher-info.ts — MATCH (17 lines)
  • crypto/cipher/get-cipher-info-ecb-wrap.ts — MATCH (14 lines)

cargo fmt --all -- --check clean. Docs regenerated via scripts/regen_api_docs.sh (only getCipherInfo added; #3869's readline entries preserved).

Runtime impl (js_crypto_get_cipher_info) and dispatch already existed;
only the perry-api-manifest row was missing, so the #463 unimplemented-API
gate rejected crypto.getCipherInfo(). Add the method() entry and regenerate
API docs.
@proggeramlug proggeramlug force-pushed the cycle48-getcipherinfo branch from bb9666b to 2d19432 Compare June 2, 2026 07:11
@proggeramlug proggeramlug merged commit efa7691 into main Jun 2, 2026
@proggeramlug proggeramlug deleted the cycle48-getcipherinfo branch June 2, 2026 07:11
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.

node:crypto: split #2013 argument-validation parity tail

1 participant