Re: [PATCH 1/4] crypt.3: wfix: encryption is not done with SHA-xxx, but with a function based on SHA-xxx.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/03/2017 06:16 PM, Konstantin Shemyak wrote:
> Signed-off-by: Konstantin Shemyak <konstantin@xxxxxxxxxxx>

Hi Konstantin,

Could you add some info saying how you checked/discovered
the details changed by this commit message?

Also, a minor nit: this is not a "wfix" commit. It changes the
meaning of the text.

Thanks,

Michael


> ---
>  man3/crypt.3 | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/man3/crypt.3 b/man3/crypt.3
> index 9edd63a..749a636 100644
> --- a/man3/crypt.3
> +++ b/man3/crypt.3
> @@ -227,9 +227,9 @@ _
>  .TE
>  .RE
>  .PP
> -So $5$\fIsalt\fP$\fIencrypted\fP is an SHA-256 encoded
> -password and $6$\fIsalt\fP$\fIencrypted\fP is an
> -SHA-512 encoded one.
> +So $5$\fIsalt\fP$\fIencrypted\fP and $6$\fIsalt\fP$\fIencrypted\fP
> +contain the password encrypted correspondingly with a function
> +based on SHA-256 and SHA-512.
>  .PP
>  "\fIsalt\fP" stands for the up to 16 characters
>  following "$\fIid\fP$" in the salt.
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux