Gentoo Archives: gentoo-alt

From: Michael Weiser <michael@×××××××××××××××.net>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] gemato in prefix
Date: Tue, 20 Feb 2018 19:30:42
Message-Id: 20180220192533.GA6178@weiser.dinsnail.net
In Reply to: Re: [gentoo-alt] gemato in prefix by Fabian Groffen
1 Hi Fabian,
2
3 On Fri, Feb 02, 2018 at 09:06:34PM +0100, Fabian Groffen wrote:
4
5 > > does it make sense to look into using gemato for repo verification or is
6 > > there a reason this cannot work currently?
7
8 > It should, but I didn't get around to it.
9
10 I finally got around to trying gemato on my Mac. It sets off fine but
11 immediately fails on sys-apps/Manifest.gz:
12
13 $ gemato verify -K /Users/michael/b/pubring.gpg /usr/local/gentoo/usr/portage/
14 INFO:root:Refreshing keys from keyserver...
15 INFO:root:Keys refreshed.
16 INFO:root:Manifest timestamp: 2018-02-19 17:28:21 UTC
17 INFO:root:Valid OpenPGP signature found:
18 INFO:root:- primary key: 0204A8ABD003E57A9558850DBA08091EC6317B3C
19 INFO:root:- subkey: 0204A8ABD003E57A9558850DBA08091EC6317B3C
20 INFO:root:- timestamp: 2018-02-19 17:28:21 UTC
21 INFO:root:Verifying /usr/local/gentoo/usr/portage/...
22 ERROR:root:Manifest mismatch for sys-apps/Manifest.gz
23 BLAKE2B: expected: 304895d779741fedeaac05df18857d5b0c1afa23220e6e578bd7ddca53f6d4781751881f13c59c361f3a225c7c8290cfa2ae278c779ad4c68a938b9336ebc999, have: e2260c115b7886ac16e74a8c981f3830650c018aa2d1566947b7eee2463eb8c56a5d5be3d30f324b239b3f9899b1781fe6f11c3bfb482bebb8df48e09e15ef43
24 SHA512: expected: 0985d753fcb39735651606c30dbe9335d6d82569ca0e6ac766f268f5fd8d3df40e9f2664c145c752bb9c7c09a06f7766bc9fdb42a37809e62ea6462743bde2c6, have: 9d60081f638b5678780c21f698f0ee56cd4fa4dfe3d89a6c38403a37bd6cd782181fe0368af597d316f110e82c61cc8770346007a2a63dad90b7bac555c277eb
25
26 I can reproduce the discrepancy with sha512sum and b2sum.
27
28 Is it possible that prefix's tree isn't fully rehashed and resigned
29 after changes?
30
31 > Instead I want to use my own
32 > C-based tool, but I also didn't get around to getting it ready.
33
34 Is it available somewhere to try out?
35 --
36 Thanks, Michael

Replies

Subject Author
Re: [gentoo-alt] gemato in prefix Fabian Groffen <grobian@g.o>
Re: [gentoo-alt] gemato in prefix Fabian Groffen <grobian@g.o>