shithub: riscv

Download patch

ref: 0d6a188ddea491e760361c45d9c9fd7ac2f06ffd
parent: 42c4cc75a6a0c35e9858479e69816d1a26b3d085
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Apr 21 17:25:33 EDT 2016

rsagen: increase default key size to 2048 bits

--- a/sys/man/8/rsa
+++ b/sys/man/8/rsa
@@ -118,7 +118,7 @@
 .B n
 has exactly
 .I nbits
-(default 1024)
+(default 2048)
 significant bits.
 If
 .I tag
--- a/sys/src/cmd/auth/rsagen.c
+++ b/sys/src/cmd/auth/rsagen.c
@@ -18,7 +18,7 @@
 	char *tag;
 	RSApriv *key;
 
-	bits = 1024;
+	bits = 2048;
 	tag = nil;
 	key = nil;
 	fmtinstall('B', mpfmt);