Skip to content

Conversation

@pierre-lehnen-rc
Copy link
Contributor

@pierre-lehnen-rc pierre-lehnen-rc commented May 20, 2025

Proposed changes (including videos or screenshots)

Previously our SAML implementation could only sign requests using the SHA1 algorithm. This PR adds a new setting to choose between SHA1, SHA256, SHA384 and SHA512.

This setting only affects the signing of documents sent from Rocket.Chat to the IdP. It doesn't affect encryption nor the signatures of documents received from the IdP.

Issue(s)

CORE-1148

Steps to test or reproduce

Further comments

@pierre-lehnen-rc pierre-lehnen-rc added this to the 7.8.0 milestone May 20, 2025
@dionisio-bot
Copy link
Contributor

dionisio-bot bot commented May 20, 2025

Looks like this PR is ready to merge! 🎉
If you have any trouble, please check the PR guidelines

@changeset-bot
Copy link

changeset-bot bot commented May 20, 2025

🦋 Changeset detected

Latest commit: 6667c47

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 37 packages
Name Type
@rocket.chat/core-typings Minor
@rocket.chat/i18n Minor
@rocket.chat/meteor Minor
@rocket.chat/uikit-playground Patch
@rocket.chat/api-client Patch
@rocket.chat/apps Patch
@rocket.chat/core-services Patch
@rocket.chat/cron Patch
@rocket.chat/ddp-client Patch
@rocket.chat/freeswitch Patch
@rocket.chat/fuselage-ui-kit Major
@rocket.chat/gazzodown Major
@rocket.chat/livechat Patch
@rocket.chat/model-typings Patch
@rocket.chat/rest-typings Minor
@rocket.chat/ui-contexts Major
@rocket.chat/account-service Patch
@rocket.chat/authorization-service Patch
@rocket.chat/ddp-streamer Patch
@rocket.chat/omnichannel-transcript Patch
@rocket.chat/presence-service Patch
@rocket.chat/queue-worker Patch
@rocket.chat/stream-hub-service Patch
@rocket.chat/license Patch
@rocket.chat/omnichannel-services Patch
@rocket.chat/pdf-worker Patch
@rocket.chat/presence Patch
rocketchat-services Patch
@rocket.chat/mock-providers Patch
@rocket.chat/web-ui-registration Major
@rocket.chat/network-broker Patch
@rocket.chat/models Patch
@rocket.chat/ui-avatar Major
@rocket.chat/ui-client Major
@rocket.chat/ui-video-conf Major
@rocket.chat/ui-voip Major
@rocket.chat/instance-status Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pierre-lehnen-rc pierre-lehnen-rc marked this pull request as ready for review May 20, 2025 17:59
@pierre-lehnen-rc pierre-lehnen-rc requested review from a team as code owners May 20, 2025 17:59
@pierre-lehnen-rc pierre-lehnen-rc added the stat: QA assured Means it has been tested and approved by a company insider label May 20, 2025
@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label May 20, 2025
@github-actions
Copy link
Contributor

github-actions bot commented May 20, 2025

PR Preview Action v1.6.1

🚀 View preview at
https://RocketChat.github.io/Rocket.Chat/pr-preview/pr-36037/

Built to branch gh-pages at 2025-06-10 13:42 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@codecov
Copy link

codecov bot commented May 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.54%. Comparing base (1eb53d2) to head (6667c47).
Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #36037      +/-   ##
===========================================
+ Coverage    64.52%   64.54%   +0.01%     
===========================================
  Files         3128     3129       +1     
  Lines        98325    98332       +7     
  Branches     18648    18653       +5     
===========================================
+ Hits         63448    63466      +18     
+ Misses       32055    32045      -10     
+ Partials      2822     2821       -1     
Flag Coverage Δ
e2e 57.32% <ø> (+0.02%) ⬆️
unit 69.95% <ø> (ø)

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pierre-lehnen-rc pierre-lehnen-rc requested a review from a team as a code owner May 20, 2025 19:04
@dougfabris
Copy link
Member

@pierre-lehnen-rc updating the branch to get the commit that fixes the flaky test

Copy link
Contributor

@MarcosSpessatto MarcosSpessatto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a description to the PR.

@kodiakhq kodiakhq bot merged commit 3d024a9 into develop Jun 10, 2025
49 checks passed
@kodiakhq kodiakhq bot deleted the feat/saml-signature-algorithm branch June 10, 2025 14:27
This was referenced Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stat: QA assured Means it has been tested and approved by a company insider stat: ready to merge PR tested and approved waiting for merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants