DEV Community

Kentaro0919
Kentaro0919

Posted on

emacs error Failed to verify signature archive-contents.sig

First time to install emacs.
when I try to run M-x package-refresh-contents

I had the following message.

Failed to verify signature archive-contents.sig:
No public key for 645357D2883A0966 created at 2024-12-12T07:05:06+0900 using EDDSA
Command output:
gpg: Signature made Thu Dec 12 07:05:06 2024 JST
gpg:                using EDDSA key 0327BE68D64D9A1A66859F15645357D2883A0966
gpg: Can't check signature: No public key
Enter fullscreen mode Exit fullscreen mode

after some searching I try this and solved

gpg --homedir ~/.emacs.d/elpa/gnupg --receive-keys 645357D2883A0966
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up