unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#27796: 26.0.50; elpa unsigned file archive-contents
@ 2017-07-23  5:14 Mark Oteiza
  2017-07-24 18:08 ` Glenn Morris
  0 siblings, 1 reply; 13+ messages in thread
From: Mark Oteiza @ 2017-07-23  5:14 UTC (permalink / raw)
  To: 27796


Hi,

1. HOME=/somewhere/else emacs -nw -Q
2. (require 'package)
3. (setq-default package-check-signature t)
4. M-x list-packages

  error in process filter: Unsigned file `archive-contents' at https://elpa.gnu.org/packages/ [2 times]

Repository revision: 640fc129fdf75c86c43ce15b0215d224e240052f





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#27796: 26.0.50; elpa unsigned file archive-contents
  2017-07-23  5:14 bug#27796: 26.0.50; elpa unsigned file archive-contents Mark Oteiza
@ 2017-07-24 18:08 ` Glenn Morris
  2017-07-24 18:25   ` Glenn Morris
                     ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Glenn Morris @ 2017-07-24 18:08 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Mark Oteiza, 27796

Mark Oteiza wrote:

>   error in process filter: Unsigned file `archive-contents' at
> https://elpa.gnu.org/packages/ [2 times]

Looks like http://elpa.gnu.org/packages/archive-contents.sig exists,
but is not a valid signature file?





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#27796: 26.0.50; elpa unsigned file archive-contents
  2017-07-24 18:08 ` Glenn Morris
@ 2017-07-24 18:25   ` Glenn Morris
  2017-07-24 19:24     ` Glenn Morris
  2017-07-25  2:35     ` Mark Oteiza
  2017-07-24 19:51   ` Stefan Monnier
  2020-09-08 14:05   ` Stefan Kangas
  2 siblings, 2 replies; 13+ messages in thread
From: Glenn Morris @ 2017-07-24 18:25 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Mark Oteiza, 27796

Glenn Morris wrote:

> Looks like http://elpa.gnu.org/packages/archive-contents.sig exists,
> but is not a valid signature file?

Sorry, ignore that. It works fine with:

  gpg --homedir ~/.emacs.d/elpa/gnupg --verify archive-contents.sig 

(Albeit with the issue from https://debbugs.gnu.org/25532, which does
not affect the exit status for me, but might depending on the user's gpg
configuration, I guess.)





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#27796: 26.0.50; elpa unsigned file archive-contents
  2017-07-24 18:25   ` Glenn Morris
@ 2017-07-24 19:24     ` Glenn Morris
  2017-07-25  2:24       ` Mark Oteiza
  2017-07-25  2:35     ` Mark Oteiza
  1 sibling, 1 reply; 13+ messages in thread
From: Glenn Morris @ 2017-07-24 19:24 UTC (permalink / raw)
  To: Mark Oteiza, 27796


I feel like sometimes this works for me, and sometimes it doesn't.

It's not helpful that package.el simply prints "unsigned file" for all
such errors, rather than showing the actual problem.





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#27796: 26.0.50; elpa unsigned file archive-contents
  2017-07-24 18:08 ` Glenn Morris
  2017-07-24 18:25   ` Glenn Morris
@ 2017-07-24 19:51   ` Stefan Monnier
  2020-09-08 14:05   ` Stefan Kangas
  2 siblings, 0 replies; 13+ messages in thread
From: Stefan Monnier @ 2017-07-24 19:51 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Mark Oteiza, 27796

>> error in process filter: Unsigned file `archive-contents' at
>> https://elpa.gnu.org/packages/ [2 times]

> Looks like http://elpa.gnu.org/packages/archive-contents.sig exists,
> but is not a valid signature file?

