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/09/16 11:18:18 UTC

DO NOT REPLY [Bug 45820] New: IsSigned conditions doesn't work correctly for alias with invalid characters

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

           Summary: IsSigned conditions doesn't work correctly for alias
                    with invalid characters
           Product: Ant
           Version: 1.8Alpha (nightly)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Core tasks
        AssignedTo: bodewig@apache.org
        ReportedBy: bodewig@apache.org
                CC: notifications@ant.apache.org


The IsSigned condition correctly upercases the name and shortens it to eight
characters but the tool documentation page of jarsigner reads 

> If no -sigfile option appears on the command line, the base file name for the
> .SF and .DSA files will be the first 8 characters of the alias name specified
> on the command line, all converted to upper case. > If the alias name has fewer
> than 8 characters, the full alias name is used.
> If the alias name contains any characters that are not allowed in a signature
> file name, each such character is converted to an underscore ("_") character
> in forming the file name. Legal characters include letters, digits, underscores,
> and hyphens.

Ant currently lacks the "replace illegal characters with underscores" part.

Note that the spec doesn't say it would treat -sigfile provided names the same
way, but the documentation of the -sigfile option restricts the legal values so
assuming -sigfile provided names can be matched the same way should be fine.


-- 
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.

DO NOT REPLY [Bug 45820] IsSigned conditions doesn't work correctly for alias with invalid characters

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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Stefan Bodewig <bo...@apache.org>  2008-09-19 08:53:38 PST ---
svn revision 697139


-- 
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.