]
Jan Kalina updated ELY-1368:
----------------------------
Git Pull Request:
Elytron CommandCredentialSource closes STD_ERR stream without
consuming it
--------------------------------------------------------------------------
Key: ELY-1368
URL:
https://issues.jboss.org/browse/ELY-1368
Project: WildFly Elytron
Issue Type: Bug
Components: Credential Store
Affects Versions: 1.2.0.Beta3
Reporter: Darran Lofthouse
Assignee: Darran Lofthouse
Priority: Critical
Fix For: 1.1.3.Final, 1.2.0.Beta4
External commands used for retrieving Elytron credentials may fail due to closed error
stream.
The {{CommandCredentialSource}} closes STD_ERR stream without consuming it.
Elytron unit test {{CommandCredentialSourceTest}} (which executes an external java
program) hits this issue in some environments. Log contains;
{noformat}
11:30:29,201 TRACE (main) [org.wildfly.security] <CommandCredentialSource.java:114>
Exit code from password command = 141
{noformat}
The issue was investigated in this PR. You can find more details there:
https://github.com/wildfly-security/wildfly-elytron/pull/981