[pacman-dev] Adding an expiry time to repo databases

Eli Schwartz eschwartz at archlinux.org
Fri Dec 13 12:59:42 UTC 2019


On 12/13/19 6:39 AM, Allan McRae wrote:
> Hi all,
> 
> I have made a start at adding an expiry time to repo databases.   See
> the three patches here:
> 
> https://patchwork.archlinux.org/bundle/Allan/repo_timestamp/
> 
> My question is, what should we do once a database is determined to be
> expired?  Follow the example of a bad signature, and refuse to load it
> at all?  Just refuse to install anything from it, but still enable
> searching etc?
> 
> Just deciding "bad repo, don't use" will be much easier to implement...
> 
> Comments?

Offering to search a repo that you cannot then use, seems quite
inconsistent. And people who configured a repo timestamp are
implementing the same role as people configuring a gpg signature check
-- they don't consider the repository to be valid or trusted without it,
that repository is probably an MiTM if it cannot be refreshed.

Let's mark it as so bad we don't even want to load it.

-- 
Eli Schwartz
Bug Wrangler and Trusted User

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1601 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20191213/5affb93a/attachment.sig>


More information about the pacman-dev mailing list