NetBSD Problem Report #57990

From www@netbsd.org  Sun Mar  3 03:54:45 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 631421A9239
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  3 Mar 2024 03:54:45 +0000 (UTC)
Message-Id: <20240303035443.D79611A923A@mollari.NetBSD.org>
Date: Sun,  3 Mar 2024 03:54:43 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: sysinst confusingly suggests user name and password for http set download
X-Send-Pr-Version: www-1.0

>Number:         57990
>Category:       install
>Synopsis:       sysinst confusingly suggests user name and password for http set download
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 03 03:55:00 +0000 2024
>Originator:     Taylor R Campbell
>Release:        current (10.99.4)
>Organization:
The NetFTP Foundation
>Environment:
>Description:
I selected HTTP to download sets, and I see:

 The following are the http site, directory, user, and password that will be
 used.  If "user" is "ftp", then the password is not needed.
...
 f: User                                ftp
 g: Password

This is confusing:

- http basic authentication (which is what I assume is done here if you set user/password to anything else) is a pretty obscure thing that is hardly ever used, not likely relevant to anyone hosting sets
- it's confusing for it to be called `ftp' when we're doing http
- in principle it appears there's no way to use http basic authentication with a username of `ftp' and an empty password, i.e., to fetch the URL http://ftp@whatever/... instead of http://whatever/...
>How-To-Repeat:

>Fix:
Yes, please!

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.