You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Paul (Jira)" <ji...@apache.org> on 2022/10/11 06:19:00 UTC

[jira] [Comment Edited] (DIRSERVER-2376) Invalid signature file digest for Manifest main attributes

    [ https://issues.apache.org/jira/browse/DIRSERVER-2376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17615498#comment-17615498 ] 

Paul edited comment on DIRSERVER-2376 at 10/11/22 6:18 AM:
-----------------------------------------------------------

Sorry formatting is a bit off. Reposting issue with proper format:

 

*(reformatted for better readability)*

We're trying to upgrade to a newer version of apacheds in our pom.xml:
{code:java}
<version>2.0.0-M22</version>
+ <version>2.0.0.AM26</version>{code}
However, the rebuilding the project results in the following error:
{code:java}
failed: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes{code}
 

I'm also observing the same error when trying to upgrade to `2.0.0.AM25`, like:
{code:java}
<version>2.0.0-M22</version>
+ <version>2.0.0.AM25</version>{code}
 

I'm seeing that the jar files for both versions seem to have the same issue with having invalid signatures:
{code:java}
$ jarsigner -verify -verbose apacheds-all-2.0.0.AM26.jar
jarsigner: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
$ jarsigner -verify -verbose apacheds-all-2.0.0.AM25.jar
jarsigner: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
{code}
Any ideas on how to address this? I attached the full pom.xml file for reference. Thanks! 


was (Author: JIRAUSER296236):
Sorry formatting is a bit off. Reposting issue with proper format:

 

*(reformatted for better readability)*

We're trying to upgrade to a newer version of apacheds in our pom.xml:
{code:java}
<version>2.0.0-M22</version>
+ <version>2.0.0.AM26</version>{code}
However, the rebuilding the project results in the following error:
{code:java}
failed: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes{code}
 

I'm also observing the same error when trying to upgrade to `2.0.0.AM25`, like:
{code:java}
<version>2.0.0-M22</version>
+ <version>2.0.0.AM25</version>{code}
 

I'm seeing that the jar files for both versions seem to have the same issue with having invalid signatures:

 
{code:java}
$ jarsigner -verify -verbose apacheds-all-2.0.0.AM26.jar
jarsigner: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
$ jarsigner -verify -verbose apacheds-all-2.0.0.AM25.jar
jarsigner: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
{code}
 

Any ideas on how to address this? I attached the full pom.xml file for reference. Thanks! 

> Invalid signature file digest for Manifest main attributes
> ----------------------------------------------------------
>
>                 Key: DIRSERVER-2376
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2376
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 2.0.0.AM25, 2.0.0.AM26
>            Reporter: Paul
>            Priority: Critical
>         Attachments: pom.xml
>
>
> We're trying to upgrade to a newer version of apacheds in our pom.xml:
> ```
> - <version>2.0.0-M22</version>
> + <version>2.0.0.AM26</version>
> ```
>  
> However, the rebuilding the project results in the following error:
> ```
> failed: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
> ```
>  
> I'm also observing the same error when trying to upgrade to `2.0.0.AM25`, like:
> ```
> - <version>2.0.0-M22</version>
> + <version>2.0.0.AM25</version>
> ```
>  
> I'm seeing that the jar files for both versions seem to have the same issue with having invalid signatures:
> ```
> $ jarsigner -verify -verbose apacheds-all-2.0.0.AM26.jar
> jarsigner: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
> $ jarsigner -verify -verbose apacheds-all-2.0.0.AM25.jar
> jarsigner: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
> ```
> Any ideas on how to address this? I attached the full pom.xml file for reference. Thanks! 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org