www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19434] New: "Invalid signature


          Issue ID: 19434
           Summary: "Invalid signature
                    https://dlang.org/d-keyring.gpg.sig" when using
                    install.sh with no ~/.gnupg
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: installer
          Assignee: nobody puremagic.com
          Reporter: dlang-bugzilla thecybershadow.net

Using install.sh fails with the above message on my server.

Un-redirecting gpg's error stream from /dev/null shows:

gpg: Signature made Wed 07 Nov 2018 21:03:27 UTC using RSA key ID 12BB1939
gpg: failed to create temporary file
'/home/user/.gnupg/.#lk0x0000555f88533ca0.k3.1azy.net.30121': No such file or
gpg: Fatal: can't create lock for '/home/user/.gnupg/trustdb.gpg'
Invalid signature https://dlang.org/install.sh.sig

It looks like it needs ~/.gnupg to exist.

Creating the directory allows the installation script to proceed.

Nov 25 2018