From user-return-17018-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Thu Jul 7 09:09:31 2011 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 D13524C11 for ; Thu, 7 Jul 2011 09:09:31 +0000 (UTC) Received: (qmail 3265 invoked by uid 500); 7 Jul 2011 09:09:29 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 2656 invoked by uid 500); 7 Jul 2011 09:09:17 -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 2644 invoked by uid 99); 7 Jul 2011 09:09:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2011 09:09:14 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of xcouchdb@googlemail.com designates 209.85.214.52 as permitted sender) Received: from [209.85.214.52] (HELO mail-bw0-f52.google.com) (209.85.214.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2011 09:09:07 +0000 Received: by bwj24 with SMTP id 24so1144239bwj.11 for ; Thu, 07 Jul 2011 02:08:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=6OCWzPP10aM699gDwaUY/fOMxBzgvXt9/VlaFOxftD0=; b=ajA0kuUgAbY5K6e9x7oR7Cqb37NuP3NMHkWaMwrt+xkhLtwmIkHY1mCEnbuniJN+C7 SLUQa6Vxfbrm/CAsUmOd560s4LVE7ZrUjJPXwa55+PKlBU8zqZ4qiOY9vVcqzd1ig/Gb sZLR1qxLnP8gLg1XbG/9VEa/GrPj7VM1NAuPw= MIME-Version: 1.0 Received: by 10.204.8.89 with SMTP id g25mr510196bkg.10.1310029727067; Thu, 07 Jul 2011 02:08:47 -0700 (PDT) Received: by 10.204.81.212 with HTTP; Thu, 7 Jul 2011 02:08:47 -0700 (PDT) Date: Thu, 7 Jul 2011 11:08:47 +0200 Message-ID: Subject: Views problem, encryption From: Couchdb Couchdb To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=0015174c370a86ee7704a7771022 X-Virus-Checked: Checked by ClamAV on apache.org --0015174c370a86ee7704a7771022 Content-Type: text/plain; charset=ISO-8859-1 Hi all, i am working on the couchdb aes encryption and have changed two functions in couch_file.erl(also added new functions) I have changed: append_binary_md5/2 and pread_iolist/2, so data is beeing encrypted by writing and decrypted by reading(i get the passwort from smartcard). Saving and reading docs is successfull So now i have problems with views, the couchdb craches. I have tried to debug, but i cant find the source of bug. The data encrypted and decrypted by append_binary_md5, pread_iolist is completely(successfully en- and de-crypted) What is the reason ? Blocksizes ? I think the views should not know how the couch_file works, while the output is proper Thanks Maxim L. --0015174c370a86ee7704a7771022--