Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oya errors out on importing private packs #93

Open
Holek opened this issue Jun 29, 2022 · 0 comments
Open

Oya errors out on importing private packs #93

Holek opened this issue Jun 29, 2022 · 0 comments

Comments

@Holek
Copy link
Contributor

Holek commented Jun 29, 2022

Scenario

  1. Create a private non-RSA key used for GitHub (eg. ssh-ed25519) and use that exclusively.
  2. Create a private pack on GitHub
  3. Try installing it with oya install
  4. Receive "no known hosts" error from Oya

Culprit

This issue has something to do with https://github.com/go-git/go-git/tree/master

Adding this line to KNOWN_HOSTS_FILE fixes the issue.

github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant