Skip to content

Should the Crypto stubs be for pycrypto or pycryptodome? #2952

Closed
@JelleZijlstra

Description

@JelleZijlstra

We currently have a set of stubs in third_party/2and3/Crypto for a library called pycrypto However, pycrypto was apparently abandoned (the last release was in 2013), and a new library called pycryptodome replaces it. This library also uses the "Crypto" name when imported. It started as a fork but has added new features since then.

Should we update the stubs to cover pycryptodome instead of pycrypto?

I'm not sure how widely used pycryptodome is. I ran into this because I was trying to typecheck some code using "Crypto" that turned out to be using pycryptodome, not pycrypto.

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