Date: Sun, 23 Jul 2023 09:16:46 +0000 From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: maintainer-feedback requested: [Bug 272674] ports-mgmt/pkg 1.20.4 fails to read from a web server using digest authentication with http Message-ID: <bug-272674-32340-VCw2mol2QT@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-272674-32340@https.bugs.freebsd.org/bugzilla/> References: <bug-272674-32340@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-pkg (Nobody) <pkg@FreeBSD.org> for maintainer-feedback: Bug 272674: ports-mgmt/pkg 1.20.4 fails to read from a web server using dig= est authentication with http https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272674 --- Description --- I am running FreeBSD 12.4-RELEASE-p3 and use ports-mgmt/poudriere to create= a package repository. This repository is hosted on a web server accessed by o= ther machines and jails. The web server uses digest authentication to provide b= asic privacy for the contents of that repository (aiming to hide precise software version numbers). ports-mgmt/pkg version 1.19.2 works without issue. Version 1.20.4 fails. Running pkg -d update I can see that version 1.20.4 attempts to fetch from = my web server using basic HTTP authentication but does not use digest authentication in response to the server's 401 reply. My pkg repository configuration: my_poudriere_repo: { url:=09=09=20 "http://redactedusername:redactedpassword@pkg/${VERSION_MAJOR}${VERSION_MIN= OR}$ {ARCH}-default" enabled: true, signature_type: "pubkey" pubkey: "/etc/ssl/keys/my_pkg_repo.pub" mirror_type: "none" } I have attached a redacted version of the output from pkg -d update. I note that pkg began to use libcurl in place of fetch from version 1.20.0. Workarounds: - Lock ports-mgmt/pkg to version 1.19.2 before updating packages by running: # pkg lock ports-mgmt/pkg - Remove digest authentication from webserver, switching to basic or none.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272674-32340-VCw2mol2QT>