Bug 246003 - Tools/Scripts/update-webkitgtk-libs GPG error: "WebKit SDK GPG key expired"
Summary: Tools/Scripts/update-webkitgtk-libs GPG error: "WebKit SDK GPG key expired"
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Other Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-03 21:43 PDT by Simon Lewis
Modified: 2022-11-13 16:01 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Lewis 2022-10-03 21:43:13 PDT
Following the documentation (https://trac.webkit.org/wiki/BuildingGtk) on the latest Ubuntu results in an error message: 

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.1 LTS
Release:	22.04
Codename:	jammy

$ Tools/Scripts/update-webkitgtk-libs
error: Unable to load summary from remote webkit-sdk: Signature made Sun 18 Sep 2022 10:41:54 AM PDT using RSA key ID A9A60744BCE3F878
Can't check signature: public key not found
WebKit SDK GPG key expired, synchronizing with remote
error: GPG: fchown: Operation not permitted

The following command returned a non-zero exit status: flatpak remote-modify --user --gpg-import=/tmp/tmpnyiopw6n webkit-sdk
Output: None
Died at Tools/Scripts/update-webkitgtk-libs line 28.
Comment 1 Philippe Normand 2022-10-04 10:47:50 PDT
> error: GPG: fchown: Operation not permitted

Hmm first time I see this one...

Are you installing the SDK for the first time in that VM?
Comment 2 Simon Lewis 2022-10-04 11:09:26 PDT
Yes. This was on a fresh Ubuntu install.
Comment 3 Simon Lewis 2022-11-13 14:02:17 PST
I tried this in a fresh docker container and got a similar error:

user@0c4087fbcd2e:/webkit/OpenSource$ Tools/Scripts/update-webkitgtk-libs
Downloading setuptools-56.2.0...
Installing setuptools-56.2.0...
Installed setuptools-56.2.0!
Downloading setuptools-scm-5.0.2...
Installing setuptools-scm-5.0.2...
Installed setuptools-scm-5.0.2!
Downloading wheel-0.35.1...
Installing wheel-0.35.1...
Installed wheel-0.35.1!
Downloading six-1.15.0...
Installing six-1.15.0...
Installed six-1.15.0!
Downloading requests-2.24.0...
Installing requests-2.24.0...
Installed requests-2.24.0!
Downloading urllib3-1.25.10...
Installing urllib3-1.25.10...
Installed urllib3-1.25.10!
Downloading chardet-3.0.4...
Installing chardet-3.0.4...
Installed chardet-3.0.4!
Downloading certifi-2020.6.20...
Installing certifi-2020.6.20...
Installed certifi-2020.6.20!
Downloading idna-2.10.0...
Installing idna-2.10.0...
Installed idna-2.10.0!
Downloading PySocks-1.7.1...
Installing PySocks-1.7.1...
Installed PySocks-1.7.1!
Downloading mock-4.0.3...
Installing mock-4.0.3...
Installed mock-4.0.3!
Downloading rapidfuzz-2.11.1...
Installing rapidfuzz-2.11.1...
Installed rapidfuzz-2.11.1!
Downloading xmltodict-0.11.0...
Installing xmltodict-0.11.0...
Installed xmltodict-0.11.0!
Downloading toml-0.10.1...
Installing toml-0.10.1...
Installed toml-0.10.1!
Adding repo webkit-sdk
Adding repo flathub
Ensuring the local Flatpak repository is not corrupted
Working on the user installation at /webkit/OpenSource/WebKitBuild/UserFlatpak
Checking remotes...
Pruning objects
Updating Flatpak environment
Looking for updates…
Nothing to do.
Installing from webkit-sdk org.webkit.Platform aarch64 22.08
Looking for matches…
error: Nothing matches org.webkit.Platform in remote webkit-sdk
The following command returned a non-zero exit status: flatpak install --user --assumeyes webkit-sdk org.webkit.Platform --reinstall 22.08
Output: None
Died at Tools/Scripts/update-webkitgtk-libs line 28.
Comment 4 Simon Lewis 2022-11-13 16:01:14 PST
I read a comment in Slack saying that there isn't an aarch64 SDK. I've just tried this on an x86_64 host and it looks to be progressing..

user@5d12f454a076:/webkit/OpenSource$ Tools/Scripts/update-webkitgtk-libs
Downloading rapidfuzz-2.11.1...
Installing rapidfuzz-2.11.1...
Installed rapidfuzz-2.11.1!
error: Unable to load summary from remote webkit-sdk: Signature made Tue Nov  8 04:38:56 2022 using RSA key ID A9A60744BCE3F878
Can't check signature: public key not found
WebKit SDK GPG key expired, synchronizing with remote
Ensuring the local Flatpak repository is not corrupted
Working on the user installation at /webkit/OpenSource/WebKitBuild/UserFlatpak
Checking remotes...
Pruning objects
Updating Flatpak environment
Looking for updates…
Nothing to do.
Installing from webkit-sdk org.webkit.Platform x86_64 22.08
Looking for matches…


        ID                                   Branch           Op           Remote              Download
 1. [✓] org.webkit.Platform.Locale           22.08            i            webkit-sdk          167.2 MB / 1.4 GB
 2. [\] org.webkit.Platform                  22.08            i            webkit-sdk           68.3 MB / 1.4 GB

Installing 2/2… ███▌                  18%  1.1 MB/s  04:47