pharo-vcs / iceberg

Iceberg is the main toolset for handling VCS in Pharo.
MIT License
134 stars 85 forks source link

Iceberg authentication Error in MacOS Mojave #1311

Open shipelectronic opened 5 years ago

shipelectronic commented 5 years ago

Hello everyone,

I tried to clone my repository in github using iceberg in Pharo 7 64-bit. Steps have done:

  1. Create ssh key
  2. Add ssh key to GitHub account
  3. Already done with ssh-add -k ~/.ssh/id_rsa
  4. Already set the Use custom SSH keys and set my public and private key location.

When I tried to clone, I got an "Iceberg Authentication Error". image

Also tried https but also having this error: image

Hopefully, someone can help us with this issue.

Best Regards, Lester

sebastianconcept commented 4 years ago

Same experience from macOS Catalina in a Bitbucket repo. That Bitbucket repo is private and has the generated public key added and verified using ssh -T git@bitbucket.org from the terminal. All went as expected from the git terminal client, the issue with Iceberg remains for some reason.

rjriv commented 3 years ago

I am also having the same macOS Catalina 10.15.7 issue in P8 (stable) with a GitLab repository that I can clone from the Terminal.

SKewLinez commented 3 years ago

Facing the same authentication error when pushing changes to the remote repo from macOS Big Sur 11.15.2 in P9 (stable).

YvanGuifo commented 3 years ago
  1. Generate a token https://catalyst.zoho.com/help/tutorials/githubbot/generate-access-token.html
  2. After generating the token, a) Go to Iceberg in Pharo b) Click on settings c) Then on Credentials, click on the Edit button of the Current list of credentials option. Then click on Add a new token credential and enter your Username, Host: github.com and the generated token. d) Finally save your new configurations.

Note: Do not forget to check the option Use custom SSH keys. This assumes that you have the necessary SSH configurations beforehand.

Ducasse commented 2 years ago

I think that the use custime SSH keys is something specific for windows. Note that you can also add your token in your preference file.