You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Installer not working: Can't check signature: No public key #715
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).
code (@MartinNowak) commented on 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`
code (@MartinNowak) commented on 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`
Can you post the exact error, and the output of cd ~/dlang && gpg --show-keys ./d-keyring.gpg after running the install script? (Assuming you are installing in your home/dlang folder).
Activity
dlangBugzillaToGithub commentedon Aug 7, 2024
code (@MartinNowak) commented on 2024-08-07T16:03:26Z
Due to https://github.com/dlang/dlang.org/pull/3769#issuecomment-2273811808 not signing the updated keyring.dlangBugzillaToGithub commentedon Aug 7, 2024
code (@MartinNowak) commented on 2024-08-07T16:04:41Z
dlangBugzillaToGithub commentedon Sep 25, 2024
code (@MartinNowak) commented on 2024-09-25T15:21:35Z
dlangBugzillaToGithub commentedon Sep 25, 2024
code (@MartinNowak) commented on 2024-09-25T15:23:12Z
robertschulze commentedon Jan 10, 2025
This appears to not be working anymore:
robertschulze commentedon Jan 10, 2025
What I did:
Probably highly insecure but at least it worked...
chenzhekl commentedon Mar 19, 2025
The same problem happened to me. Is D really dead to the point that the official installer is kind of abandoned...
dkorpel commentedon Mar 21, 2025
Can you post the exact error, and the output of
cd ~/dlang && gpg --show-keys ./d-keyring.gpgafter running the install script? (Assuming you are installing in your home/dlang folder).chenzhekl commentedon Mar 25, 2025
Unfortunately, I am no longer using Linux with dlang. This is the error I got on macOS:
dkorpel commentedon Mar 25, 2025
The downloaded keyring looks up to date, but:
That's a problem
https://dev.gnupg.org/T7265
The install scripts needs to find a new way to apply those downloaded keys