oya
oya copied to clipboard
Oya errors out on importing private packs
Scenario
- Create a private non-RSA key used for GitHub (eg.
ssh-ed25519
) and use that exclusively. - Create a private pack on GitHub
- Try installing it with
oya install
- 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=