From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 37218 invoked by alias); 4 Aug 2017 02:58:30 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 29252 invoked by uid 89); 4 Aug 2017 02:58:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=our X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 04 Aug 2017 02:58:24 +0000 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1924B37EEF for ; Fri, 4 Aug 2017 02:53:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 1924B37EEF Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=yselkowi@redhat.com Received: from localhost.localdomain (ovpn-120-53.rdu2.redhat.com [10.10.120.53]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A855D6C404 for ; Fri, 4 Aug 2017 02:53:15 +0000 (UTC) From: Yaakov Selkowitz To: cygwin-apps@cygwin.com Subject: [PATCH crypt 7/8] Update README Date: Fri, 04 Aug 2017 02:58:00 -0000 Message-Id: <20170804025258.19248-8-yselkowi@redhat.com> In-Reply-To: <20170804025258.19248-1-yselkowi@redhat.com> References: <20170804025258.19248-1-yselkowi@redhat.com> X-SW-Source: 2017-08/txt/msg00007.txt.bz2 --- crypt.README | 38 ++++---------------------------------- 1 file changed, 4 insertions(+), 34 deletions(-) diff --git a/crypt.README b/crypt.README index d7ee763..336737e 100644 --- a/crypt.README +++ b/crypt.README @@ -1,46 +1,16 @@ -This is the DES-crypt package Version 1.1 +This is the crypt package Version 2.0 It provides a static library libcrypt.a as well as a shared library cygcrypt-0.dll together with a link lib libcrypt.dll.a, which export the functions crypt(3) + crypt_r(3) encrypt(3) setkey(3) -The passwords created by crypt(3) are 56 bit DES encrypted and are -100% identical to those created by the Linux crypt(). - -Additionally, this package provides a command line tool crypt.exe -which is a tool to generate encrypted passwords from cleartext -passwords. The encrypted password is written to stdout with a trailing -line feed. - -Use this tool to create password entries in /etc/passwd on 9x systems. -On 9x machines, this DES password authentication is used in applications -like e. g. login(1) or ftpd(8). Note that the password entry in -/etc/passwd is not used on NT systems. Instead, users are authenticated -using the NT password itself. So crypt.exe is mainly a convenience for -9x users. - -Note that this tool does *not* provide the crypt(1) functionality known -from e. g. SUN Solaris(tm) machines. The encryption used here is -incompatible with the encryption used there. - -The usage of "our" crypt is like this: - -crypt cleartext - - generates a password with a random salt. - -crypt salt cleartext - - generates a password with salt `salt'. The result can be used to - compare a given encrypted password with a cleartext password eg. - typed by a user. - -The salt is a two character string which consists of the first two -characters of the encrypted password. +The passwords created by crypt(3) are 100% identical to those created by +the Linux crypt(). DES, MD5, SHA-256, and SHA-512 algorithms are supported. Please send requests, error reports etc. to the mailing list cygwin@cygwin.com. -- 2.13.2