Files
truecharts/charts/stable/twofauth/values.yaml
T
TrueCharts Bot 5f4d6a3de2 BREAKING CHANGE(twofauth): Update image docker.io/2fauth/2fauth 5.6.1 → 6.0.0 (#43626)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [docker.io/2fauth/2fauth](https://redirect.github.com/Bubka/2FAuth) |
major | `d3cc233` -> `42f19c5` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>Bubka/2FAuth (docker.io/2fauth/2fauth)</summary>

###
[`v6.0.0`](https://redirect.github.com/Bubka/2FAuth/blob/HEAD/changelog.md#600---2025-12-05)

[Compare
Source](https://redirect.github.com/Bubka/2FAuth/compare/v5.6.1...v6.0.0)

2FAuth’s (not so) Major Update is Here!

The project keeps moving forward gently but surely, as it always has.
This major version introduces a lot of changes under the hood, and
although the change log isn't that ridiculous (with a nice addition over
icon packs, see below), there isn’t much to get excited about (Sorry
folks, sharing is not yet available).

I wish I could have released this version earlier, but work has also
kept me pretty busy. I hope the next version will come out faster.

##### A Unified Foundation for Web and Browser Extension

One of the biggest changes in this release is the complete restructuring
of the codebase for both the web app and browser extension. Both
frontends now share a common set of Vue.js components, making them more
consistent and much easier to maintain and evolve. This architectural
shift is why I’ve bumped the version number—it’s a major step forward.

I’ve done my best to avoid regressions, but with changes this extensive
and despite all my tests, there’s always a risk some features might not
behave as expected, even if they were stable before. If you notice
anything amiss, please let me know by opening an issue.

If you are participating in translating 2FAuth, you have probably
received notification about a significant number of new translations.
This is because I changed how translations are organized through files,
there is now only one file per locale. I apologize for the additional
workload this entails, but I couldn't avoid it. Hopefully, thanks to
Crowdin's history feature, restoring your previous translations will be
relatively quick. This is by the way a good opportunity to correct or
complete them.

##### A Fresh Look with Lucide Icons

You’ll notice a subtle refresh to the web app’s interface. Just like the
ones in the browser extension, all icons now come from the
[lucide.dev](https://lucide.dev/) collection. This brings a touch of
freshness and modernity to the application without changing it too much,
as the Lucide collection is quite similar to FontAwesome, which was
previously used.

##### Important notices

> \[!WARNING]
> **Possible `APP_KEY` issue with Docker**\
> For security reasons, the Docker image is no longer built with the
`APP_KEY` environment variable included.
> If you never set your own `APP_KEY` var, i.e. via Docker-Compose or
the Docker run `-e` argument, your 2FAuth instance relies on the former
default value `SomeRandomStringOf32CharsExactly`. Since the environment
variable is no longer set at build time, you may experience a container
startup error, followed by decryption issues or invalid access tokens.
>
> **How to fix**\
> First, set `APP_KEY` with a personal unique value ([How
to](https://docs.2fauth.app/getting-started/config/env-vars/#how-to)).
You can generate one using [Laravel Encryption Key
Generator](https://laravel-encryption-key-generator.vercel.app/).\
> Next, set the `APP_PREVIOUS_KEYS` env var with the former default
value, like so: `APP_PREVIOUS_KEYS=SomeRandomStringOf32CharsExactly`.\
> Finally, restart your container.
>
> **Updating protected data**\
> Setting up `APP_PREVIOUS_KEYS` will not update the encryption of
protected DB records or personal tokens. You will have to disable data
encryption at *Admin Panel > Security*, and enable it back for the new
encryption key to be used. Existing tokens should be revoked.
>
> **Remember to back up your database before making any changes.**

And last but not least:

> \[!WARNING]
> This version drops PHP 8.3 support

***

##### Added

- 2FAuth can now fetch icons from offline icon packs. Visit the new
[Icon documentation page](https://docs.2fauth.app/usage/icons) to learn
how to set them up
([#&#8203;203](https://redirect.github.com/Bubka/2FAuth/issues/203)).
- The sort order of 2FA accounts is saved to user preferences when
changed from the Manage mode. This allows the account list to be
reordered automatically after a new account is registered.
([#&#8203;377](https://redirect.github.com/Bubka/2FAuth/issues/377)).
- Groups can be reordered (manually, from the Group management view)
([#&#8203;419](https://redirect.github.com/Bubka/2FAuth/issues/419)).
- A new filter is available to only show 2FA accounts that do not belong
to any group
([#&#8203;430](https://redirect.github.com/Bubka/2FAuth/issues/430)).
- The Import feature now supports Bitwarden export
([#&#8203;501](https://redirect.github.com/Bubka/2FAuth/issues/501)).

##### New env vars

- `APP_KEY_FILE`: Suffixed version of the `APP_KEY` environment variable
to be used in conjunction with a docker secret
([doc](https://docs.2fauth.app/getting-started/config/env-vars/#app_key_file)).
- `APP_PREVIOUS_KEYS`: Lists all application's former encryption keys to
ensure data decryption after a key rotation
([doc](https://docs.2fauth.app/getting-started/getting-started/config/env-vars/#app_previous_keys)).

##### Changed

- [PR #&#8203;366](https://redirect.github.com/Bubka/2FAuth/pull/366)
Separate env variables to a separate env file for docker compose, thanks
to [@&#8203;sinipelto](https://redirect.github.com/sinipelto)
- Group names now accept single quote
([#&#8203;465](https://redirect.github.com/Bubka/2FAuth/issues/465)).
- Upon logging out, users are now redirected to the last login form they
used: Password, SSO or Webauthn.
([#&#8203;478](https://redirect.github.com/Bubka/2FAuth/issues/478)).
- Catchable errors that occur during the sending of a test email are now
displayed in the UI to help you understand what's going on.

##### Fixed

- [issue
#&#8203;447](https://redirect.github.com/Bubka/2FAuth/issues/447) Unable
to import Google Authenticator.
- [issue
#&#8203;464](https://redirect.github.com/Bubka/2FAuth/issues/464) Import
error not correctly reported in the GUI.
- [issue
#&#8203;481](https://redirect.github.com/Bubka/2FAuth/issues/481)
HASH\_DRIVER not working with argon with OID.
- [issue
#&#8203;495](https://redirect.github.com/Bubka/2FAuth/issues/495)
2FA.directory polluted by selfho.st call.
- [issue
#&#8203;508](https://redirect.github.com/Bubka/2FAuth/issues/508) OpenID
from new browser doesn't work - Email address already exists.
- Remaining loader after 422 response on login request.
- Missing Group selection in the advanced form after a QR code upload.
- Disabling the *Remember active group* user preference could lead to
always returning to the last memorized group

##### API \[1.9.0]

- `/api/v1/icons/packs` GET path added
([doc](https://docs.2fauth.app/resources/rapidoc.html#get-/api/v1/icons/packs)).
- `/api/v1/groups/reorder` POST path added
([doc](https://docs.2fauth.app/resources/rapidoc.html#post-/api/v1/groups/reorder)).
- Add missing `orderedIds` property in `/api/v1/twofaccounts/reorder`
POST response.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4xNy4wIiwidXBkYXRlZEluVmVyIjoiNDIuMTcuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJhcHAvdHdvZmF1dGgiLCJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21ham9yIl19-->
2026-01-15 05:31:06 +01:00

122 lines
3.6 KiB
YAML

image:
repository: docker.io/2fauth/2fauth
pullPolicy: IfNotPresent
tag: 6.0.0@sha256:42f19c534180a0362ce7c04b404b83c677b72f1410744c17d95275df368b8f88
securityContext:
container:
readOnlyRootFilesystem: false
runAsUser: 1000
runAsGroup: 1000
twofauth:
app:
name: 2FAuth
site_owner: mail@example.com
session_lifetime: 120
trusted_proxies: []
mail:
driver: log
host: ""
port: 587
from: ""
user: ""
pass: ""
# TLS | STARTTLS | SSL
encryption: STARTTLS
from_name: 2FAuth
from_address: changeme@example.com
auth:
# web-guard | reverse-proxy-guard
guard: web-guard
# show if guard uses reverse-proxy-guard
proxy_header_for_user: ""
proxy_header_for_email: ""
proxy_logout_url: ""
webauthn:
name: 2FAuth
id: ""
icon: ""
# required | preferred | discouraged
user_verified: preferred
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
path: /infos
readiness:
path: /infos
startup:
type: tcp
env:
# APP
APP_ENV: local
APP_KEY:
secretKeyRef:
name: twofauth-secret
key: APP_KEY
APP_NAME: "{{ .Values.twofauth.app.name }}"
SITE_OWNER: "{{ .Values.twofauth.app.site_owner }}"
APP_URL: "{{ .Values.chartContext.appUrl }}"
SESSION_LIFETIME: "{{ .Values.twofauth.app.session_lifetime }}"
TRUSTED_PROXIES: '{{ join "," .Values.twofauth.app.trusted_proxies }}'
# MAIL
MAIL_DRIVER: "{{ .Values.twofauth.mail.driver }}"
MAIL_HOST: "{{ .Values.twofauth.mail.host }}"
MAIL_PORT: "{{ .Values.twofauth.mail.port }}"
MAIL_FROM: "{{ .Values.twofauth.mail.from }}"
MAIL_USERNAME: "{{ .Values.twofauth.mail.user }}"
MAIL_PASSWORD: "{{ .Values.twofauth.mail.pass }}"
MAIL_ENCRYPTION: "{{ .Values.twofauth.mail.encryption }}"
MAIL_FROM_NAME: "{{ .Values.twofauth.mail.from_name }}"
MAIL_FROM_ADDRESS: "{{ .Values.twofauth.mail.from_address }}"
# AUTH
AUTHENTICATION_GUARD: "{{ .Values.twofauth.auth.guard }}"
AUTH_PROXY_HEADER_FOR_USER: "{{ .Values.twofauth.auth.proxy_header_for_user }}"
AUTH_PROXY_HEADER_FOR_EMAIL: "{{ .Values.twofauth.auth.proxy_header_for_email }}"
PROXY_LOGOUT_URL: "{{ .Values.twofauth.auth.proxy_logout_url }}"
# WebAuthn:
WEBAUTHN_NAME: "{{ .Values.twofauth.webauthn.name }}"
WEBAUTHN_ID: "{{ .Values.twofauth.webauthn.id }}"
# Optional image data in BASE64 (128 bytes maximum) or an image url
WEBAUTHN_ICON: "{{ .Values.twofauth.webauthn.icon }}"
WEBAUTHN_USER_VERIFICATION: "{{ .Values.twofauth.webauthn.user_verified }}"
# Postgres
DB_CONNECTION: pgsql
DB_DATABASE: "{{ .Values.cnpg.main.database }}"
DB_USERNAME: "{{ .Values.cnpg.main.user }}"
DB_PORT: 5432
DB_HOST:
secretKeyRef:
name: cnpg-main-urls
key: host
DB_PASSWORD:
secretKeyRef:
name: cnpg-main-user
key: password
service:
main:
ports:
main:
protocol: http
targetPort: 8000
port: 8000
persistence:
config:
enabled: true
mountPath: /2fauth
varrun:
enabled: false
cnpg:
main:
enabled: true
user: twofauth
database: twofauth