Skip to content

Stdlib: ext/sodium AES-GCM, Ed25519 sign, secretstream (#15542, #15541, #15462) - #15577

Merged
PurHur merged 1 commit into
masterfrom
agent/sodium-aead-sign-secretstream
Jul 3, 2026
Merged

PurHur merged 1 commit into
masterfrom
agent/sodium-aead-sign-secretstream

Conversation

@PurHur

@PurHur PurHur commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Summary

PHP-in-PHP: all semantics in ext/sodium/ + VmSodium.php FFI; no new C runtime.

php-src reference: ext/sodium/libsodium.c

Test plan

./script/docker-exec.sh -- php bin/vm.php test/repro/maintainer_gap_sodium_aead_aes256gcm.php
# aead_aes256gcm_ok

./script/docker-exec.sh -- php bin/vm.php test/repro/maintainer_gap_sodium_crypto_sign.php
# sign_ok

./script/docker-exec.sh -- php bin/vm.php test/repro-maintainer/maintainer_gap_sodium_crypto_secretstream.php
# ok

./script/docker-exec.sh -- bash -lc 'source script/php-env.sh && vendor/bin/phpunit --filter "sodium_aead_aes256gcm|sodium_crypto_sign|sodium_crypto_secretstream"'
# OK (6 tests, 6 assertions)

Closes #15542
Closes #15541
Closes #15462

Made with Cursor

…, #15541, #15462)

Implement missing libsodium surfaces in PHP via VmSodium FFI delegation: AES-256-GCM AEAD,
full Ed25519 sign/open/detached family, and secretstream push/pull with by-ref state wiring.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant