[Mono-list] secutil tool

Miguel de Icaza miguel@ximian.com
23 Dec 2002 17:33:41 -0500


Hello,

> I just completed a new tool - secutil. It's a clone of the MS secutil tools
> which extracts strongname and certificates from an assembly (so they can be
> included in source code). Parameters and output should be identical to the
> original secutil - except that it can extract the (authenticode) certificate
> from any PE file (not just assemblies).

I have included this now on the makefile for distribution.

> Status:
> Windows (MS.NET) both strongname and certificate works.
> Windows (mono) only certificate works.
> 
> Can someone tells me if it works (build and run) on Linux.

It builds and runs, but I do not know how to use it, so here is what I
get when I use it: 

PublicKey =
Error: System.NullReferenceException: A null value was found where an
object instance was required
in <0x0016a> 00 Mono.Tools.SecUtil:WriteArray (byte[])
in <0x00056> 00 Mono.Tools.SecUtil:StrongName (string)
in <0x006ab> 00 Mono.Tools.SecUtil:Main (string[])

Btw, would it be possible to have a `secutil.1' man page?