Control: reassign -1 python-libnacl 1.5.2-1
Control: retitle -1 python-libnacl test unconditionally uses aes instruction
On Tue, Aug 01, 2017 at 06:23:19PM +0200, Andreas Beckmann wrote:
> Followup-For: Bug #869241
> Control: reassign -1 libsodium18 1.0.12-1
> Control: affects -1 + src:python-libnacl
> Control: retitle -1 'libsodium18: unconditionally uses aes instructions'
>
> Anything beyond the default instruction set may only be used after
> runtime cpu feature detection, and there must be a fallback in case
> the cpu does not support some extension.
>...
libsodium does provide runtime feture detection through
crypto_aead_aes256gcm_is_available(), the bug is that
python-nacl does not use it when calling this code in
a unit test.
> Andreas
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed