Bug 324141 (MONO81462) - Bug in the signcode tool
Summary: Bug in the signcode tool
Status: RESOLVED FIXED
Alias: MONO81462
Product: Mono: Tools
Classification: Mono
Component: tools (show other bugs)
Version: 1.0
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords: security
Depends on:
Blocks:
 
Reported: 2007-04-26 17:22 UTC by Pieter Philippaerts
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 20:36:48 UTC


---- Reported by pieter@mentalis.org 2007-04-26 10:22:49 MST ----

While going through the 'signcode' source, I saw the following code:

    string auth = args [i++].ToLower ();
    switch (auth) {
    	case "individual":
    		af.Authority = Authority.Commercial;
    		break;
    	case "commercial":
    		af.Authority = Authority.Individual;
    		break;
    	default:
    		Console.WriteLine ("Unknown authority {0}", auth);
    		return 1;
    }

At first sight, this looks like a bug. When the user enters "individual" 
on command line, the authority proeprty is set to 'commercial', and vice 
versa.



---- Additional Comments From sebastien@ximian.com 2007-04-26 11:25:43 MST ----

Oops, fixed in SVN r76315.
Thanks!


Unknown operating system unknown. Setting to default OS "Other".