Skip to content

fix: handle legacy decryption issue (shiro 2.1 upgrade) #670#671

Merged
ymarcon merged 1 commit into
masterfrom
fix/670
Mar 31, 2026
Merged

fix: handle legacy decryption issue (shiro 2.1 upgrade) #670#671
ymarcon merged 1 commit into
masterfrom
fix/670

Conversation

@ymarcon
Copy link
Copy Markdown
Member

@ymarcon ymarcon commented Mar 31, 2026

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes decryption regressions introduced by the Shiro 2.1 upgrade by adding a fallback to the legacy cipher implementation.

Changes:

  • Update ConfigurationService.decrypt() to return decrypted content from the primary Shiro cipher, with fallback to LegacyAesCipherService on failure.

Reviewed changes

Copilot reviewed 1 changed file in this pull request and generated 1 comment.

File Description
agate-core/src/main/java/org/obiba/agate/service/ConfigurationService.java Implements legacy decryption fallback to handle Shiro 2.1 incompatibilities.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread agate-webapp/package-lock.json
@ymarcon ymarcon merged commit 18aa6b1 into master Mar 31, 2026
2 checks passed
@ymarcon ymarcon deleted the fix/670 branch March 31, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants