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

[AUR] Unauthenticated git protocol not allowed #37

Open
gigaSproule opened this issue May 7, 2022 · 2 comments
Open

[AUR] Unauthenticated git protocol not allowed #37

gigaSproule opened this issue May 7, 2022 · 2 comments

Comments

@gigaSproule
Copy link

When installing with the AUR package, I get an error about the git protocol no longer being supported by GitHub for unauthenticated access, directing me to https://github.blog/2021-09-01-improving-git-protocol-security-github/. By changing the source to git+https://github.com/AlexPoilrouge/NordVPN-connect.git, it fixed it and installed perfectly fine.

Please forgive me if this is the wrong place to be reporting this, but I couldn't see a more appropriate place.

@rsramkis
Copy link

rsramkis commented May 8, 2022

I have also see the same error this morning when I ran yay to update the package.

The error seems to e related to the way Github handles authentication keys:

https://github.blog/2021-09-01-improving-git-protocol-security-github/

We’re changing which keys are supported in SSH and removing unencrypted Git protocol. Specifically we are:

  • Removing support for all DSA keys
  • Adding requirements for newly added RSA keys
  • Removing some legacy SSH algorithms (HMAC-SHA-1 and CBC ciphers)
  • Adding ECDSA and Ed25519 host keys for SSH
  • Turning off the unencrypted Git protocol

Output from running Yay to update from the AUR:

  ❯ yay
  [sudo] password for user:
  :: Synchronizing package databases...
   core is up to date
   extra is up to date
   community is up to date
   multilib is up to date
   endeavouros is up to date
  :: Starting full system upgrade...
   there is nothing to do
  :: Searching databases for updates...
  :: Searching AUR for updates...
  :: 1 Packages to upgrade.
  1  aur/gnome-shell-extension-nordvpn-connect-git  r186.dd03128-1 -> r194.a4cfe2c-1
  ==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
  ==>
  :: Checking for conflicts...
  :: Checking for inner conflicts...
  [Aur:1]  gnome-shell-extension-nordvpn-connect-git-r194.a4cfe2c-1
  
    1 gnome-shell-extension-nordvpn-connect-git (Installed) (Build Files Exist)
  ==> Packages to cleanBuild?
  ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
  ==>
  :: PKGBUILD up to date, Skipping (1/0): gnome-shell-extension-nordvpn-connect-git
    1 gnome-shell-extension-nordvpn-connect-git (Installed) (Build Files Exist)
  ==> Diffs to show?
  ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
  ==>
  :: (1/1) Parsing SRCINFO: gnome-shell-extension-nordvpn-connect-git
  ==> Making package: gnome-shell-extension-nordvpn-connect-git r194.a4cfe2c-1 (Sun 08 May 2022 11:14:42 AM)
  ==> Retrieving sources...
    -> Cloning NordVPN-connect git repo...
  Cloning into bare repository '/home/user/.cache/yay/gnome-shell-extension-nordvpn-connect-git/NordVPN-connect'...
  fatal: remote error:
    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 NordVPN-connect git repo
      Aborting...
   -> error downloading sources: gnome-shell-extension-nordvpn-connect-git
           context: exit status 1
  
  
  ==> Making package: gnome-shell-extension-nordvpn-connect-git r194.a4cfe2c-1 (Sun 08 May 2022 11:14:43 AM)
  ==> Checking runtime dependencies...
  ==> Checking buildtime dependencies...
  ==> Retrieving sources...
    -> Cloning NordVPN-connect git repo...
  Cloning into bare repository '/home/user/.cache/yay/gnome-shell-extension-nordvpn-connect-git/NordVPN-connect'...
  fatal: remote error:
    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 NordVPN-connect git repo
      Aborting...
   -> error making: gnome-shell-extension-nordvpn-connect-git

@AlexPoilrouge
Copy link
Owner

@gigaSproule Thanks for the fix

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

3 participants