Skip to content

[28.x] Add [NonDebuggable] to Cryptography Management encrypt/decrypt procedures#9304

Open
PooyaKharamesh wants to merge 1 commit into
releases/28.xfrom
fix/cryptography-nondebuggable-28.x
Open

[28.x] Add [NonDebuggable] to Cryptography Management encrypt/decrypt procedures#9304
PooyaKharamesh wants to merge 1 commit into
releases/28.xfrom
fix/cryptography-nondebuggable-28.x

Conversation

@PooyaKharamesh

@PooyaKharamesh PooyaKharamesh commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Backport of #9291 to releases/28.x.

The EncryptText/Encrypt and Decrypt procedures in the Cryptography Management system app (codeunit 1266 / codeunit 1279) lacked the [NonDebuggable] flag. Because both take/return plain Text (not SecretText), cleartext input and decrypted output could be extracted with an attached debugger. This backport adds [NonDebuggable] to all four procedures.

MSRC/Autoclave assessed the original issue as P1.

Fix

Added [NonDebuggable] to:

  • CryptographyManagement.Codeunit.al (1266): EncryptText, Decrypt
  • CryptographyManagementImpl.Codeunit.al (1279): Encrypt, Decrypt

Cherry-picked cleanly from main (PR #9291).

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

Fixes AB#642029

…ures

The EncryptText/Encrypt and Decrypt procedures in the Cryptography
Management system app (codeunit 1266) and its implementation
(codeunit 1279) lacked the [NonDebuggable] flag. This allowed cleartext
input and return values to be extracted with a debugger, compromising
the confidentiality of encrypted and decrypted data.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@PooyaKharamesh
PooyaKharamesh requested a review from a team July 10, 2026 07:41
@PooyaKharamesh
PooyaKharamesh requested a review from a team as a code owner July 10, 2026 07:41
@djukicmilica djukicmilica added the Linked Issue is linked to a Azure Boards work item label Jul 10, 2026
@github-actions github-actions Bot added this to the Version 28.4 milestone Jul 10, 2026
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Stale Status Check Deleted

The Pull Request Build workflow run for this PR was older than 72 hours and has been deleted.

📋 Why was it deleted?

Status checks that are too old may no longer reflect the current state of the target branch. To ensure this PR is validated against the latest code and passes up-to-date checks, a fresh build is required.


🔄 How to trigger a new status check:

  1. 📤 Push a new commit to the PR branch, or
  2. 🔁 Close and reopen the PR

This will automatically trigger a new Pull Request Build workflow run.

@JesperSchulz JesperSchulz added the Integration GitHub request for Integration area label Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: System Application Integration GitHub request for Integration area Linked Issue is linked to a Azure Boards work item

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants