You have been subscribed to a public bug by Pali (pali): New wget version do not automatically send Basic HTTP authentication information (plaintext username and password) for all requests when specified username and password (old version Wget 1.10.2 and prior did it). In new version of wget was introduced param --auth-no-challenge which switch to old wget behaviour (see man 1 wget). Some apt servers (like server for Maemo 5 N900: https://downloads.maemo.nokia.com) needs to always receive Basic HTTP authentication. So I patched apt-mirror to added support for these servers with new version of wget. Patch adds new config variable auth_no_challenge (with 0 or 1) and apt-mirror exec wget with --auth-no-challenge if config is 1. It also add config variable no_check_certificate which disable checking SSL certificate for https (add wget param --no-check-certificate).
https support without basic http authentication working in apt-mirror without problem (with or without this patch). [Impact] * apt-mirror in precise refuse to mirror apt repository from https server with certificate not trusted by wget * apt-mirror in precise does not working with http/https servers which needs basic http authentification * new version 0.4.8-6 which is in quantal fixing both problems [Test Case] * try to mirror some apt repository with self signed https certificate or which needs to receive basic http authentification * without patch apt-mirror fail * one example is maemo5 repositories, full config file is on: http://wiki.maemo.org/Apt-mirror#mirror.list_for_Maemo_5_Fremantle [Regression Potential] * patch is simple and does not chaning default values and code, so it should not break anything * it is in debian and quantal for a long time and no problem was reported ** Affects: apt-mirror (Ubuntu) Importance: Wishlist Status: Fix Released ** Tags: patch -- [PATCH] https with basic http authentication https://bugs.launchpad.net/bugs/1015131 You received this bug notification because you are a member of Ubuntu Bug Control, which is subscribed to the bug report. _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-bugcontrol Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-bugcontrol More help : https://help.launchpad.net/ListHelp