Hmm... works here:

    % gpg --homedir ~/.emacs.d/elpa/gnupg/ archive-contents.sig                 
    gpg: WARNING: no command supplied.  Trying to guess what you mean ...
    gpg: assuming signed data in 'archive-contents'
    gpg: Signature made lun 24 jui 2017 05:10:02 EDT
    gpg:                using DSA key CA442C00F91774F17F59D9B0474F05837FBDEF9B
    gpg: Good signature from "GNU ELPA Signing Agent <elpasign@elpa.gnu.org>" [unknown]
    gpg: WARNING: This key is not certified with a trusted signature!
    gpg:          There is no indication that the signature belongs to the owner.
    Primary key fingerprint: CA44 2C00 F917 74F1 7F59  D9B0 474F 0583 7FBD EF9B
    % 


-- Stefan





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#27796: 26.0.50; elpa unsigned file archive-contents
  2017-07-24 19:24     ` Glenn Morris
@ 2017-07-25  2:24       ` Mark Oteiza
  2017-07-25 18:06         ` Glenn Morris
  0 siblings, 1 reply; 13+ messages in thread
From: Mark Oteiza @ 2017-07-25  2:24 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 27796

On 24/07/17 at 03:24pm, Glenn Morris wrote:
>
>I feel like sometimes this works for me, and sometimes it doesn't.

Same, I idly called M-x list-packages a few times in a row and it
stopped erroring.  Restarted emacs, list-packages started erroring again.

>It's not helpful that package.el simply prints "unsigned file" for all
>such errors, rather than showing the actual problem.





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#27796: 26.0.50; elpa unsigned file archive-contents
  2017-07-24 18:25   ` Glenn Morris
  2017-07-24 19:24     ` Glenn Morris
@ 2017-07-25  2:35     ` Mark Oteiza
  1 sibling, 0 replies; 13+ messages in thread
From: Mark Oteiza @ 2017-07-25  2:35 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Stefan Monnier, 27796

On 24/07/17 at 02:25pm, Glenn Morris wrote:
>Glenn Morris wrote:
>
>> Looks like http://elpa.gnu.org/packages/archive-contents.sig exists,
>> but is not a valid signature file?
>
>Sorry, ignore that. It works fine with:
>
>  gpg --homedir ~/.emacs.d/elpa/gnupg --verify archive-contents.sig
>
>(Albeit with the issue from https://debbugs.gnu.org/25532, which does
>not affect the exit status for me, but might depending on the user's gpg
>configuration, I guess.)

Here, I do get the same warning as in that bug, as well as exit status 0.





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#27796: 26.0.50; elpa unsigned file archive-contents
  2017-07-25  2:24       ` Mark Oteiza
@ 2017-07-25 18:06         ` Glenn Morris
  2017-07-25 18:21           ` Glenn Morris
  0 siblings, 1 reply; 13+ messages in thread
From: Glenn Morris @ 2017-07-25 18:06 UTC (permalink / raw)
  To: Mark Oteiza; +Cc: 27796


After faffing around with debug statements, I think the problem is that
sometimes url-retrieving "https://elpa.gnu.org/packages/archive-contents.sig"
returns
    
    HTTP/1.1 400 Bad Request
    [...]
    Your browser sent a request that this server could not understand.
    Reason: You're speaking plain HTTP to an SSL-enabled server port.
     Instead use the HTTPS scheme to access this URL, please.

I have no idea whether this is a problem in url.el or elpa.gnu.org.





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#27796: 26.0.50; elpa unsigned file archive-contents
  2017-07-25 18:06         ` Glenn Morris
@ 2017-07-25 18:21           ` Glenn Morris
  2017-07-25 22:18             ` Mark Oteiza
  0 siblings, 1 reply; 13+ messages in thread
From: Glenn Morris @ 2017-07-25 18:21 UTC (permalink / raw)
  To: Mark Oteiza; +Cc: 27796


I feel like (setq url-http-attempt-keepalives nil) stops the problem
from happening (as well as speeding things up?).





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#27796: 26.0.50; elpa unsigned file archive-contents
  2017-07-25 18:21           ` Glenn Morris
@ 2017-07-25 22:18             ` Mark Oteiza
  0 siblings, 0 replies; 13+ messages in thread
