Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0A6A5200B64 for ; Tue, 2 Aug 2016 22:23:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 092C9160A76; Tue, 2 Aug 2016 20:23:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5236D160A65 for ; Tue, 2 Aug 2016 22:23:23 +0200 (CEST) Received: (qmail 74027 invoked by uid 500); 2 Aug 2016 20:23:22 -0000 Mailing-List: contact commits-help@pirk.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pirk.incubator.apache.org Delivered-To: mailing list commits@pirk.incubator.apache.org Received: (qmail 74018 invoked by uid 99); 2 Aug 2016 20:23:22 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2016 20:23:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 106C9CA7E0 for ; Tue, 2 Aug 2016 20:23:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.463 X-Spam-Level: X-Spam-Status: No, score=-4.463 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.243] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 5_4L2wXCXp3M for ; Tue, 2 Aug 2016 20:23:21 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with SMTP id 0A2505F244 for ; Tue, 2 Aug 2016 20:23:20 +0000 (UTC) Received: (qmail 73995 invoked by uid 99); 2 Aug 2016 20:23:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2016 20:23:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7727D2C029E for ; Tue, 2 Aug 2016 20:23:20 +0000 (UTC) Date: Tue, 2 Aug 2016 20:23:20 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: commits@pirk.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PIRK-29) User should be notified when attempting to decrypt with wrong querier. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 02 Aug 2016 20:23:24 -0000 [ https://issues.apache.org/jira/browse/PIRK-29?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15404709#comment-15404709 ] ASF GitHub Bot commented on PIRK-29: ------------------------------------ Github user ellisonanne commented on a diff in the pull request: https://github.com/apache/incubator-pirk/pull/43#discussion_r73229816 --- Diff: src/main/java/org/apache/pirk/querier/wideskies/QuerierDriver.java --- @@ -91,7 +91,7 @@ public static void main(String... args) throws IOException, InterruptedException int dataPartitionBitSize = 0; int paillierBitSize = 0; int certainty = 0; - String queryName = null; --- End diff -- The queryName corresponds to the schemaName in the query-schema.xsd file *not* to the user-given identifier for the query -- the identifier for this query is actually the queryNum. Notice that queryNum is currently a double -- if we want to start appending dates or whatever else to it, we need to change its type to String throughout. > User should be notified when attempting to decrypt with wrong querier. > ---------------------------------------------------------------------- > > Key: PIRK-29 > URL: https://issues.apache.org/jira/browse/PIRK-29 > Project: PIRK > Issue Type: Improvement > Components: Querier > Reporter: Chris Harris > Assignee: Joseph Kovba > > Encrypting a query produces a Query and a Querier object that are saved as files. The Query file is then passed to the Responder and used to generate Response files, i.e. the encrypted results of the query. The user can then decrypt these results via the QuerierDriver after specifying the Querier file along with the Response file. If the user specifies an incorrect Querier file, meaning one different than the one that was produced alongside the Query file that was given to the driver, then decryption will produce no results. The problem is that the user will not know that there are no results as a result of an error, rather than that there were no legitimate results. -- This message was sent by Atlassian JIRA (v6.3.4#6332)