Monday, December 19, 2022

aur - git encryption (arch)

So far, it appears affected: standardnotes-desktop.

I don't know if this will happen again, but could be helpful. Apparently, git recently changed to an authenticated SSL (encrypted) connection. AUR actions which attempt to use an unencrypted git download fail with the following.

The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
==> ERROR: Failure while downloading desktop git repo

One of the reported fixes is to simply change http to https, however this is not possible within AUR actions performed by yay -- yay will make the call to git, without any option for the user to change the URL.

solution

As time goes on, AUR package builders will write calls to "https" instead of "http". For the time being, it's a difficult problem.

No comments: