From: Niels Möller Date: Wed, 2 Oct 2002 18:44:17 +0000 (+0200) Subject: (main): Comment on the lax security of the X-Git-Tag: nettle_1.6_release_20021003~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cdd2eb2099098d3d5f95074ee2c0a32ea809be12;p=thirdparty%2Fnettle.git (main): Comment on the lax security of the private key file. Rev: src/nettle/examples/rsa-keygen.c:1.6 --- diff --git a/examples/rsa-keygen.c b/examples/rsa-keygen.c index af33b231..fc4176c3 100644 --- a/examples/rsa-keygen.c +++ b/examples/rsa-keygen.c @@ -143,6 +143,8 @@ main(int argc, char **argv) return EXIT_FAILURE; } + /* NOTE: This doesn't set up paranoid access restrictions on the + * private key file, like a serious key generation tool would do. */ if (!write_file(priv_name, priv_buffer.size, priv_buffer.contents)) { werror("Failed to write private key: %s\n",