Closed
Description
I need to use pysodium.crypto_secretstream_xchacha20poly1305_MESSAGEBYTES_MAX.value
in my code but I found that its value is not quite right.
The libsodium docs say it should be ~256GB and my reading of the libsodium code confirms but pysodium.crypto_secretstream_xchacha20poly1305_MESSAGEBYTES_MAX
and pysodium.crypto_secretstream_xchacha20poly1305_MESSAGEBYTES_MAX.value
both give me ~18.5EB which is a mite bigger than it should be.
I've got libsodium 1.0.18 (debian flavour) and pysodium 0.7.16 (pypi flavour). Another person confirmed with libsodium/pysodium 1.0.19 / 0.7.16 and a third with pysodium 0.7.16.
Metadata
Metadata
Assignees
Labels
No labels