Skip to content

[JENKINS-73404] SecretTextArea missing FormValidation support #16477

@jenkins-infra-bot

Description

@jenkins-infra-bot

The Jelly taglib TextArea supports FormValidation Whereas a SecretTextArea does not.

It should be possible to use SecretTextArea with form validation just like Password, or TextArea (or mostly any other form field).

 

Whilst it may sound strange to some that a secret block of text should be validated, this is useful for things like PEM encoded keys where the validation should be able to check that the text is indeed a PEM encoded key, or that it matches a certificate given in another field.


Originally reported by teilo, imported from: SecretTextArea missing FormValidation support
  • assignee: teilo
  • status: Closed
  • priority: Minor
  • component(s): core
  • label(s): 2.462.2-fixed
  • resolution: Fixed
  • resolved: 2024-08-15T14:25:18+00:00
  • votes: 0
  • watchers: 2
  • imported: 2025-11-24
Raw content of original issue

The Jelly taglib TextArea supports FormValidation Whereas a SecretTextArea does not.

It should be possible to use SecretTextArea with form validation just like Password, or TextArea (or mostly any other form field).

 

Whilst it may sound strange to some that a secret block of text should be validated, this is useful for things like PEM encoded keys where the validation should be able to check that the text is indeed a PEM encoded key, or that it matches a certificate given in another field.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions