Skip to content

[TASK] Mark secrets as sensitive parameters - #37

Open
sfsmfc wants to merge 1 commit into
developfrom
task/mark-secrets-as-sensitive-parameters
Open

sfsmfc wants to merge 1 commit into
developfrom
task/mark-secrets-as-sensitive-parameters

Conversation

@sfsmfc

@sfsmfc sfsmfc commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Stack traces can show secrets, for example the instance secret or the API key. Add #[\SensitiveParameter] to these parameters.


Stack traces can show secrets, for example the instance secret or the
API key. Add #[\SensitiveParameter] to these parameters.
$this->subject->decrypt($tampered);
}

#[Test]

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Do we need to test PHP functionality?
If so, doing it in one place would not be sufficient, right?
We can remove this.

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