Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 123AEDB11 for ; Fri, 15 Mar 2013 01:31:09 +0000 (UTC) Received: (qmail 47366 invoked by uid 500); 15 Mar 2013 01:31:08 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 47336 invoked by uid 500); 15 Mar 2013 01:31:08 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 47328 invoked by uid 99); 15 Mar 2013 01:31:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Mar 2013 01:31:08 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of willem.jiang@gmail.com designates 209.85.192.180 as permitted sender) Received: from [209.85.192.180] (HELO mail-pd0-f180.google.com) (209.85.192.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Mar 2013 01:31:04 +0000 Received: by mail-pd0-f180.google.com with SMTP id g10so121899pdj.11 for ; Thu, 14 Mar 2013 18:30:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:message-id:in-reply-to:references:subject :x-mailer:mime-version:content-type:content-transfer-encoding :content-disposition; bh=yfLQvsEL7JTp6Ep4r79QOX1sMJWdB0mJDThehwncPME=; b=BJRYmcJE+sH/97ggmD9KRYlJw/ci8seSPdHbsOvnjsHh1obd6KVdG5ZBoA50MgDqCW DNwtwS4K5jR9tYrKvpx3SeyM88MjX4VhDe1yt1tH8UPAJzATnMqoR9AMH2Iux6uqmmM0 Jhw1qYuJBQ8dI3jOHR5vB/s3Y0mi+/umMJajBeFGzpvGj7Y7KCCGJX6MU1E9/aPtf+5J tILw8EZ83mnMIeL/3ZQaiFfPYWpKxhzlNnCUvXwr7oPTYSCCvZJ2eIcyRnYHtBcQd+Ij inOrWv75YMvAdZ1Zv87WC6tilKeH0pwPiUYCwUgjP9ER+5ulEVydMz5FloQgGfOZY3io Uh+w== X-Received: by 10.68.75.109 with SMTP id b13mr11458533pbw.25.1363311044000; Thu, 14 Mar 2013 18:30:44 -0700 (PDT) Received: from [192.168.1.135] ([123.116.50.55]) by mx.google.com with ESMTPS id xr3sm5849746pbc.46.2013.03.14.18.30.41 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 14 Mar 2013 18:30:43 -0700 (PDT) Date: Fri, 15 Mar 2013 09:30:39 +0800 From: Willem jiang To: users@camel.apache.org Message-ID: <70A35D84320D47CC86E22AC3AC6546EF@gmail.com> In-Reply-To: <1363283573143-5729203.post@n5.nabble.com> References: <1363283573143-5729203.post@n5.nabble.com> Subject: Re: Problem encrypting data using PGP data format X-Mailer: sparrow 1.6.4 (build 1176) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi, Did you try to test your PGP data format setting with a simple route like= this=3F -- =20 Willem Jiang Red Hat, Inc. =46useSource is now part of Red Hat Web: http://www.fusesource.com =7C http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) = (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang =20 Weibo: =E5=A7=9C=E5=AE=81willem On =46riday, March 15, 2013 at 1:52 AM, GarethHughes wrote: > I have a route thus: > =20 > > > > uri=3D=22log:encrypt=3FshowBody=3Dtrue&showHeaders=3Dtrue&showP= roperties=3Dtrue&multiline=3Dtrue&level=3DIN=46O=22/> > /> > > > =20 > The route throws a very generic org.apache.camel.CamelExecutionExceptio= n and > a stack trace which doesn't really suggest what the error might be (see= > below). > =20 > It found the keyring file OK because if I specify that incorrectly can'= t > find that it throws a sensible file not found exception. =20 > =20 > It is also finding the public key, because if I specify the wrong keyUs= erId > it complains the public key is not found. > =20 > I'm using the bouncy castle 1.46 jars. > =20 > Has anyone any idea what the problem might be=3F > =20 > Thanks > =20 > =20 > =20 > =20 > -- > View this message in context: http://camel.465427.n5.nabble.com/Problem= -encrypting-data-using-PGP-data-format-tp5729203.html > Sent from the Camel - Users mailing list archive at Nabble.com (http://= Nabble.com).