Skip to content

ValueError: Unknown block algorithm #9

Description

@tufelkinder

Attempting to use the smime.encrypt.encrypt() function generates this error when passing in a public key or a cert. Not sure if this is a bug or not, but any suggestions would be much appreciated.

What makes this more confusing is that when I import the blocks.py code and execute get_cipher, it seems to work fine and correctly return a cipher, but when executed from within the encrypt function, this no longer seems to work.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions