Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recent cryptography breakage #197

Open
guruofgentoo opened this issue Dec 17, 2024 · 0 comments
Open

recent cryptography breakage #197

guruofgentoo opened this issue Dec 17, 2024 · 0 comments

Comments

@guruofgentoo
Copy link
Member

  File "/root/project/keg_elements/crypto.py", line 150, in encrypt_fileobj
    padder = padding.PKCS7(encryptor._ctx._cipher.block_size).padder()
                           ^^^^^^^^^^^^^^
AttributeError: 'cryptography.hazmat.bindings._rust.openssl.ciphers.CipherContext' object has no attribute '_ctx'

Break happens with cryptography 43.0.0 and later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant