[
https://issues.apache.org/jira/browse/MNG-8733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet updated MNG-8733:
---------------------------------
Description:
Neither {{mvnenc encrypt}} nor {{mvnenc decrypt}} produce any output. Command
just exits with nothing returned. Looks like it succeeds.
When using -X parameter to the command, I can see the output along with the
debug information.
Using mvnenc with mvnsh works correctly.
{code:java}
% mvnenc encrypt
Enter the password to encrypt: ********************************************
% {code}
{code:java}
% mvnenc diag
[INFO] Configuration validation of MavenSecDispatcher: VALID
[INFO] Configuration file present on path
/Users/software/.m2/settings-security4.xml [INFO] Default dispatcher configured
[INFO] Configured default dispatcher configuration is valid
[INFO] Legacy dispatcher present in system
[INFO] Legacy dispatcher is operational; transparent fallback possible
[INFO] Configuration validation of MasterDispatcher: VALID
[INFO] Configured Cipher supported
[INFO] Configured Source configuration valid
[INFO] Configuration validation of EnvMasterSource: VALID
[INFO] Configured environment variable exist
[INFO] Configuration validation of LegacyDispatcher: VALID
[INFO] Legacy configuration found with encrypted master password
[INFO] Legacy master password successfully decrypted
{code}
was:
Neither {{mvnenc encrypt}} nor {{mvnenc decrypt}} produce any output. Command
just exits with nothing returned. Looks like it succeeds.
When using -X parameter to the command, I can see the output along with the
debug information.
Using mvnenc with mvnsh works correctly.
{code:java}
% mvnenc encrypt
Enter the password to encrypt: ********************************************
% {code}
{code:java}
% mvnenc diag
[INFO] Configuration validation of MavenSecDispatcher: VALID [INFO]
Configuration file present on path /Users/software/.m2/settings-security4.xml
[INFO] Default dispatcher configured [INFO] Configured default dispatcher
configuration is valid [INFO] Legacy dispatcher present in system [INFO] Legacy
dispatcher is operational; transparent fallback possible [INFO] Configuration
validation of MasterDispatcher: VALID [INFO] Configured Cipher supported [INFO]
Configured Source configuration valid [INFO] Configuration validation of
EnvMasterSource: VALID [INFO] Configured environment variable exist [INFO]
Configuration validation of LegacyDispatcher: VALID [INFO] Legacy configuration
found with encrypted master password [INFO] Legacy master password successfully
decrypted
{code}
> mvnenc command not producing any output
> ---------------------------------------
>
> Key: MNG-8733
> URL: https://issues.apache.org/jira/browse/MNG-8733
> Project: Maven
> Issue Type: Bug
> Components: Command Line
> Affects Versions: 4.0.0-rc-3
> Environment: Java 21 and 24
> Reporter: Lenny Primak
> Priority: Minor
>
> Neither {{mvnenc encrypt}} nor {{mvnenc decrypt}} produce any output. Command
> just exits with nothing returned. Looks like it succeeds.
> When using -X parameter to the command, I can see the output along with the
> debug information.
> Using mvnenc with mvnsh works correctly.
>
> {code:java}
> % mvnenc encrypt
> Enter the password to encrypt: ********************************************
> % {code}
> {code:java}
> % mvnenc diag
> [INFO] Configuration validation of MavenSecDispatcher: VALID
> [INFO] Configuration file present on path
> /Users/software/.m2/settings-security4.xml [INFO] Default dispatcher
> configured
> [INFO] Configured default dispatcher configuration is valid
> [INFO] Legacy dispatcher present in system
> [INFO] Legacy dispatcher is operational; transparent fallback possible
> [INFO] Configuration validation of MasterDispatcher: VALID
> [INFO] Configured Cipher supported
> [INFO] Configured Source configuration valid
> [INFO] Configuration validation of EnvMasterSource: VALID
> [INFO] Configured environment variable exist
> [INFO] Configuration validation of LegacyDispatcher: VALID
> [INFO] Legacy configuration found with encrypted master password
> [INFO] Legacy master password successfully decrypted
> {code}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)