9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Aaron Bieber <aaron@bolddaemon.com>
To: 9front@9front.org
Subject: [9front] auth/rsagen: bump bits to 4096
Date: Sat, 25 Nov 2023 21:33:59 -0700	[thread overview]
Message-ID: <34b5ada8-36a5-4e90-b517-390754adf71c@bolddaemon.com> (raw)

Hola!

No argument from me that RSA should go the way of the dodo.. but until 
that day
we should probably default to 4096:

diff 04d6a2acecfe4fe44947da8b676f63bcd0f3c0fe uncommitted
--- a/sys/man/8/rsa
+++ b/sys/man/8/rsa
@@ -150,7 +150,7 @@
  .B n
  has exactly
  .I nbits
-(default 2048)
+(default 4096)
  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 = 2048;
+    bits = 4096;
      tag = nil;
      key = nil;
      fmtinstall('B', mpfmt);



             reply	other threads:[~2023-11-26  4:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-26  4:33 Aaron Bieber [this message]
2023-11-26 12:48 ` cinap_lenrek
2023-11-26 14:46   ` Aaron Bieber
2023-11-26 16:50     ` ori
2023-11-26 19:07       ` Aaron Bieber
2023-11-26 17:06     ` cinap_lenrek
2023-11-26 19:15       ` Aaron Bieber
2023-11-26 19:43         ` cinap_lenrek
2023-11-27  0:33           ` Frank D. Engel, Jr.
2023-11-27  0:42             ` ori
2023-11-27  1:26               ` Frank D. Engel, Jr.
2023-11-27  9:50                 ` hiro
2023-11-27 12:22                   ` Frank D. Engel, Jr.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=34b5ada8-36a5-4e90-b517-390754adf71c@bolddaemon.com \
    --to=aaron@bolddaemon.com \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).