xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Initial Version and Version 1 of Ticket #2793, comment 17


Ignore:
Timestamp:
06/05/20 15:22:03 (16 months ago)
Author:
Antoine Martin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2793, comment 17

    initial v1  
    44As per [https://github.com/pyca/cryptography/issues/2691#issuecomment-493672425 this comment]: ''As of cryptography 2.5 we support the buffer protocol for many key inputs (and we have update_into in symmetric cryptography to write into a rw buffer).''
    55
    6 The quick fix would be to call our helper function `memoryviewtobytes`, but this would penalize (adding an extra memory copy every time) all the other distributions that ship with a more recent version of the library.
     6The quick fix would be to call our helper function `memoryview_to_bytes`, but this would penalize (adding an extra memory copy every time) all the other distributions that ship with a more recent version of the library.
    77So I will make a patch and apply it selectively only on the distros that need it.
    88