X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1D671384D19B
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
 header.from=mail.unckel.net
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=mail.unckel.net
Date: Thu, 21 Jul 2022 16:41:21 +0200 (CEST)
From: Boris Unckel <bu.cygwin@mail.unckel.net>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Message-ID: <918341508.1574163.1658414481397@email.ionos.de>
Subject: Cygwin quiet-mode setup against local Repository authentication issue
MIME-Version: 1.0
X-Priority: 3
Importance: Normal
X-Mailer: Open-Xchange Mailer v7.10.5-Rev44
X-Originating-Client: open-xchange-appsuite
X-Provags-ID: V03:K1:Bmq8YQ6MUq0GiLauex2qCxdzTxI3+Ck/BLGLOSAZz7520OHWkw+
 dvXzF4Ssgm0daq0kJfdH1tWTnnQkXwpHxOnC1WiWekFaemBv27ANk0Wxyv8MvuBrMq5j8jz
 yMWxt7nFjz9aK6Nxj8w5kLgqkae3JD71rt+35Lr1OjDL7a/L/SBUakstQBHgIU6KWwqVSEh
 p8IX2icUuClvDFOkjNLsw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:Is9MQpM5xpU=:R6y0vEMR2E6xLAneV7Kc2s
 jNKGMFWivb59+SCrT6AMkE27ypNFp2gYwidoxtkMKEinaXh1ZFPT5UXY4ipB6pV/9NsCqkX49
 Ziz5XTnY/O/nl31USXHBj5ocET6X48PTlH5YwmPC7UW4AYhNYkYRHgZwHHxQh01SkMl9b7xkl
 KU7q3INV10Hy8VzLh4UiOlsuXonWmftKkVXAQt72oG4+1eM/hubydriFjMKVG1ZQ/Tama+RgO
 lIRs+gCsr9iUU/B7oZFYC4QRZZcy3E+phNilzpFH/hPH8ZzClE/OwCCEhGuSaRF77lioVKUXX
 q5D5IVD2ZBcCbi1Lcu6GgEE5n9cdFEQBnLq0amuATOVGrEBRD/Pkqhg+EslbIBRBYhsswCwm3
 eJhtLADPxGEson9UamRC9gK0pLQm8PdwC2wASsQd/wS5uELk8I9GjFxLUc5nRJX3nHtL9iKUF
 7afMWhvQqT3X+QC2YYkJJeIKDtLiN/tUj7vg3SgB1r9EIJWTocMFucIxSulg1A1jeTlG5f2k8
 j+Epnho4TPpImw8rG7EFyNiDDp9PVAtQCe2LqwiJaPYE2qOh1HB0GcuB0jVRmDQdYSiV+p7e/
 c5GrqBZZpsgG6QdSYjiNxOU9owowAKzGoN58Ddmdd/509G7bto1r0+AuGrmWzCSlQRTGzWHFr
 LwgHyX193Ec/px7PjXCNbgsuBLXnHb5MZ8/UHym/e6zG48C8/0T5S0iMTrRYZtVYS4LqiVgu1
 mTFfSQwHY79jUsrK9N5BhNWKDdNxkW18cMcYgQ==
X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,
 SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 26LEfgjS008328

Dear Cygwin community,

we plan to have Cygwin distributed with our Softwarecenter package distribution. The process shall not require any user interaction. Due to security policies we don’t grant users direct access to the internet. The mandatory proxy blocks binary downloads. For this reason we have established a JFrog Artifactory remote repository for the whole Cygwin distribution. Accessing this repository by browser works without any issues, both with and without login.

Our command is like this (hostname with blanks obfuscated)

setup-x86_64.exe --only-site --site "https:// artifactory .local/ artifactory/cygwin/" --no-shortcuts --no-desktop --quiet-mode --root "C:\customfolder\cygwinx64\cygwin" --arch x86_64 --local-package-dir "C:\ customfolder \cygwinx64\cygwin-packages" --verbose --upgrade-also --categories Base --packages bash-completion,vim,vim-common,vim-doc

It might be due to an artifactory bug but anonymous access to the local repo is not working at the moment. When setup-x86_64.exe downloads the packages it receives a http code 401 and a popup to enter user/password shows up.

What can we do pass user / password for the –site destination without UI and without user interaction?


Kind regards
Boris

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

