You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (Created) (JIRA)" <ji...@apache.org> on 2012/03/19 14:43:38 UTC
[jira] [Created] (LUCENE-3882) maven-metadata.xml's are only hashed
but not signed
maven-metadata.xml's are only hashed but not signed
---------------------------------------------------
Key: LUCENE-3882
URL: https://issues.apache.org/jira/browse/LUCENE-3882
Project: Lucene - Java
Issue Type: Bug
Components: general/build
Reporter: Robert Muir
Fix For: 3.6, 4.0
we only produce .sha/.md5 for these files, but not .asc
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (LUCENE-3882) maven-metadata.xml's are only hashed
but not signed
Posted by "Robert Muir (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir updated LUCENE-3882:
--------------------------------
Attachment: LUCENE-3882.patch
patch against branch_3x, just adds **/*.xml to the patterns for signing.
> maven-metadata.xml's are only hashed but not signed
> ---------------------------------------------------
>
> Key: LUCENE-3882
> URL: https://issues.apache.org/jira/browse/LUCENE-3882
> Project: Lucene - Java
> Issue Type: Bug
> Components: general/build
> Reporter: Robert Muir
> Fix For: 3.6, 4.0
>
> Attachments: LUCENE-3882.patch
>
>
> we only produce .sha/.md5 for these files, but not .asc
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Issue Comment Edited] (LUCENE-3882) maven-metadata.xml's
are only hashed but not signed
Posted by "Uwe Schindler (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232664#comment-13232664 ]
Uwe Schindler edited comment on LUCENE-3882 at 3/19/12 3:05 PM:
----------------------------------------------------------------
But then also the md5/sha1's are useless as those don't get updated during merging, too?
was (Author: thetaphi):
But then also the md5/sha1's are useless as those get updated during merging, too?
> maven-metadata.xml's are only hashed but not signed
> ---------------------------------------------------
>
> Key: LUCENE-3882
> URL: https://issues.apache.org/jira/browse/LUCENE-3882
> Project: Lucene - Java
> Issue Type: Bug
> Components: general/build
> Reporter: Robert Muir
> Fix For: 3.6, 4.0
>
> Attachments: LUCENE-3882.patch
>
>
> we only produce .sha/.md5 for these files, but not .asc
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Resolved] (LUCENE-3882) maven-metadata.xml's are only
hashed but not signed
Posted by "Robert Muir (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir resolved LUCENE-3882.
---------------------------------
Resolution: Not A Problem
See Steven's explanation for why this isnt useful.
> maven-metadata.xml's are only hashed but not signed
> ---------------------------------------------------
>
> Key: LUCENE-3882
> URL: https://issues.apache.org/jira/browse/LUCENE-3882
> Project: Lucene - Java
> Issue Type: Bug
> Components: general/build
> Reporter: Robert Muir
> Fix For: 3.6, 4.0
>
> Attachments: LUCENE-3882.patch
>
>
> we only produce .sha/.md5 for these files, but not .asc
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (LUCENE-3882) maven-metadata.xml's are only
hashed but not signed
Posted by "Robert Muir (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232658#comment-13232658 ]
Robert Muir commented on LUCENE-3882:
-------------------------------------
Steven, thanks.
OK to cancel this issue then?
I just thought it was strange to see .md5/.sha1 without the corresponding .asc
> maven-metadata.xml's are only hashed but not signed
> ---------------------------------------------------
>
> Key: LUCENE-3882
> URL: https://issues.apache.org/jira/browse/LUCENE-3882
> Project: Lucene - Java
> Issue Type: Bug
> Components: general/build
> Reporter: Robert Muir
> Fix For: 3.6, 4.0
>
> Attachments: LUCENE-3882.patch
>
>
> we only produce .sha/.md5 for these files, but not .asc
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (LUCENE-3882) maven-metadata.xml's are only
hashed but not signed
Posted by "Steven Rowe (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232655#comment-13232655 ]
Steven Rowe commented on LUCENE-3882:
-------------------------------------
Robert, I think it's not necessary/useful to sign these files.
In Maven Central, many projects don't have signatures for this file, e.g. http://search.maven.org/#browse|1946773355 ({{org.apache.apache}}, the Apache parent POM.
I think the issue is that when Maven artifacts are uploaded, for each artifact, entries from the maven-metadata.xml file's contents are merged with the existing version of that file. As a result, the signature will no longer apply.
Maven-core is an example of a project where they used to sign this file, then stopped doing it, but left the signature in the repo: [http://search.maven.org/#browse|-1493030540]. Note that the {{maven-metadata.xml.asc}} file is dated 2006.
> maven-metadata.xml's are only hashed but not signed
> ---------------------------------------------------
>
> Key: LUCENE-3882
> URL: https://issues.apache.org/jira/browse/LUCENE-3882
> Project: Lucene - Java
> Issue Type: Bug
> Components: general/build
> Reporter: Robert Muir
> Fix For: 3.6, 4.0
>
> Attachments: LUCENE-3882.patch
>
>
> we only produce .sha/.md5 for these files, but not .asc
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (LUCENE-3882) maven-metadata.xml's are only
hashed but not signed
Posted by "Robert Muir (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232668#comment-13232668 ]
Robert Muir commented on LUCENE-3882:
-------------------------------------
OOps i resolved before seeing Uwe's comment.
Steven should we fix this to not have .md5/.sha1 too? or are those useful?
> maven-metadata.xml's are only hashed but not signed
> ---------------------------------------------------
>
> Key: LUCENE-3882
> URL: https://issues.apache.org/jira/browse/LUCENE-3882
> Project: Lucene - Java
> Issue Type: Bug
> Components: general/build
> Reporter: Robert Muir
> Fix For: 3.6, 4.0
>
> Attachments: LUCENE-3882.patch
>
>
> we only produce .sha/.md5 for these files, but not .asc
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (LUCENE-3882) maven-metadata.xml's are only
hashed but not signed
Posted by "Uwe Schindler (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232664#comment-13232664 ]
Uwe Schindler commented on LUCENE-3882:
---------------------------------------
But then also the md5/sha1's are useless as those get updated during merging, too?
> maven-metadata.xml's are only hashed but not signed
> ---------------------------------------------------
>
> Key: LUCENE-3882
> URL: https://issues.apache.org/jira/browse/LUCENE-3882
> Project: Lucene - Java
> Issue Type: Bug
> Components: general/build
> Reporter: Robert Muir
> Fix For: 3.6, 4.0
>
> Attachments: LUCENE-3882.patch
>
>
> we only produce .sha/.md5 for these files, but not .asc
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (LUCENE-3882) maven-metadata.xml's are only
hashed but not signed
Posted by "Steven Rowe (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232661#comment-13232661 ]
Steven Rowe commented on LUCENE-3882:
-------------------------------------
bq. OK to cancel this issue then?
+1
> maven-metadata.xml's are only hashed but not signed
> ---------------------------------------------------
>
> Key: LUCENE-3882
> URL: https://issues.apache.org/jira/browse/LUCENE-3882
> Project: Lucene - Java
> Issue Type: Bug
> Components: general/build
> Reporter: Robert Muir
> Fix For: 3.6, 4.0
>
> Attachments: LUCENE-3882.patch
>
>
> we only produce .sha/.md5 for these files, but not .asc
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (LUCENE-3882) maven-metadata.xml's are only
hashed but not signed
Posted by "Steven Rowe (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232670#comment-13232670 ]
Steven Rowe commented on LUCENE-3882:
-------------------------------------
These hashes appear to be regenerated by the repository (I checked the Maven-core hashes and they matched), and as a result, the hashes submitted to the repo are ignored.
However, some people use the results of {{generate-maven-artifacts}} directly, in which case these hashes may provide some utility? And I don't think they're doing any harm.
So I'm -0 to stop making hashes for these files.
> maven-metadata.xml's are only hashed but not signed
> ---------------------------------------------------
>
> Key: LUCENE-3882
> URL: https://issues.apache.org/jira/browse/LUCENE-3882
> Project: Lucene - Java
> Issue Type: Bug
> Components: general/build
> Reporter: Robert Muir
> Fix For: 3.6, 4.0
>
> Attachments: LUCENE-3882.patch
>
>
> we only produce .sha/.md5 for these files, but not .asc
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (LUCENE-3882) maven-metadata.xml's are only
hashed but not signed
Posted by "Steven Rowe (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232685#comment-13232685 ]
Steven Rowe commented on LUCENE-3882:
-------------------------------------
Maven Ant Tasks generates the hashes, so we would have to delete them after they are created.
> maven-metadata.xml's are only hashed but not signed
> ---------------------------------------------------
>
> Key: LUCENE-3882
> URL: https://issues.apache.org/jira/browse/LUCENE-3882
> Project: Lucene - Java
> Issue Type: Bug
> Components: general/build
> Reporter: Robert Muir
> Fix For: 3.6, 4.0
>
> Attachments: LUCENE-3882.patch
>
>
> we only produce .sha/.md5 for these files, but not .asc
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org