Skip to content

outposts: fix docker_tls created files permission (cherry-pick #19978 to version-2025.12)#19993

Merged
BeryJu merged 1 commit intoversion-2025.12from
cherry-pick/19978-to-version-2025.12
Feb 4, 2026
Merged

outposts: fix docker_tls created files permission (cherry-pick #19978 to version-2025.12)#19993
BeryJu merged 1 commit intoversion-2025.12from
cherry-pick/19978-to-version-2025.12

Conversation

@authentik-automation
Copy link
Contributor

Cherry-pick of #19978 to version-2025.12 branch.

Original PR: #19978
Original Author: @kolega-ai-dev
Cherry-picked commit: 1e35482

* security: use restrictive file permissions for TLS certificate files

The write_file() method used plain open() without specifying permissions,
creating files with the default umask (typically 0o644). This made private
keys readable by other users. Added an opener parameter with 0o600 mode
to ensure sensitive cryptographic material is only accessible by the owner.

* reuse

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* revert import change

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: kolega.dev <faizan@kolega.ai>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
@netlify
Copy link

netlify bot commented Feb 3, 2026

Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 701aaba
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/698277bf66556700087f9f14
😎 Deploy Preview https://deploy-preview-19993--authentik-integrations.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov
Copy link

codecov bot commented Feb 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.27%. Comparing base (1599651) to head (701aaba).
⚠️ Report is 1 commits behind head on version-2025.12.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@               Coverage Diff                @@
##           version-2025.12   #19993   +/-   ##
================================================
  Coverage            93.27%   93.27%           
================================================
  Files                  947      947           
  Lines                52550    52551    +1     
================================================
+ Hits                 49014    49016    +2     
+ Misses                3536     3535    -1     
Flag Coverage Δ
e2e 44.39% <50.00%> (+<0.01%) ⬆️
integration 23.54% <100.00%> (+<0.01%) ⬆️
unit 91.57% <50.00%> (+<0.01%) ⬆️
unit-migrate 91.61% <50.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2026

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-701aabac32910645910e6fe20dabb3e5425c301f
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-701aabac32910645910e6fe20dabb3e5425c301f

Afterwards, run the upgrade commands from the latest release notes.

@BeryJu BeryJu merged commit c023ed8 into version-2025.12 Feb 4, 2026
91 checks passed
@BeryJu BeryJu deleted the cherry-pick/19978-to-version-2025.12 branch February 4, 2026 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants