EXPKEYSIG debian ubuntu

Fix EXPKEYSIG 1655A0AB68576280

NodeSource Node.js <gpg@nodesource.com> — by NodeSource

Error message
EXPKEYSIG 1655A0AB68576280 NodeSource Node.js <gpg@nodesource.com>

Fix commands for Generic (GnuPG)

Method 1 GnuPG keyserver lookup

Fetches the key from a public keyserver using GnuPG. Works on any distro with gpg installed.

Generic (GnuPG) — bash
$ gpg --keyserver keyserver.ubuntu.com --recv-keys 1655A0AB68576280
$ gpg --list-keys 1655A0AB68576280

Method 2 Direct download

Downloads and imports the key file directly from the vendor.

Generic (GnuPG) — bash
$ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --import

After importing the key

Run sudo apt-get update (or your distro's equivalent) again. If successful you should see Hit: lines with no EXPKEYSIG warnings. Still broken? Check that your /etc/apt/sources.list.d/ entry references the correct [signed-by=…] keyring path.