Re: [PATCH] crypt.3: The library is "libcrypt", not "libcrypto"

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

 



On Sun, 2023-07-16 at 02:59 +0200, Alejandro Colomar wrote:
> Hi Xi!
> 
> On 2023-07-15 20:41, Xi Ruoyao wrote:
> > libcrypt is the password hashing library, and libcrypto is a
> > completely
> > different library (OpenSSL cryptography library).
> 
> Thanks!  My mistake.
> 
> > 
> > Signed-off-by: Xi Ruoyao <xry111@xxxxxxxxxxx>
> > ---
> >  man3/crypt.3 | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/man3/crypt.3 b/man3/crypt.3
> > index 1f3e4792e..ad14cb4f7 100644
> > --- a/man3/crypt.3
> > +++ b/man3/crypt.3
> > @@ -20,7 +20,7 @@
> >  crypt, crypt_r \- password and data encryption
> >  .SH LIBRARY
> >  Encryption and decryption library
> 
> Is the above line accurate, or should we improve it?

Hmm, I'm not sure.

This library is only a password hashing library today (and also in UNIX
6 :), but when it provided encrypt() function (from UNIX 7 to Glibc
2.27) it can really do "encryption and decryption" (in a broken way
though).

But I guess we can change "password and data encryption" to "password
hashing", at least.

> > -.RI ( libcrypto ", " \-lcrypto )
> > +.RI ( libcrypt ", " \-lcrypt )
> 
> I see that another page probably also needs to be fixed.
> Would you mind fixing it too,if appropriate, in this patch?

Ah indeed, I didn't catch it.

-- 
Xi Ruoyao <xry111@xxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University




[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