You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alex Karasulu (JIRA)" <ji...@codehaus.org> on 2007/05/24 08:16:58 UTC
[jira] Created: (MGPG-9) gpg plugin hangs when it should prompt for
the secret key passphrase hangs
gpg plugin hangs when it should prompt for the secret key passphrase hangs
--------------------------------------------------------------------------
Key: MGPG-9
URL: http://jira.codehaus.org/browse/MGPG-9
Project: Maven 2.x GPG Plugin
Issue Type: Bug
Environment: Maven 2.0.6, JDK 1.5.0_11, Linux 2.6.x
Reporter: Alex Karasulu
When used in conjunction with the release plugin the release:perform command hangs when it should prompt for the secret key passphrase. Interestingly enough when I put the passphrase into the settings.xml file the plugin does not hang. I suspect the prompt is failing to show up.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MGPG-9) gpg plugin hangs when it should prompt for the
secret key passphrase hangs
Posted by "James Shaw (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MGPG-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=292760#comment-292760 ]
James Shaw commented on MGPG-9:
-------------------------------
Yes, see MRELEASE-263
> gpg plugin hangs when it should prompt for the secret key passphrase hangs
> --------------------------------------------------------------------------
>
> Key: MGPG-9
> URL: https://jira.codehaus.org/browse/MGPG-9
> Project: Maven 2.x and 3.x GPG Plugin
> Issue Type: Bug
> Environment: Maven 2.0.6, JDK 1.5.0_11, Linux 2.6.x
> Reporter: Alex Karasulu
> Assignee: Benjamin Bentmann
>
> When used in conjunction with the release plugin the release:perform command hangs when it should prompt for the secret key passphrase. Interestingly enough when I put the passphrase into the settings.xml file the plugin does not hang. I suspect the prompt is failing to show up.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MGPG-9) gpg plugin hangs when it should prompt
for the secret key passphrase hangs
Posted by "Matthias Weßendorf (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MGPG-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=234403#action_234403 ]
Matthias Weßendorf commented on MGPG-9:
---------------------------------------
Looks like we have to use something like
mvn release:perform -Darguments=-Dgpg.passphrase=thephrase
when using gpg plugin w/ release plugin.
Question is: is there a release plugin bug ticket for this annoying issue?
> gpg plugin hangs when it should prompt for the secret key passphrase hangs
> --------------------------------------------------------------------------
>
> Key: MGPG-9
> URL: http://jira.codehaus.org/browse/MGPG-9
> Project: Maven 2.x GPG Plugin
> Issue Type: Bug
> Environment: Maven 2.0.6, JDK 1.5.0_11, Linux 2.6.x
> Reporter: Alex Karasulu
> Assignee: Benjamin Bentmann
>
> When used in conjunction with the release plugin the release:perform command hangs when it should prompt for the secret key passphrase. Interestingly enough when I put the passphrase into the settings.xml file the plugin does not hang. I suspect the prompt is failing to show up.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MGPG-9) gpg plugin hangs when it should prompt
for the secret key passphrase hangs
Posted by "Christophe Lallement (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MGPG-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=185559#action_185559 ]
Christophe Lallement commented on MGPG-9:
-----------------------------------------
Hi,
it's the same thing with mvn:prepare (passprase pass as property) but it seems gpg wait for a pass phrase without prompting.
tested with maven 2.2.0.
> gpg plugin hangs when it should prompt for the secret key passphrase hangs
> --------------------------------------------------------------------------
>
> Key: MGPG-9
> URL: http://jira.codehaus.org/browse/MGPG-9
> Project: Maven 2.x GPG Plugin
> Issue Type: Bug
> Environment: Maven 2.0.6, JDK 1.5.0_11, Linux 2.6.x
> Reporter: Alex Karasulu
>
> When used in conjunction with the release plugin the release:perform command hangs when it should prompt for the secret key passphrase. Interestingly enough when I put the passphrase into the settings.xml file the plugin does not hang. I suspect the prompt is failing to show up.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MGPG-9) gpg plugin hangs when it should prompt
for the secret key passphrase hangs
Posted by "Johan Walles (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MGPG-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=213855#action_213855 ]
Johan Walles commented on MGPG-9:
---------------------------------
MRELEASE-424 has a workaround for this.
Add this to the release plugin configuration:
{noformat}
<mavenExecutorId>forked-path</mavenExecutorId>
{noformat}
> gpg plugin hangs when it should prompt for the secret key passphrase hangs
> --------------------------------------------------------------------------
>
> Key: MGPG-9
> URL: http://jira.codehaus.org/browse/MGPG-9
> Project: Maven 2.x GPG Plugin
> Issue Type: Bug
> Environment: Maven 2.0.6, JDK 1.5.0_11, Linux 2.6.x
> Reporter: Alex Karasulu
>
> When used in conjunction with the release plugin the release:perform command hangs when it should prompt for the secret key passphrase. Interestingly enough when I put the passphrase into the settings.xml file the plugin does not hang. I suspect the prompt is failing to show up.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MGPG-9) gpg plugin hangs when it should prompt for the
secret key passphrase hangs
Posted by "Javier A. Ortiz Bultron (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MGPG-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=307051#comment-307051 ]
Javier A. Ortiz Bultron commented on MGPG-9:
--------------------------------------------
I still can't make it to work. I tried both work arounds and still have the same outcome. Any ideas?
> gpg plugin hangs when it should prompt for the secret key passphrase hangs
> --------------------------------------------------------------------------
>
> Key: MGPG-9
> URL: https://jira.codehaus.org/browse/MGPG-9
> Project: Maven 2.x and 3.x GPG Plugin
> Issue Type: Bug
> Environment: Maven 2.0.6, JDK 1.5.0_11, Linux 2.6.x
> Reporter: Alex Karasulu
> Assignee: Benjamin Bentmann
>
> When used in conjunction with the release plugin the release:perform command hangs when it should prompt for the secret key passphrase. Interestingly enough when I put the passphrase into the settings.xml file the plugin does not hang. I suspect the prompt is failing to show up.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MGPG-9) gpg plugin hangs when it should prompt for the
secret key passphrase hangs
Posted by "Martin Todorov (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MGPG-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=295215#comment-295215 ]
Martin Todorov commented on MGPG-9:
-----------------------------------
Thanks for the workaround! While it does work, I think somebody needs to update the gpg plugin's documentation and add an example or mention that this is messed up due to the release plugin.
@Matthias: mvn release:perform -Darguments=-Dgpg.passphrase=thephrase doesn't seem to always work. I actually used that before, but it started hanging for some reason.
> gpg plugin hangs when it should prompt for the secret key passphrase hangs
> --------------------------------------------------------------------------
>
> Key: MGPG-9
> URL: https://jira.codehaus.org/browse/MGPG-9
> Project: Maven 2.x and 3.x GPG Plugin
> Issue Type: Bug
> Environment: Maven 2.0.6, JDK 1.5.0_11, Linux 2.6.x
> Reporter: Alex Karasulu
> Assignee: Benjamin Bentmann
>
> When used in conjunction with the release plugin the release:perform command hangs when it should prompt for the secret key passphrase. Interestingly enough when I put the passphrase into the settings.xml file the plugin does not hang. I suspect the prompt is failing to show up.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MGPG-9) gpg plugin hangs when it should prompt for the
secret key passphrase hangs
Posted by "Javier A. Ortiz Bultron (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MGPG-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=307051#comment-307051 ]
Javier A. Ortiz Bultron edited comment on MGPG-9 at 8/24/12 3:55 PM:
---------------------------------------------------------------------
I still can't make it to work. I tried both work arounds and still have the same outcome. Any ideas?
When I try it on the command prompt like this:
Z:\NetBeans\output-handler>mvn -Dgpg.passphrase=pass -Prelease-sign-artifacts -Darguments=-Dgpg.passphrase=pass release:clean release:prepare release:perform
It still prompts for the password.
was (Author: javydreamercsw):
I still can't make it to work. I tried both work arounds and still have the same outcome. Any ideas?
> gpg plugin hangs when it should prompt for the secret key passphrase hangs
> --------------------------------------------------------------------------
>
> Key: MGPG-9
> URL: https://jira.codehaus.org/browse/MGPG-9
> Project: Maven 2.x and 3.x GPG Plugin
> Issue Type: Bug
> Environment: Maven 2.0.6, JDK 1.5.0_11, Linux 2.6.x
> Reporter: Alex Karasulu
> Assignee: Benjamin Bentmann
>
> When used in conjunction with the release plugin the release:perform command hangs when it should prompt for the secret key passphrase. Interestingly enough when I put the passphrase into the settings.xml file the plugin does not hang. I suspect the prompt is failing to show up.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MGPG-9) gpg plugin hangs when it should prompt
for the secret key passphrase hangs
Posted by "Christophe Lallement (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MGPG-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=185560#action_185560 ]
Christophe Lallement commented on MGPG-9:
-----------------------------------------
I find a workaround:
it seems that mvn:release fork the maven command and additionnal args are not passed to the new command.
just add this option on commande line:
> mvn -Dgpg.passphrase="xxxxxxx" -Darguments="-Dgpg.passphrase=xxxxxxxxx" release:perform
it works fine for me (same tips for mvn:perform)
Regards
Christophe
> gpg plugin hangs when it should prompt for the secret key passphrase hangs
> --------------------------------------------------------------------------
>
> Key: MGPG-9
> URL: http://jira.codehaus.org/browse/MGPG-9
> Project: Maven 2.x GPG Plugin
> Issue Type: Bug
> Environment: Maven 2.0.6, JDK 1.5.0_11, Linux 2.6.x
> Reporter: Alex Karasulu
>
> When used in conjunction with the release plugin the release:perform command hangs when it should prompt for the secret key passphrase. Interestingly enough when I put the passphrase into the settings.xml file the plugin does not hang. I suspect the prompt is failing to show up.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Issue Comment Edited: (MGPG-9) gpg plugin hangs when it
should prompt for the secret key passphrase hangs
Posted by "Johan Walles (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MGPG-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=213855#action_213855 ]
Johan Walles edited comment on MGPG-9 at 3/14/10 9:24 AM:
----------------------------------------------------------
MRELEASE-424 has a workaround for this that doesn't require you to store your pass phrases in files.
Add this to the release plugin configuration:
{noformat}
<mavenExecutorId>forked-path</mavenExecutorId>
{noformat}
I tried it and it works. Cred to Benjamin Bentmann.
was (Author: walles):
MRELEASE-424 has a workaround for this.
Add this to the release plugin configuration:
{noformat}
<mavenExecutorId>forked-path</mavenExecutorId>
{noformat}
> gpg plugin hangs when it should prompt for the secret key passphrase hangs
> --------------------------------------------------------------------------
>
> Key: MGPG-9
> URL: http://jira.codehaus.org/browse/MGPG-9
> Project: Maven 2.x GPG Plugin
> Issue Type: Bug
> Environment: Maven 2.0.6, JDK 1.5.0_11, Linux 2.6.x
> Reporter: Alex Karasulu
>
> When used in conjunction with the release plugin the release:perform command hangs when it should prompt for the secret key passphrase. Interestingly enough when I put the passphrase into the settings.xml file the plugin does not hang. I suspect the prompt is failing to show up.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MGPG-9) gpg plugin hangs when it should prompt for
the secret key passphrase hangs
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MGPG-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MGPG-9.
--------------------------------
Resolution: Not A Bug
Assignee: Benjamin Bentmann
While surely annoying, this is not an issue in the GPG Plugin itself but the Release Plugin. For the time being, I added some documentation to the GPG Plugin that points out a workaround.
> gpg plugin hangs when it should prompt for the secret key passphrase hangs
> --------------------------------------------------------------------------
>
> Key: MGPG-9
> URL: http://jira.codehaus.org/browse/MGPG-9
> Project: Maven 2.x GPG Plugin
> Issue Type: Bug
> Environment: Maven 2.0.6, JDK 1.5.0_11, Linux 2.6.x
> Reporter: Alex Karasulu
> Assignee: Benjamin Bentmann
>
> When used in conjunction with the release plugin the release:perform command hangs when it should prompt for the secret key passphrase. Interestingly enough when I put the passphrase into the settings.xml file the plugin does not hang. I suspect the prompt is failing to show up.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira