Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2026 10:26:49 +0000
From:      Matthias Fechner <mfechner@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5ecd0a67594f - main - www/authelia: enable secret mode to fetch secrets from files
Message-ID:  <6a424869.36378.6f6de972@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by mfechner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5ecd0a67594f3fa9841fdd69aa559ecd0deadab1

commit 5ecd0a67594f3fa9841fdd69aa559ecd0deadab1
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2026-06-06 15:45:46 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2026-06-29 10:26:27 +0000

    www/authelia: enable secret mode to fetch secrets from files
    
    Authelia provides the functionality using go templates so screts must
    not be part of the config file, but can be read from external files.
    
    That makes handling of keys more more convinient, like:
    ```
    identity_providers:
      oidc:
        jwks:
          - key: {{ secret "/usr/local/etc/authelia/private_ecdsa.pem" | mindent 10 "|" | msquote }}
          - key: {{ secret "/usr/local/etc/authelia/private_rsa.pem" | mindent 10 "|" | msquote }}
    ```
    
    Authelia must be started for this with the template filter which that commit
    adds.
    
    PR:             295354
    Approved by:    yuri (maintainer, timeout)
---
 www/authelia/Makefile          | 2 +-
 www/authelia/files/authelia.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/authelia/Makefile b/www/authelia/Makefile
index fe7ac3e31ed1..20a88b2245ca 100644
--- a/www/authelia/Makefile
+++ b/www/authelia/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	authelia
 DISTVERSIONPREFIX=	v
 DISTVERSION=	4.39.20
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 MASTER_SITES=	https://github.com/authelia/authelia/releases/download/v${DISTVERSION}/:public_html
 DISTFILES=	authelia-${DISTVERSIONFULL}-public_html${EXTRACT_SUFX}:public_html # html root directory needs to be built in a special way
diff --git a/www/authelia/files/authelia.in b/www/authelia/files/authelia.in
index a787924f9294..1ae1c1a8ef4c 100644
--- a/www/authelia/files/authelia.in
+++ b/www/authelia/files/authelia.in
@@ -20,6 +20,6 @@ logfile="/var/log/${name}.log"
 
 procname=%%PREFIX%%/bin/authelia
 command="/usr/sbin/daemon"
-command_args="-u %%USER%% -o ${logfile} -t ${name} %%PREFIX%%/bin/authelia --config %%PREFIX%%/etc/authelia.yml"
+command_args="-u %%USER%% -o ${logfile} -t ${name} %%PREFIX%%/bin/authelia --config %%PREFIX%%/etc/authelia.yml --config.experimental.filters template"
 
 run_rc_command "$1"


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a424869.36378.6f6de972>