Index | Thread | Search

From:
Job Snijders <job@bsd.nl>
Subject:
Re: rpki-client: limit the filename length in Manifest listings to something reasonable
To:
Theo de Raadt <deraadt@openbsd.org>
Cc:
tech@openbsd.org
Date:
Wed, 13 May 2026 14:55:00 +0000

Download raw body.

Thread
On Wed, May 13, 2026 at 08:50:08AM -0600, Theo de Raadt wrote:
> > I think it is helpful to only consider CA material that can fit in
> > USTAR archives and reject exogenous names. If 99 characters isn't
> 
> I believe we were the last ones to update tar to be more modern.
> Didn't everyone else fix it first?
> 
> So is this a real problem?

Funny enough, the 'pax' utility on Debian is not yet modern.

Secondly, for maximum portability, I'd like rpkiviews.org archives to
fit ustar format and just avoid Pax Extended Headers / GNU Extensions
all together if possible.

I also don't see an advantage to permitting extremely long (megabytes)
filename strings and then fail later on when things couldn't fit
the filesystem.

The concept of a length limit seems useful, and the ustar-derived length
limit a good common denominator.

Kind regards,

Job