Skip to content

recent cryptography breakage #197

@guruofgentoo

Description

@guruofgentoo
  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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions