Bug 24392 – Installer not working: Can't check signature: No public key

Status
NEW
Severity
critical
Priority
P1
Component
installer
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2024-02-13T07:14:12Z
Last change time
2025-01-02T15:47:45Z
Assigned to
No Owner
Creator
Robert
Moved to GitHub: installer#715 →

Comments

Comment #0 by robert — 2024-02-13T07:14:12Z
I cannot install D because the installer is failing right away when trying to verify the install.sh script: robert@fedora:~$ curl -fsS https://dlang.org/install.sh | bash -s dmd Downloading https://dlang.org/d-keyring.gpg ######################################################################## 100.0% Downloading https://dlang.org/install.sh ######################################################################## 100.0% gpg: Signature made Mon 02 Jan 2023 01:47:04 PM CET gpg: using RSA key 30AE2FC45DE4153268ED91754CF5FA5326CC62EB gpg: Can't check signature: No public key Invalid signature https://dlang.org/install.sh.sig I am on Fedora 39 (I know there is an RPM but I still wanted to report this bug).
Comment #1 by code — 2024-08-07T16:03:26Z
Comment #2 by code — 2024-08-07T16:04:41Z
(In reply to Martin Nowak from comment #1) > Due to https://github.com/dlang/dlang.org/pull/3769#issuecomment-2273811808 > not signing the updated keyring. A workaround is to import the updated key manually for now. `gpg --recv-keys E22EC04C82780970381402F4A7D4D42F8EC6A355`
Comment #3 by code — 2024-09-25T15:21:35Z
More specifically, the keyring was updated by now, but it wasn't signed with any of the existing keys, hence `install.sh update` might fail verifying the new d-keyring. Maybe we should skip that verification step to not complicate bootstrapping that much. > A workaround is to import the updated key manually for now. > `gpg --recv-keys E22EC04C82780970381402F4A7D4D42F8EC6A355` Actually that should update the dlang keyring, not the default one. `gpg --keyring ~/dlang/d-keyring.gpg --no-default-keyring --recv-keys E22EC04C82780970381402F4A7D4D42F8EC6A355`
Comment #4 by code — 2024-09-25T15:23:12Z
*** Issue 24767 has been marked as a duplicate of this issue. ***
Comment #5 by robert.schadek — 2025-01-02T15:47:45Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/installer/issues/715 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB