omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello โ€” I'm @olemoritz on Twitter.


    Substituting PyCrypto for PyCryptodome

    Pythonista
    4
    6
    4075
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • lachlantula
      lachlantula last edited by lachlantula

      Hi all,
      A while ago Pythonista got the pycrypto module added in, which has been very useful. Unfortunately, though, this module is dead and is starting to gain security holes. PyCryptodome is a drop-in replacement, and all code should be backwards compatible. It also adds extra features and is being regularly updated. Check it out. Would be great if we could see this in Pythonista!
      Thanks

      1 Reply Last reply Reply Quote 0
      • TheRealBret
        TheRealBret last edited by

        Has anyone gotten pycryptodome working? Iโ€™ve installed it manually but it fails on loading.

        1 Reply Last reply Reply Quote 0
        • ccc
          ccc last edited by ccc

          Go to the repo at the โ€œCheck it outโ€ url in the original post and click on the colored bar above the code. The majority of the code is written in C and the minority in Python. Given Appleโ€™s app rules, only OMZ could add this module to Pythonista.

          You could do it with Pyto for iOS but it would be a bit of work.

          1 Reply Last reply Reply Quote 0
          • TheRealBret
            TheRealBret last edited by

            Yes, I figured as much. What we need is a way to cross compile such modules in Xcode then we can load them into pythonista.... or has this been done but Iโ€™ve just missed it?

            1 Reply Last reply Reply Quote 0
            • ccc
              ccc last edited by ccc

              My understanding is that ALL modules in an app need to be staticly linked and signed with the same digital signature.

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User last edited by

                Pycrypto is old. And there are many other old modules, like pep8. And there are many modules to update, like numpy, PIL. And we are still using 3.6.1 and 3.7.4 is coming soon. Just calm down and try pyto.๐Ÿถ๐Ÿถ๐Ÿถ๐Ÿถ๐Ÿถ๐Ÿถ

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Powered by NodeBB Forums | Contributors