[Mono-bugs] [Bug 61394][Min] New - Error checking in "sn -pc container file.pub"

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 10 Jul 2004 14:20:36 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by peter@newton.cx.

http://bugzilla.ximian.com/show_bug.cgi?id=61394

--- shadow/61394	2004-07-10 14:20:36.000000000 -0400
+++ shadow/61394.tmp.2261	2004-07-10 14:20:36.000000000 -0400
@@ -0,0 +1,33 @@
+Bug#: 61394
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: Mono.Security
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: peter@newton.cx               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Error checking in "sn -pc container file.pub"
+
+sn.exe doesn't return an error when run with the -pc argument and a
+nonexistant CSP container. For example:
+
+$ sn -pc adasgdfdafafas myfile.pub
+Mono StrongName 0.95.99.0
+Copyright 2002, 2003 Motus Technologies. Copyright 2004 Novell. BSD licensed.
+ 
+Public Key extracted to file myfile.pub
+$ echo $?
+0
+$ cat myfile.pub
+[binary data]
+
+I don't know how CSP containers work, but I'm going to assume this behavior
+isn't correct.