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.


    Keychain issues

    Pythonista
    5
    11
    5106
    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.
    • scj643
      scj643 last edited by

      The keychain module seems to be missing functionality. No way to set a master password, and deleting it doesn't requrie confirmation.

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

        My iPhone brick running Pythonista 1.5 supports keychain.set_master_password. For mysterious reasons, this is not included in Pythonista 2. @omz

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

          Well this is a serious issue since I need a secure way to store passwords

          Webmaster4o 1 Reply Last reply Reply Quote 0
          • Webmaster4o
            Webmaster4o @scj643 last edited by

            @scj643 I'm sure @omz will put it back in.

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

              Would be useful when working with APIs on device

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

                You can still set passwords for individual accounts using set_password. That can be done programmatically too, so you can ask the user for a password once and then secure multiple accounts with it. Of course this is not the same as a master password, but it should at least work.

                1 Reply Last reply Reply Quote 1
                • omz
                  omz last edited by

                  You could also encrypt the passwords yourself, using PyCrypto...

                  1 Reply Last reply Reply Quote 1
                  • scj643
                    scj643 last edited by

                    The keychain also survives an app deletion btw

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

                      Now I understand why I was having a problem to come up with a reasonable class using KeyChain. There was a bit missing 😱
                      But when this is resolved, it would be great if someone could make a wrapper/extended class or lib that simplifies using the keychain for Dropbox app folder/apps/, Github etc...also incorporating Touch ID(https://forum.omz-software.com/topic/2156/share-code-touch-id-authentication-in-pythonista)
                      So some standard templates for some known popular services and a generic template for adhoc passwords/Secrects

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

                        Also it could be used to store data that needs to survive an app reinstall potentially.

                        Phuket2 1 Reply Last reply Reply Quote 1
                        • Phuket2
                          Phuket2 @scj643 last edited by

                          @scj643 , yes. Backup/restore methods to whatever service. Or at least some popular services.

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