You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that in the end there is a secondary problem that has to do with python 3 (the ModuleNotFoundError: No module named 'commands' error), but I guess that is only triggered by the gcc error above.
The text was updated successfully, but these errors were encountered:
0. Currently the cloudvision-python package pins the lib
`cryptography` to 39.X.Y, as 40.0.X has breaking changes for
our use-case.
1. Also, the package is using the same signing algorithm as of
client/user's certificate. But there is no such a hard requirement.
It can use any acceptable signing algorithm.
2. `cryptography version 40.0.0 onwards, the lib has restricted the
choices of hashing algorithm to be used for signing a CSR
i.e. `CertificateSigningRequestBuilder.sign()` has restricted
the acceptable types of signing algorithm from
`typing.Optional[hashes.HashAlgorithm]` to
`typing.Optional[_AllowedHashTypes]` where `_AllowedHashTypes`
is a subset of `hashes.HashAlgorithm`.
3. The backward incompatible change #2 in `cryptography` along with
the hard requirement as per #1 together blocks the cloudvision-python
package from upgrading the `cryptography` lib.
Thus, this change is required to remove the hard requirement of using
the same signing algorithm as of client/user's certificate. And decided
to use SHA256 as a preferred choice.
Fixes: BUG857524, BUG792700
Change-Id: I9c033f34b6aee7da24871afbeff7e3a3425503a7
Versions:
python3 setup.py install
fails when compiling http_client_filter.cc.Here is the part of the output with the compiler error:
The attached file below includes the whole output of the command:
cloudvision-compile.txt
Note that in the end there is a secondary problem that has to do with python 3 (the
ModuleNotFoundError: No module named 'commands'
error), but I guess that is only triggered by the gcc error above.The text was updated successfully, but these errors were encountered: