diff options
author | Sebastien Pouliot <sebastien@ximian.com> | 2005-11-04 19:23:05 +0300 |
---|---|---|
committer | Sebastien Pouliot <sebastien@ximian.com> | 2005-11-04 19:23:05 +0300 |
commit | 8e0a4d15751c2c678074720d4c7de997de7a6d08 (patch) | |
tree | 0ca7406e5ad48193b971e363c9746aa7d6a3ace1 | |
parent | f58805b1e9d7d3e996582a041df2410304c2639b (diff) |
Document the optional 'size' arguments for -k (generate keypair) that was introduced in 2.0
svn path=/trunk/mono/; revision=52582
-rw-r--r-- | man/sn.1 | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -1,7 +1,7 @@ .\" .\" sn manual page. .\" Copyright 2003 Motus Technologies -.\" Copyright 2004 Novell +.\" Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com) .\" Author: .\" Sebastien Pouliot <sebastien@ximian.com> .\" @@ -71,9 +71,13 @@ Convert the input file to a CSV file (using hexadecimal). Compare if assembly1 and assembly are the same exception for their signature. This is done by comparing the hash of the metadata of both assembly. .TP -.I "-k keypair.snk" -Create a new strongname keypair (a 1024 bits RSA keypair) in the specified -file. +.I "-k [size] keypair.snk" +Create a new strongname keypair in the specified file. The default key +length is 1024 bits and MUST ALWAYS be used when signing 1.x assemblies. +Any value from 384 to 16384 bits (in increments of 8 bits) is a valid key +length to sign 2.x assemblies. To ensure maximum compatibility you may +want to continue using 1024 bits keys. Note that there's no good reason, +even if it's possible, to use length lesser than 1024 bits. .TP .I "-R assembly keypair.snk" Resign the specified assembly using the specified strongname keypair file |