You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2008/04/11 02:37:35 UTC

DO NOT REPLY [Bug 44805] New: SignJar. isSigned checks for alias instead of sigfile

https://issues.apache.org/bugzilla/show_bug.cgi?id=44805

           Summary: SignJar.isSigned checks for alias instead of sigfile
           Product: Ant
           Version: 1.7.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: bugs@hammacher.name


If one specifies a "sigfile" that differs from the "alias", the method
isSigned(File) in class SignJar yields wrong results. It ignores the sigfile
and always uses alias for the signature filename.

The bug still exists in nightly build 20080410224908.

Possible bug fix: in the method SignJar.isSigned(File), the line
   return IsSigned.isSigned(file, alias);
should be replaced by
   return IsSigned.isSigned(file, sigfile != null ? sigfile : alias);


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 44805] SignJar.isSigned checks for alias instead of sigfile

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44805


Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |notifications@ant.apache.org
         AssignedTo|notifications@ant.apache.org|bodewig@apache.org




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.

DO NOT REPLY [Bug 44805] SignJar.isSigned checks for alias instead of sigfile

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44805


Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.8.0




--- Comment #1 from Stefan Bodewig <bo...@apache.org>  2008-09-16 02:48:13 PST ---
fixed in svn revision 695797, thanks!


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.