Submodules can't be interacted with because user/password can't be retrieved

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Highest
    • None
    • Affects Version/s: 2.6
    • Component/s: None
    • Severity 1 - Critical

      I have my Github account configured in SourceTree via SSH.

      I have a project with several submodules and every single time that I try to checkout new branches/pull/push submodules I have authentication errors.

      I'm prompted with the authentication window attached and tried inputting both my github username and email with both a generated Github's personal access token and with my SSH public key and I always have errors!

      I have to fallback and do it via terminal but that's really a pain and a break in my workflow

      One example of an error log that I can get from source tree's output when trying to checkout a new branch with changes in a submodule commit pointer is:

      git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree submodule update --init --recursive 2017-08-10 
      12:18:11.670 SourceTreeLogin[79466:15546243] Encryption password is nil. Cannot save. User cancelled password prompt.Permission denied (publickey). fatal: Could not read from remote repository. 
      Please make sure you have the correct access rights and the repository exists. Unable to fetch in submodule path '(...)'
      

       

      I believe that, if the SSH account is configured in SourceTree, that should be propagated to every action that I do within it, doesn't matter if it's in a "main module", submodule, whatever.

        1. Screen Shot 2017-08-10 at 12.17.50.png
          Screen Shot 2017-08-10 at 12.17.50.png
          26 kB
        2. C2090-610.pdf
          510 kB
        3. CCA175.pdf
          510 kB
        4. CFA-Level-II.pdf
          510 kB
        5. CAU301.pdf
          510 kB
        6. CFA-Level-III.pdf
          510 kB
        7. HP2-H67.pdf
          510 kB
        8. P2090-047.pdf
          510 kB
        9. H11-861.pdf
          510 kB
        10. NSE8_810.pdf
          510 kB
        11. P2090-050.pdf
          510 kB
        12. H13-522.pdf
          510 kB
        13. P2090-054.pdf
          510 kB
        14. H31-311.pdf
          510 kB
        15. 4A0-C01.pdf
          510 kB
        16. PEGACPBA73V1.pdf
          510 kB
        17. 1Z0-933.pdf
          510 kB
        18. PEGACPBA72V1.pdf
          510 kB
        19. PEGACRSA80V1.pdf
          510 kB
        20. 7141X.pdf
          510 kB
        21. 1z0-322.pdf
          510 kB
        22. C_TBW60_74.pdf
          510 kB
        23. 1Z0-980.pdf
          510 kB
        24. AND-801.pdf
          510 kB
        25. C2010-506.pdf
          510 kB
        26. C2020-003.pdf
          510 kB
        27. 156-115.80.pdf
          510 kB
        28. HCE-3700.pdf
          510 kB
        29. C_HANATEC_15.pdf
          510 kB

              Assignee:
              Unassigned
              Reporter:
              Pedro Santos
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: