From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7083446945700642816 X-Received: by 2002:a05:6512:3056:b0:44a:5117:2b2b with SMTP id b22-20020a056512305600b0044a51172b2bmr5701891lfb.275.1649245953944; Wed, 06 Apr 2022 04:52:33 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:3f16:b0:449:f5bf:6f6a with SMTP id y22-20020a0565123f1600b00449f5bf6f6als540234lfa.2.gmail; Wed, 06 Apr 2022 04:52:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAijuxWq6KLZ536olCyrSeIbtaa/1h1IYEUsdvRM9QI02eGfHBTvngq+MCUhXVUqgZbuSO X-Received: by 2002:ac2:5219:0:b0:44a:a4b5:dabe with SMTP id a25-20020ac25219000000b0044aa4b5dabemr5827382lfl.530.1649245952971; Wed, 06 Apr 2022 04:52:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649245952; cv=none; d=google.com; s=arc-20160816; b=TMAGydU/Y3xFAkeM6L4Mubm5h65arnCqQ02LVLCsnGNT2Hgz3QsLP9vlP3ltNt3wDX hvNwIDbcLkmWg0BYroOHqB+b8n1hJX2V82F3GmGxLYIix0eFy8tkktSklKyaLGyUc76B tc9ukKwZWUIKAovZCmfh+6byUGyBF4G8b071CE5y1qskqHMiVT8LPK4ReYIdmmjcKIOG yfmXeFR2//a1Rns2+X6y7TzYF24odnp38xiHXP4dnd8KYXCPPmAIDZV21OCbkhW3oL2H QsIlQklkRMgsC4LiFgyZNSwzTwFEP6Yc21iudKbQda6fPTR1iF3tn9UgxwOGIVCuPpcw rXxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=sOYb433B86eb0oMsUMJpulfrFCd56sRIA2vhsAOEKB8=; b=mqVPZc0zjUcLtmC6ZigxTF0RiLrtV9Fve/iS/Z52XqclYy8uByAJC5fOzxLIlWPF9c HjT9cD85Zpj9nwCQ4Meb8yq/yoKJofMOcB4T7eBATsYTSNP/i+8UPT0ycYM3tisQCBYI hIkkG4RrUF13hZ1XV8YgJnsEFwe2xW2htczO3M6dD0Qcn+8WW9IpsNq6csjyX7Uubwrx Sttt2hR5rkvwsBgAejwK9LhRaBlO7IKcFJbedoneuG5sN0DDPul9WTZOwPNMT9IZkKee WhO0BCpX2H5Zuvm1Wg3vRShIO0CMznIn6dSj5uQgxKr9ovzRGeaVeDNi0IQUDAx5QzoA Jv/g== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@kilobaser.com header.s=default header.b=2MUPfcoG; spf=pass (google.com: domain of jonas.reindl@kilobaser.com designates 176.123.54.40 as permitted sender) smtp.mailfrom=jonas.reindl@kilobaser.com Return-Path: Received: from s11.telematica.at (s11.telematica.at. [176.123.54.40]) by gmr-mx.google.com with ESMTPS id g36-20020a0565123ba400b0043b67bd2e84si658341lfv.3.2022.04.06.04.52.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Apr 2022 04:52:32 -0700 (PDT) Received-SPF: pass (google.com: domain of jonas.reindl@kilobaser.com designates 176.123.54.40 as permitted sender) client-ip=176.123.54.40; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@kilobaser.com header.s=default header.b=2MUPfcoG; spf=pass (google.com: domain of jonas.reindl@kilobaser.com designates 176.123.54.40 as permitted sender) smtp.mailfrom=jonas.reindl@kilobaser.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kilobaser.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:To:Subject:MIME-Version:Date:Message-ID:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=sOYb433B86eb0oMsUMJpulfrFCd56sRIA2vhsAOEKB8=; b=2MUPfcoGdIZVKceDUUS11HdQKC 1KPjQozpuPIWn4LLk8utGbcrlZ1svRpFPkUbn+HNrz6/bgBIIkOCzzP9ZGSg+2ht2kkJ5T3VWHgwu wuZSV5z8dBKECi/jQigFokse1PD1Cv05kKyIgrgIG6kg6jmVtwT94Zf5vz2y2nCtTDJRD/x61gkxN KVsb2lvowb22GkmmR6VJOkVYAgnlPLQk7PYQWRG64nZpwkIfxS4NVL6RYl+RNEquHKRquRO+cEWFJ epcR6q8x/jzd/2JBXd1pdSPrIQOX5nhPnuWKviu3zDaKQA62FWLuvAWvP8HP+UfMNOIFMLPvltq7h MjJRNlgA==; Received: from [94.198.41.210] (port=41159 helo=[10.23.0.4]) by s11.telematica.at with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1nc4DB-007jlL-Dv for isar-users@googlegroups.com; Wed, 06 Apr 2022 13:52:32 +0200 Message-ID: Date: Wed, 6 Apr 2022 13:52:31 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: APT Repo with authentication Content-Language: en-US To: isar-users@googlegroups.com References: From: Jonas Reindl In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - s11.telematica.at X-AntiAbuse: Original Domain - googlegroups.com X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - kilobaser.com X-Get-Message-Sender-Via: s11.telematica.at: authenticated_id: jonas.reindl@kilobaser.com X-Authenticated-Sender: s11.telematica.at: jonas.reindl@kilobaser.com X-Source: X-Source-Args: X-Source-Dir: X-TUID: u5u4XM6eipkV On 4/6/22 13:43, Baurzhan Ismagulov wrote: > On Wed, Apr 06, 2022 at 01:11:48PM +0200, Jonas Reindl wrote: >> I now have the usecase that I have a apt repo, which uses authentication. >> >> I couldn't find anything, that would make this possible. Are there any >> examples or do I need to add that functionality to >> meta/recipes-core/isar-bootstrap/isar-bootstrap.inc > Does "apt repo which uses authentication" mean http / https auth? I haven't > tried this, not even as an apt user. isar-bootstrap might be a good place to > start depending on what needs to be done; I don't know whether it also ends > there. Yeah, I mean authentication with https. Like https://manpages.debian.org/testing/apt/apt_auth.conf.5.en.html Just realized that also an inline http basic auth should probably work. Still need to test that. Furthermore inline secrets are still a bit complicated to deal with in isar. As far as I could remember at least ubuntu or so had problems with that. > > Please note that we are currently developing upfront Debian package fetching > which touches the related areas: > > https://groups.google.com/g/isar-users/c/LGpLwhOfh-M/m/_xV8O-ncBQAJ Thank you for all the information, > > With kind regards, > Baurzhan. Best regards, Jonas