chainguard-dev / go-apk

native go library for installation and management of apk packages
Apache License 2.0
29 stars 28 forks source link

Increase max token size for APK index scan. #246

Closed bricedp closed 4 months ago

bricedp commented 5 months ago

This fixes package resolution for indexes containing lines over 64 KiB.

Please see the related issue for full details:

https://github.com/chainguard-dev/go-apk/issues/245

I've added tests for both changes to prevent regression.

This uses the real-world coq package definition, which at time of writing breaks existing go-apk usage.