Skip to content

Prevent masking panic by ignoring zero length secrets

Arran Walker requested to merge 29572-vault-masking-blank-panic into main

What does this MR do?

Ignores zero-length secret masks.

Why was this MR needed?

The masking implementation assumed secrets had a minimum length limit and this was causing a panic.

What's the best way to test this MR?

The updates tests should be sufficient enough to test this.

What are the relevant issue numbers?

Closes #29572 (closed)

Edited by Arran Walker

Merge request reports