From user-return-21121-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Thu Jun 7 21:15:42 2012 Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B29E8C0F5 for ; Thu, 7 Jun 2012 21:15:42 +0000 (UTC) Received: (qmail 80776 invoked by uid 500); 7 Jun 2012 21:15:41 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 80734 invoked by uid 500); 7 Jun 2012 21:15:41 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 80725 invoked by uid 99); 7 Jun 2012 21:15:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jun 2012 21:15:41 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [128.18.84.132] (HELO brightmail-internal3.sri.com) (128.18.84.132) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jun 2012 21:15:30 +0000 X-AuditID: 80125484-b7f426d000006382-43-4fd119dc57b9 Received: from exchange-hub03.SRI.COM (exchange-hub03.SRI.COM [128.18.23.155]) (using TLS with cipher AES128-SHA (AES128-SHA/128 bits)) (Client did not present a certificate) by brightmail-internal3.sri.com (SRI Internal SMTP Gateway) with SMTP id 38.12.25474.CD911DF4; Thu, 7 Jun 2012 14:15:08 -0700 (PDT) Received: from EXCHANGE-DB08.SRI.COM ([fe80::a11e:7c21:6886:9a20]) by exchange-hub03.SRI.COM ([fe80::8c0e:cf22:fef8:cb20%15]) with mapi id 14.02.0298.004; Thu, 7 Jun 2012 14:14:31 -0700 From: Jim Klo To: "user@couchdb.apache.org" Subject: Migrate htpasswd users to _users? Thread-Topic: Migrate htpasswd users to _users? Thread-Index: AQHNRPKHf8joJJ5EU0CF8msRvz71OQ== Date: Thu, 7 Jun 2012 21:14:30 +0000 Message-ID: <271AB806-4C79-4371-9BDE-12EF2C2D885C@sri.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [192.12.16.211] Content-Type: multipart/signed; boundary="Apple-Mail-10-19252194"; protocol="application/pkcs7-signature"; micalg=sha1 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrKIsWRmVeSWpSXmKPExsXSICQ+W/eO5EV/g1+nJS069+xlc2D02Pjh OGMAYxSXTUpqTmZZapG+XQJXxoqzPawFfx0r5vUtZW1gPGrbxcjJISFgIjFl6z12CFtM4sK9 9WxdjFwcQgI7mSRu7F/EAuHsZZRY83AqE0gVm4C8xOHtD5i7GDk4RATMJQ5dzAUJCwtoSdza cYAVxBYR0Jc42NrFBGHrSXxbNoURxGYRUJF4NbmfBcTmFbCSOLT7F9hiRqDF30+tAatnFhCX uPVkPhPEQSISDy+eZoOwRSVePv7HCrJWQkBRYs3cYBCTWaBC4tYZMYiJghInZz5hmcAoNAvJ oFkIVbOQVEGUuEqs7v3DCmFrSyxb+JoZolxHYvJCRlRhCPvj+SNMELapxOujH6FqrCVm/DrI BmErSkzpfsi+gJF7FaNMUlFmekZJbmJmji4syoz1iosy9ZLzczcxgiMvpGUH44pdhocYBTgY lXh4N1y54C/EmlhWXJl7iFGCg1lJhJfxJ1CINyWxsiq1KD++qDQntfgQozQHi5I4b5gxv7+Q QHpiSWp2ampBahFMlomDU6qBsXOP6iUhuYbP2/9lrmi3MLa9pfem9eGy9Ufu87IIV94N2/fz 3JyV15OqF/7jlrq3eKmsvy8D+6JzWT1BiY7ph5YFbHDql7YWYTJ/L3kg/nL8Dh7rpcen6Yfu 2rZPOSNP5uCNrclSU7NLu5OvCDhVv3yx/+ybBUbLJnzb335KWq60n+Hsj3tci5VYijMSDbWY i4oTAS1xDMy4AgAA --Apple-Mail-10-19252194 Content-Type: multipart/alternative; boundary=Apple-Mail-9-19252153 --Apple-Mail-9-19252153 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Wondering if there is a way to easily migrate a flat file of htpasswd = users into couchdb _users? htpasswd typically uses crypt() which I think i based off a MD5, and = couchdb uses SHA1. So essentially is there a stable authentication handler out there that = replicates htpasswd? Thanks, - Jim Jim Klo Senior Software Engineer Center for Software Engineering SRI International --Apple-Mail-9-19252153 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Senior Software = Engineer
Center for Software = Engineering
SRI = International

= --Apple-Mail-9-19252153-- --Apple-Mail-10-19252194 Content-Disposition: attachment; filename="smime.p7s" Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJ/zCCBO0w ggRWoAMCAQICEBX3i1OyIZLyYjv7fwx/UYkwDQYJKoZIhvcNAQEFBQAwgdgxCzAJBgNVBAYTAlVT MRowGAYDVQQKExFTUkkgSW50ZXJuYXRpb25hbDEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0 d29yazE7MDkGA1UECxMyVGVybXMgb2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9y cGEgKGMpMDIxMDAuBgNVBAsTJ0NsYXNzIDIgT25TaXRlIEluZGl2aWR1YWwgU3Vic2NyaWJlciBD QTEdMBsGA1UEAxMUU1JJIEludGVybmF0aW9uYWwgQ0EwHhcNMTIwMTAzMDAwMDAwWhcNMTMwMTAy MjM1OTU5WjCBwjEaMBgGA1UEChQRU1JJIEludGVybmF0aW9uYWwxKDAmBgNVBAsUH0luZm9ybWF0 aW9uIFRlY2hub2xvZ3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