Error with GCP's KMS with gcloud command line: cryptography.hazmat.primitives.keywrap has no aes_key_wrap_with_padding attribute
I determined that somehow I had varying versions of cryptography installed using pip list
, pip2 list
, and pip3 list
.
Solved by using the commands below. I'm not quite sure were necessary or not, but I'm up and running with gcloud now.
pip3 install --upgrade pip
(upgrade pip3)
pip uninstall cryptography
(and pip2 and pip3)
sudo apt remove cryptography
pip3 install cryptography