On 2019/12/18 06:30, Fabio Scotoni wrote:
> My reason for proposing that is a fear that people will still find years
> old or even decades old files much later on, forgetting or not realizing
> that they need to change -md.
> Having a note in the man page would help that specific scenario.
> The format of the man page doesn't lend itself to doing so, however.

Would it be enough of a hint to just do this?

Currently, the default value is
.Cm sha256 .


> Index: usr.bin/openssl/openssl.1
> ===================================================================
> RCS file: /cvs/src/usr.bin/openssl/openssl.1,v
> retrieving revision 1.116
> diff -u -p -r1.116 openssl.1
> --- usr.bin/openssl/openssl.1   28 Nov 2019 11:21:33 -0000      1.116
> +++ usr.bin/openssl/openssl.1   18 Dec 2019 05:16:10 -0000
> @@ -2176,11 +2176,8 @@ option.
>  Use
>  .Ar digest
>  to create a key from a pass phrase.
> -.Ar digest
> -may be one of
> -.Cm md5
> -or
> -.Cm sha1 .
> +The default value is
> +.Cm sha256 .
>  .It Fl none
>  Use NULL cipher (no encryption or decryption of input).
>  .It Fl nopad
> 

Reply via email to