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

Arch keyring package signing key has expired #278

Closed
1 task done
BMurri opened this issue Jun 12, 2023 · 8 comments
Closed
1 task done

Arch keyring package signing key has expired #278

BMurri opened this issue Jun 12, 2023 · 8 comments
Assignees
Labels
Bug This is either an issue that describes a bug or a PR that resolves a bug

Comments

@BMurri
Copy link

BMurri commented Jun 12, 2023

Windows Version

Windows 11

Windows Build Number

22621

WSL Version

WSL 2

Distro Version

ManjaroLinux 23.0.0

WSL Utilities Version

unknown

Describe the bug

The WSL Utilities Package Signing Key <contact@wslutiliti.es> signing key has expired.

Steps to Reproduce

  1. Go to terminal
  2. Type sudo pacman -Syu followed by the Enter key
  3. Type the password requested by sudo
  4. See the following error message x2 followed by the subsequent error message

error: wslutilities: signature from "WSL Utilities Package Signing Key contact@wslutiliti.es" is unknown trust
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))

Expected behavior

updating the packages on my system would succeed.

Additional context

running pacman-key -l produces the following:

pub rsa4096 2021-06-12 [SC] [expired: 2023-06-12]
B9BBB9AFF017C6F638DEF280A2861ABFD897DD37
uid [ expired] WSL Utilities Package Signing Key contact@wslutiliti.es

Code of Conduct

  • I agree to follow this project's Code of Conduct
@BMurri BMurri added the Bug This is either an issue that describes a bug or a PR that resolves a bug label Jun 12, 2023
@dan-m8t
Copy link

dan-m8t commented Jun 12, 2023

As a temporary workaround you can disable the wslutilities repo in /etc/pacman.conf

#[wslutilities]
#Server = https://pkg.wslutiliti.es/arch/

afaik there are not that often updates to packages from that repo, correct me if I am wrong but I need pacman working.

@patrick330602
Copy link
Member

Thanks for the report, I will update it tonight.

@bobby4k
Copy link

bobby4k commented Jun 13, 2023

As temporary

sudo vim /etc/pacman.conf

SigLevel = Never
#LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

@patrick330602
Copy link
Member

The key for the Arch Linux is updated.

You should do the following as root:

pacman-key -d A2861ABFD897DD37

#download the new key
wget https://pkg.wslutiliti.es/public.key
pacman-key --add public.key

#locally sign the new key
pacman-key --lsign-key 2D4C887EB08424F157151C493DD50AA7E055D853

NOTE: This will also affect Debian related builds. I will try to update that tomorrow since it's already 3am in the morning.

@BMurri
Copy link
Author

BMurri commented Jun 14, 2023

@patrick330602 Thank you

@willgladstone
Copy link

Thanks @patrick330602 for getting to this so fast. Will you let us know when the debian builds are updated?

@patrick330602
Copy link
Member

Thanks @patrick330602 for getting to this so fast. Will you let us know when the debian builds are updated?

@willgladstone yep, I will also post updates on Mastodon at https://fosstodon.org/@wslutilities, on Twitter at https://twitter.com/wslutilities and directly on Blog at https://blog.wslutiliti.es

@patrick330602
Copy link
Member

Debian and Kali builds are also updated: https://blog.wslutiliti.es/2023/06/16/key-update/index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is either an issue that describes a bug or a PR that resolves a bug
Projects
None yet
Development

No branches or pull requests

5 participants