From: Mark Oteiza @ 2017-07-25 22:18 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Stefan Monnier, 27796

On 25/07/17 at 02:21pm, Glenn Morris wrote:
>I feel like (setq url-http-attempt-keepalives nil) stops the problem
>from happening (as well as speeding things up?).

I see the same effect.

HTTP/1.1 (url-http-version indicates "1.1") doesn't need this header.





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#27796: 26.0.50; elpa unsigned file archive-contents
  2017-07-24 18:08 ` Glenn Morris
  2017-07-24 18:25   ` Glenn Morris
  2017-07-24 19:51   ` Stefan Monnier
@ 2020-09-08 14:05   ` Stefan Kangas
  2020-09-09 16:37     ` Mark Oteiza
  2 siblings, 1 reply; 13+ messages in thread
From: Stefan Kangas @ 2020-09-08 14:05 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Mark Oteiza, Stefan Monnier, 27796

Glenn Morris <rgm@gnu.org> writes:

> Mark Oteiza wrote:
>
>>   error in process filter: Unsigned file `archive-contents' at
>> https://elpa.gnu.org/packages/ [2 times]
>
> Looks like http://elpa.gnu.org/packages/archive-contents.sig exists,
> but is not a valid signature file?

FWIW, I've never seen this.  Is this still an issue?





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#27796: 26.0.50; elpa unsigned file archive-contents
  2020-09-08 14:05   ` Stefan Kangas
@ 2020-09-09 16:37     ` Mark Oteiza
  2022-02-15 10:33       ` Lars Ingebrigtsen
  0 siblings, 1 reply; 13+ messages in thread
From: Mark Oteiza @ 2020-09-09 16:37 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: Glenn Morris, Stefan Monnier, 27796

On 08/09/20 at 02:05pm, Stefan Kangas wrote:
> Glenn Morris <rgm@gnu.org> writes:
> 
> > Mark Oteiza wrote:
> >
> >>   error in process filter: Unsigned file `archive-contents' at
> >> https://elpa.gnu.org/packages/ [2 times]
> >
> > Looks like http://elpa.gnu.org/packages/archive-contents.sig exists,
> > but is not a valid signature file?
> 
> FWIW, I've never seen this.  Is this still an issue?

I haven't been using package archives very much, but I'm currently not
seeing it when listing/updating packages, or running the recipe from the
original report.





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#27796: 26.0.50; elpa unsigned file archive-contents
  2020-09-09 16:37     ` Mark Oteiza
@ 2022-02-15 10:33       ` Lars Ingebrigtsen
  0 siblings, 0 replies; 13+ messages in thread
From: Lars Ingebrigtsen @ 2022-02-15 10:33 UTC (permalink / raw)
  To: Mark Oteiza; +Cc: Glenn Morris, Stefan Kangas, Stefan Monnier, 27796

Mark Oteiza <mvoteiza@udel.edu> writes:

> I haven't been using package archives very much, but I'm currently not
> seeing it when listing/updating packages, or running the recipe from the
> original report.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

It sounds like it was a transitory problem with fetching the .sig file?
In which case I don't think there's much to be done on the Emacs side,
and I'm closing this bug report.  If there's something here that should
be worked on, please respond to the debbugs address and we'll reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-02-15 10:33 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-23  5:14 bug#27796: 26.0.50; elpa unsigned file archive-contents Mark Oteiza
2017-07-24 18:08 ` Glenn Morris
2017-07-24 18:25   ` Glenn Morris
2017-07-24 19:24     ` Glenn Morris
2017-07-25  2:24       ` Mark Oteiza
2017-07-25 18:06         ` Glenn Morris
2017-07-25 18:21           ` Glenn Morris
2017-07-25 22:18             ` Mark Oteiza
2017-07-25  2:35     ` Mark Oteiza
2017-07-24 19:51   ` Stefan Monnier
2020-09-08 14:05   ` Stefan Kangas
2020-09-09 16:37     ` Mark Oteiza
2022-02-15 10:33       ` Lars Ingebrigtsen

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).