tooploox / oya

Using Oya packs containing reusable boilerplate & scripts, you can bootstrap easy to work with, deployable projects
https://oya.sh
MIT License
151 stars 3 forks source link

Oya errors out on importing private packs #93

Open Holek opened 2 years ago

Holek commented 2 years ago

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=