Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 68500 invoked from network); 9 Mar 2009 04:42:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Mar 2009 04:42:45 -0000 Received: (qmail 27376 invoked by uid 500); 9 Mar 2009 04:42:38 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 27342 invoked by uid 500); 9 Mar 2009 04:42:38 -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 27331 invoked by uid 99); 9 Mar 2009 04:42:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Mar 2009 21:42:38 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jchris@gmail.com designates 209.85.200.175 as permitted sender) Received: from [209.85.200.175] (HELO wf-out-1314.google.com) (209.85.200.175) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Mar 2009 04:42:30 +0000 Received: by wf-out-1314.google.com with SMTP id 28so1642056wff.29 for ; Sun, 08 Mar 2009 21:42:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=P+BmJfEG3wIiBpM1UNwbM1tOA25wTh1mVBRRtFmg8u4=; b=rLNeZR8Sl2g5HDpUNvW3KRyskeFgKauMzrzoMuTqPwEPtkRrwMiLm1fprnmh2gwRZT JWPJdYChW+iFx3ovOfvzid1I3NmAV2OrZQw6UDPeE/hLOnLiLkZhRKYqaRON0yQYCEld S15l5TkVT5Sd/Wz6ehUsGSJhHHNi09w1Q423o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=UVTthgbdRjkekNwM/6fdjXKKMOncvx3vlx0MuGjPzIGl2qtEM8YtemQn/AzZ9E17wB lhsS/Z0N487td/lBG3QkFSF8DIB6qzEvTGkSaDQsZQuOROcmFEDbbzdcbToVolrogDoT U/hkNWPdWlQX8KyNYL8I2sRPGf6meV5ugms8U= MIME-Version: 1.0 Sender: jchris@gmail.com Received: by 10.142.109.8 with SMTP id h8mr855102wfc.331.1236573730191; Sun, 08 Mar 2009 21:42:10 -0700 (PDT) In-Reply-To: <20090309023504.GF1420@tumbolia.org> References: <283A6EDD-6701-4A6A-88AE-8B97E6D11D9E@mooseyard.com> <20090309002113.GD361@tumbolia.org> <55679AE8-0200-40B9-AC7D-0249E4FECC3B@gmail.com> <20090309003301.GE361@tumbolia.org> <20090309012759.GC1420@tumbolia.org> <273DDCE7-CE20-4BA0-B1D8-D53B81D4CCBB@gmail.com> <20090309021201.GE1420@tumbolia.org> <822010A6-3E66-4910-B8DD-9379B27BF940@gmail.com> <20090309023504.GF1420@tumbolia.org> Date: Sun, 8 Mar 2009 20:42:10 -0800 X-Google-Sender-Auth: e01bdcb89673aad4 Message-ID: Subject: Re: Proposal for digital signatures of documents From: Chris Anderson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Sun, Mar 8, 2009 at 6:35 PM, Noah Slater wrote: > On Mon, Mar 09, 2009 at 12:56:04PM +1030, Antony Blakey wrote: >> >> On 09/03/2009, at 12:42 PM, Noah Slater wrote: >> >>> The choice of mailing list has no bearing on good practice. >> >> This is a list to discuss uses of CouchDB, rather than the core or >> direction of the product, which is dev@. If this were dev@ then the >> discussion would be in the context of official CouchDB support and/or >> incorporation. As this is user@, what is an RFC a prerequisite for >> (apart from your interest)? > > I am speaking as a user of CouchDB, not a developer. If the community wants to > interest me in a canonicalisation of JSON then I want to see that the plan is to > push this through the IETF as an RFC. Otherwise, what's the point? As an application developer (not a database developer) I'm a bit of a loose cannon. As such I'd probably implement a halfway decent JSON canonicalization strategy (recursive key sort) that works for plain ascii. I'd get the edge cases wrong and not notice. I think this is probably the proper way to proceed. Inevitably, someone would come along and complain about the edge cases, and I would ignore them. After a while, either someone would write a freaking patch or I'd get fed up with complaints and ensure that all non 7bit chars were encoded with their \uXXXX equivalents. The overall picture here is not getting it right but rather having running code. -- Chris Anderson http://jchris.mfdz.com