64-bit format codes are not available for 32-bit versions of PHP
tuupola opened this issue · comments
Mika Tuupola commented
A recent change causes some issues with 32-bit versions of PHP 7. This affects at least calls to Compat::crypto_aead_xchacha20poly1305_ietf_encrypt()
.
pack(): 64-bit format codes are not available for 32-bit versions of PHP
Code causing the error assumes PHP 7 is always 64bit. For more info see also tuupola/branca-php#2.
Scott commented
That's strange. It should be using Crypto32/Core32 instead of Crypto/Core on 32-bit OSes.
Scott commented
Oh, I see what's happening. I'll get a fix out soon.