unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#72319: ELPA archive download fails with signature error during rebuild
@ 2024-07-27 10:51 Daniel Mendler via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; only message in thread
From: Daniel Mendler via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-07-27 10:51 UTC (permalink / raw)
  To: 72319; +Cc: Stefan Monnier

The ELPA archive download fails during package archive rebuilding. The
rebuilding process on the ELPA server happens twice every day (e.g., in
the morning at 09:00 UTC or 11:00 local time in my time zone). As a
package maintainer I receive mails that new package releases have been
created at that time.

When I execute M-x package-upgrade-all shortly afterwards, approximately
in the time frame from 11:00 to 11:10, I observe the following failures:

Failed to download ‘gnu’ archive.
Failed to download ‘nongnu’ archive.

Failed to verify signature archive-contents.sig:
Bad signature from 645357D2883A0966 GNU ELPA Signing Agent (2023) <elpasign@elpa.gnu.org>
Command output:
gpg: Signature made Fri 26 Jul 2024 11:10:06 AM CEST
gpg:                using EDDSA key 0327BE68D64D9A1A66859F15645357D2883A0966
gpg: BAD signature from "GNU ELPA Signing Agent (2023) <elpasign@elpa.gnu.org>" [unknown]

I've already discussed with Stefan about this problem. The issue seems
to be that the archive-contents file is updated during the archive building
process, while the signature is only updated in the end. Ideally the
update of the archive-contents file should happen a little more
atomically: First build a new archive-contents file, sign it, and then
replace the old files as the final step.





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-07-27 10:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-27 10:51 bug#72319: ELPA archive download fails with signature error during rebuild Daniel Mendler via Bug reports for GNU Emacs, the Swiss army knife of text editors

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).