From nobody Fri Oct 20 11:45:29 2023 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SBjSt18Kfz4xhKZ for ; Fri, 20 Oct 2023 11:45:34 +0000 (UTC) (envelope-from SRS0=FZaK=GC=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SBjSr3SVvz4Z3B; Fri, 20 Oct 2023 11:45:32 +0000 (UTC) (envelope-from SRS0=FZaK=GC=quip.cz=000.fbsd@elsa.codelab.cz) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of "SRS0=FZaK=GC=quip.cz=000.fbsd@elsa.codelab.cz" has no SPF policy when checking 94.124.105.4) smtp.mailfrom="SRS0=FZaK=GC=quip.cz=000.fbsd@elsa.codelab.cz"; dmarc=none Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id A5CCAD788B; Fri, 20 Oct 2023 13:45:30 +0200 (CEST) Received: from [192.168.145.49] (ip-89-177-27-225.bb.vodafone.cz [89.177.27.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id C9B85D7887; Fri, 20 Oct 2023 13:45:29 +0200 (CEST) Message-ID: <1feaa1fd-2997-4ad0-82d8-429f054e91b4@quip.cz> Date: Fri, 20 Oct 2023 11:45:29 +0000 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: mr@FreeBSD.org Subject: security/vaultwarden config.json.sample is not a JSON Content-Language: cs-Cestina, en-US Cc: FreeBSD Ports List From: Miroslav Lachman <000.fbsd@quip.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: / X-Spamd-Result: default: False [-0.88 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; FORGED_SENDER(0.30)[000.fbsd@quip.cz,SRS0=FZaK=GC=quip.cz=000.fbsd@elsa.codelab.cz]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_SHORT(-0.09)[-0.085]; XM_UA_NO_VERSION(0.01)[]; FROM_NEQ_ENVFROM(0.00)[000.fbsd@quip.cz,SRS0=FZaK=GC=quip.cz=000.fbsd@elsa.codelab.cz]; MLMMJ_DEST(0.00)[ports@FreeBSD.org]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_SOME(0.00)[]; DMARC_NA(0.00)[quip.cz]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4SBjSr3SVvz4Z3B Hi, I noticed the change of config file location. It was previously in local/etc/rc.conf.d/vaultwarden (and I still have this file) But according to this https://reviews.freebsd.org/D41602 new install location is local/www/data/config.json.sample so I looked in to this file and it is totally different than local/www/data/config.json. The later is real JSON file, but config.json.sample is not a JSON file at all so why it is named like it? (this is the source of the sample file https://cgit.freebsd.org/ports/tree/security/vaultwarden/files/vaultwarden_conf.in) What is the right way to configure vaultwarden now? Kind regards Miroslav Lachman