Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/man/sn.1
diff options
context:
space:
mode:
authorSebastien Pouliot <sebastien@ximian.com>2005-11-04 19:23:05 +0300
committerSebastien Pouliot <sebastien@ximian.com>2005-11-04 19:23:05 +0300
commit8e0a4d15751c2c678074720d4c7de997de7a6d08 (patch)
tree0ca7406e5ad48193b971e363c9746aa7d6a3ace1 /man/sn.1
parentf58805b1e9d7d3e996582a041df2410304c2639b (diff)
Document the optional 'size' arguments for -k (generate keypair) that was introduced in 2.0
svn path=/trunk/mono/; revision=52582
Diffstat (limited to 'man/sn.1')
-rw-r--r--man/sn.112
1 files changed, 8 insertions, 4 deletions
diff --git a/man/sn.1 b/man/sn.1
index b26ed9bab12..f82855af10e 100644
--- a/man/sn.1
+++ b/man/sn.1
@@ -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