oya icon indicating copy to clipboard operation
oya copied to clipboard

Oya errors out on importing private packs

Open Holek opened this issue 2 years ago • 0 comments

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=

Holek avatar Jun 29 '22 09:06 Holek