[jboss-jira] [JBoss JIRA] (SECURITY-832) Enable white-space in parameters for external password command
Ivo Studensky (JIRA)
issues at jboss.org
Thu May 22 06:42:57 EDT 2014
[ https://issues.jboss.org/browse/SECURITY-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969663#comment-12969663 ]
Ivo Studensky commented on SECURITY-832:
----------------------------------------
It is targeting EAP 6.4.
PR prepared at:
https://github.com/istudens/picketbox/compare/picketbox:eap62...SECURITY-831?expand=1
> Enable white-space in parameters for external password command
> --------------------------------------------------------------
>
> Key: SECURITY-832
> URL: https://issues.jboss.org/browse/SECURITY-832
> Project: PicketBox
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: JBossSX
> Affects Versions: PicketBox_4_0_19.Final
> Reporter: Ivo Studensky
> Assignee: Peter Skopek
> Fix For: PicketBox_4_0_19.SP6
>
>
> The current implementation of the loading the external password by a command uses Runtime.exec() which denies to pass a parameter which contains a white-space to the command, see {{\{EXT\}}} in org.jboss.security.Util#loadPassword(String).
> It would be nice to provide a new implementation based on ProcessBuilder.
> For example, various ssh-askpass implementations requires a parameter like 'Enter passphrase for ...'. Without the ability to directly pass such a parameter customers are pushed to create a "script in the middle" which makes their application unnecessarily complicated.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the jboss-jira
mailing list