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)

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay