Skip to content

sources/saml: Tell IDP to use AES256-GCM by default - #27010

Merged
PeshekDotDev merged 3 commits into
mainfrom
sources/saml-encryption-methods
Oct 22, 2026
Merged

PeshekDotDev merged 3 commits into
mainfrom
sources/saml-encryption-methods

Conversation

@PeshekDotDev

Copy link
Copy Markdown
Contributor

Details

Tells the IDP which encryption algorithm to use, defaulting to AES256-GCM.

What does this PR change?

  • SAML source metadata now gives a list of encryption algorithms for the IDP to use, defaulting to AES256-GCM.

Why is this change needed?

The IDP may use a less secure encryption algorithm unless we tell it which one to use

How was this tested?

Unit tests verifying that the metadata is properly created

Linked issues


Checklist

  • The project has been linted, built, and tested (make all)
  • The documentation has been updated and formatted (make docs)
  • I have read the AI usage policy.

@netlify

netlify Bot commented Oct 19, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 2e9188e
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6ad5ba15b6dbc495ca9475f3
😎 Deploy Preview https://deploy-preview-27010--authentik-docs.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

codecov Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.34%. Comparing base (f6e2acf) to head (69d292e).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #27010      +/-   ##
==========================================
- Coverage   92.38%   92.34%   -0.04%     
==========================================
  Files        1188     1188              
  Lines       80096    80112      +16     
  Branches     4351     4351              
==========================================
- Hits        73993    73978      -15     
- Misses       6037     6068      +31     
  Partials       66       66              
Flag Coverage Δ
conformance 32.30% <11.76%> (-0.01%) ⬇️
e2e 36.98% <11.76%> (-0.01%) ⬇️
integration 28.82% <11.76%> (-0.37%) ⬇️
rust 44.42% <ø> (ø)
unit 94.02% <100.00%> (+<0.01%) ⬆️
unit-migrate 94.02% <100.00%> (+<0.01%) ⬆️

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

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

@github-actions

github-actions Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

Download this run's HTML report and traces, then open the report:

gh run download 39455497566 -D playwright-artifacts
npx playwright show-report playwright-artifacts/playwright-report

Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-69d292ecc3c7dab54515c2215aebe4fb24793900
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-69d292ecc3c7dab54515c2215aebe4fb24793900

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

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Oct 19, 2026
Base automatically changed from providers/saml-encryption-algorithm to main October 20, 2026 16:02
@PeshekDotDev
PeshekDotDev requested a review from a team as a code owner October 20, 2026 16:02
@PeshekDotDev
PeshekDotDev force-pushed the sources/saml-encryption-methods branch from a6698c1 to 69d292e Compare October 20, 2026 16:13
@PeshekDotDev
PeshekDotDev merged commit 46cbb14 into main Oct 22, 2026
147 checks passed
@PeshekDotDev
PeshekDotDev deleted the sources/saml-encryption-methods branch October 22, 2026 20:57
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Oct 22, 2026
kensternberg-authentik added a commit that referenced this pull request Oct 23, 2026
* main:
  website/docs: remove xattr workaround for agent (#27128)
  web/elements: make ak-toggle-group akForm-compatible and form-associated (#27092)
  root: bump ctutils (#27129)
  web/elements: make toggle group usable as input field (#27061)
  sources/ldap: fix password write error message (#27076)
  core, web: update translations (#27123)
  core: bump cachetools from 7.2.3 to 7.2.4 (#27125)
  sources/saml: log response processing errors and show users a generic message (#27012)
  sources/saml: Tell IDP to use AES256-GCM by default (#27010)
  website/docs: fix mention of saml 1.1 assertion support for ws-fed (#27113)
kensternberg-authentik added a commit that referenced this pull request Oct 23, 2026
…r-footer-dependency' into web/elements/sidebar-footer-dependency

* refs/remotes/origin/web/elements/sidebar-footer-dependency:
  Replace aria wayfinders used for testing with Open UI Automation identifiers.
  web/element: Move the SidebarVersion out of Elements.
  .
  .
  The test exists and passes.
  Moving the load of the AdminOverviewPage to the entrypoint. The idea is to have the dashboard as live as possible as early as possible.  Putting into Routes made Routes into a browser-only feature, and it could not be unit tested without this move.
  Formatter opinions.
  That side effect infected downstream tests. Darnit.
  web/admin: Simplify sidebar entries handling
  website/docs: remove xattr workaround for agent (#27128)
  web/elements: make ak-toggle-group akForm-compatible and form-associated (#27092)
  root: bump ctutils (#27129)
  web/elements: make toggle group usable as input field (#27061)
  sources/ldap: fix password write error message (#27076)
  core, web: update translations (#27123)
  core: bump cachetools from 7.2.3 to 7.2.4 (#27125)
  sources/saml: log response processing errors and show users a generic message (#27012)
  sources/saml: Tell IDP to use AES256-GCM by default (#27010)
  website/docs: fix mention of saml 1.1 assertion support for ws-fed (#27113)
kensternberg-authentik added a commit that referenced this pull request Nov 5, 2026
…single-shadowdom-sidebar

* web/elements/sidebar-api-disconnect:
  Replace aria wayfinders used for testing with Open UI Automation identifiers.
  web/element: Move the SidebarVersion out of Elements.
  .
  .
  The test exists and passes.
  Moving the load of the AdminOverviewPage to the entrypoint. The idea is to have the dashboard as live as possible as early as possible.  Putting into Routes made Routes into a browser-only feature, and it could not be unit tested without this move.
  Formatter opinions.
  That side effect infected downstream tests. Darnit.
  web/admin: Simplify sidebar entries handling
  website/docs: remove xattr workaround for agent (#27128)
  web/elements: make ak-toggle-group akForm-compatible and form-associated (#27092)
  root: bump ctutils (#27129)
  web/elements: make toggle group usable as input field (#27061)
  sources/ldap: fix password write error message (#27076)
  core, web: update translations (#27123)
  core: bump cachetools from 7.2.3 to 7.2.4 (#27125)
  sources/saml: log response processing errors and show users a generic message (#27012)
  sources/saml: Tell IDP to use AES256-GCM by default (#27010)
  website/docs: fix mention of saml 1.1 assertion support for ws-fed (#27113)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants