[jira] [Closed] (PIRK-77) Add back in Default Serial IDs for Classes - Add Serialization Type Option

2016-10-15 Thread Ellison Anne Williams (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIRK-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ellison Anne Williams closed PIRK-77.
-

> Add back in Default Serial IDs for Classes - Add Serialization Type Option
> --
>
> Key: PIRK-77
> URL: https://issues.apache.org/jira/browse/PIRK-77
> Project: PIRK
>  Issue Type: Bug
>Reporter: Ellison Anne Williams
>Assignee: Ellison Anne Williams
> Fix For: 0.3.0
>
>
> The default serial IDs were removed in the last PR -- add them back in when 
> using Java serialization. Also add option to use Java or JSON serialization.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (PIRK-77) Add back in Default Serial IDs for Classes - Add Serialization Type Option

2016-10-15 Thread Ellison Anne Williams (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIRK-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ellison Anne Williams resolved PIRK-77.
---
Resolution: Fixed

> Add back in Default Serial IDs for Classes - Add Serialization Type Option
> --
>
> Key: PIRK-77
> URL: https://issues.apache.org/jira/browse/PIRK-77
> Project: PIRK
>  Issue Type: Bug
>Reporter: Ellison Anne Williams
>Assignee: Ellison Anne Williams
> Fix For: 0.3.0
>
>
> The default serial IDs were removed in the last PR -- add them back in when 
> using Java serialization. Also add option to use Java or JSON serialization.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (PIRK-77) Add back in Default Serial IDs for Classes - Add Serialization Type Option

2016-10-15 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/PIRK-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15579016#comment-15579016
 ] 

ASF GitHub Bot commented on PIRK-77:


Github user asfgit closed the pull request at:

https://github.com/apache/incubator-pirk/pull/110


> Add back in Default Serial IDs for Classes - Add Serialization Type Option
> --
>
> Key: PIRK-77
> URL: https://issues.apache.org/jira/browse/PIRK-77
> Project: PIRK
>  Issue Type: Bug
>Reporter: Ellison Anne Williams
>Assignee: Ellison Anne Williams
> Fix For: 0.3.0
>
>
> The default serial IDs were removed in the last PR -- add them back in when 
> using Java serialization. Also add option to use Java or JSON serialization.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


incubator-pirk git commit: PIRK-77 Add back in Default Serial IDs for Classes - Add Serialization Type Option - closes apache/incubator-pirk#110

2016-10-15 Thread eawilliams
Repository: incubator-pirk
Updated Branches:
  refs/heads/master 2155f9b9f -> 4abbefea7


PIRK-77 Add back in Default Serial IDs for Classes - Add Serialization Type 
Option  - closes apache/incubator-pirk#110


Project: http://git-wip-us.apache.org/repos/asf/incubator-pirk/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-pirk/commit/4abbefea
Tree: http://git-wip-us.apache.org/repos/asf/incubator-pirk/tree/4abbefea
Diff: http://git-wip-us.apache.org/repos/asf/incubator-pirk/diff/4abbefea

Branch: refs/heads/master
Commit: 4abbefea79f9e689e507019c6db071f5a6ad4371
Parents: 2155f9b
Author: eawilliams 
Authored: Sat Oct 15 20:34:40 2016 -0400
Committer: eawilliams 
Committed: Sat Oct 15 20:34:40 2016 -0400

--
 .../org/apache/pirk/encryption/Paillier.java| 60 +---
 .../apache/pirk/querier/wideskies/Querier.java  | 17 --
 .../querier/wideskies/QuerierDeserializer.java  | 12 ++--
 .../org/apache/pirk/query/wideskies/Query.java  | 23 +---
 .../pirk/query/wideskies/QueryDeserializer.java | 24 
 .../apache/pirk/query/wideskies/QueryInfo.java  | 44 +-
 .../pirk/responder/wideskies/ResponderCLI.java  |  2 +-
 .../responder/wideskies/ResponderProps.java |  2 +-
 .../pirk/response/wideskies/Response.java   | 11 +++-
 .../wideskies/ResponseDeserializer.java |  7 +--
 .../apache/pirk/schema/query/QuerySchema.java   | 29 +++---
 .../pirk/serialization/JsonSerializer.java  | 24 +---
 .../pirk/serialization/StorageService.java  | 11 +++-
 src/main/resources/pirk.properties  |  3 +
 14 files changed, 177 insertions(+), 92 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-pirk/blob/4abbefea/src/main/java/org/apache/pirk/encryption/Paillier.java
--
diff --git a/src/main/java/org/apache/pirk/encryption/Paillier.java 
b/src/main/java/org/apache/pirk/encryption/Paillier.java
index da14bba..6502e0d 100644
--- a/src/main/java/org/apache/pirk/encryption/Paillier.java
+++ b/src/main/java/org/apache/pirk/encryption/Paillier.java
@@ -96,8 +96,10 @@ public final class Paillier implements Serializable
 }
   }
 
-  @Expose private BigInteger p; // large prime
-  @Expose private BigInteger q; // large prime
+  @Expose
+  private BigInteger p; // large prime
+  @Expose
+  private BigInteger q; // large prime
   private BigInteger N; // N=pq, RSA modulus
 
   private BigInteger NSquared; // NSquared = N^2
@@ -105,15 +107,20 @@ public final class Paillier implements Serializable
   private BigInteger lambdaN; // lambda(N) = lcm(p-1,q-1), Carmichael function 
of N
 
   private BigInteger w; // lambda(N)^-1 mod N
-  @Expose private final int bitLength; // bit length of the modulus N
+  @Expose
+  private final int bitLength; // bit length of the modulus N
 
   /**
* Creates a Paillier algorithm with all parameters specified.
*
-   * @param p First large prime.
-   * @param q Second large prime.
-   * @param bitLength Bit length of the modulus {@code N}.
-   * @throws IllegalArgumentException If {@code p} or {@code q} do not satisfy 
primality constraints.
+   * @param p
+   *  First large prime.
+   * @param q
+   *  Second large prime.
+   * @param bitLength
+   *  Bit length of the modulus {@code N}.
+   * @throws IllegalArgumentException
+   *   If {@code p} or {@code q} do not satisfy primality constraints.
*/
   public Paillier(BigInteger p, BigInteger q, int bitLength)
   {
@@ -145,9 +152,12 @@ public final class Paillier implements Serializable
* The probability that the generated keys represent primes will exceed (1 - 
(1/2){@code certainty}). The execution time of this constructor is
* proportional to the value of this parameter.
*
-   * @param bitLength The bit length of the resulting modulus {@code N}.
-   * @param certainty The probability that the new {@code p} and {@code q} 
represent prime numbers.
-   * @throws IllegalArgumentException If the {@code certainty} is less than 
the system allowed lower bound.
+   * @param bitLength
+   *  The bit length of the resulting modulus {@code N}.
+   * @param certainty
+   *  The probability that the new {@code p} and {@code q} represent 
prime numbers.
+   * @throws IllegalArgumentException
+   *   If the {@code certainty} is less than the system allowed lower 
bound.
*/
   public Paillier(int bitLength, int certainty)
   {
@@ -164,10 +174,14 @@ public final class Paillier implements Serializable
* 
* When ensureBitSet > -1 the value of bit "{@code ensureBitSet}" in modulus 
{@code N} will be set.
*
-   * @param bitLengthThe bit length of the resulting modulus {@code N}.
-   * @param certaintyThe 

[jira] [Commented] (PIRK-77) Add back in Default Serial IDs for Classes - Add Serialization Type Option

2016-10-15 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/PIRK-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15578962#comment-15578962
 ] 

ASF GitHub Bot commented on PIRK-77:


GitHub user ellisonanne opened a pull request:

https://github.com/apache/incubator-pirk/pull/110

[PIRK-77] - Add back in Default Serial IDs for Classes - Add Serialization 
Type Option



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/ellisonanne/incubator-pirk pirk-77

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-pirk/pull/110.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #110


commit 74a6f11a1af491cc3b722af3fbb25b9342025b64
Author: ellisonanne 
Date:   2016-07-29T19:45:21Z

Merge pull request #5 from apache/master

up

commit 42f3e8400f810377a4bae06638fc13c0e37707f3
Author: ellisonanne 
Date:   2016-07-31T17:47:15Z

Merge pull request #6 from apache/master

updating fork

commit 887358883d26940845a3486b0dc87cd0cc6c3807
Author: ellisonanne 
Date:   2016-08-01T13:06:35Z

Merge pull request #7 from apache/master

up

commit 2ad5c619084af2517cd135374f93be20410cc45c
Author: ellisonanne 
Date:   2016-08-02T16:22:53Z

Merge pull request #8 from apache/master

updating fork

commit d3c6eeb37a0300ea882c0bb2bcd2939132e7e5cb
Author: Ellison Anne Williams 
Date:   2016-08-06T14:23:24Z

Merge pull request #9 from apache/master

updating fork

commit 381f3529f97fa38b7b06be015c7b82471c8b95d5
Author: Ellison Anne Williams 
Date:   2016-08-11T13:22:15Z

Merge pull request #10 from apache/master

updating fork

commit 6ab035dd32fc4e3464cfb377ccb3493ecf9a313d
Author: Ellison Anne Williams 
Date:   2016-08-12T21:19:23Z

Merge pull request #11 from apache/master

up

commit 47a933f9c1d6c6c80f7b61ba5856a84af8162dca
Author: Ellison Anne Williams 
Date:   2016-08-13T12:31:25Z

Merge pull request #12 from apache/master

up

commit 6ba5ed4b3ce4983f1e1aa958b6f55180613fa1a1
Author: Ellison Anne Williams 
Date:   2016-08-16T13:30:13Z

Merge pull request #13 from apache/master

updating fork

commit 43818205074456b8e16aa09bb408706bfb9608ed
Author: Ellison Anne Williams 
Date:   2016-08-18T17:38:55Z

Merge pull request #14 from apache/master

updating fork

commit 9da10044342663526b3456aa894f204f697a2866
Author: Ellison Anne Williams 
Date:   2016-08-19T13:54:59Z

Merge pull request #15 from apache/master

updating fork

commit 195c518a8e4d0b131d47fbbe84f8183bdde164ec
Author: Ellison Anne Williams 
Date:   2016-08-19T19:00:44Z

Merge pull request #16 from apache/master

various cleanup items - closes apache/incubator-pirk#73

commit c0a060639fa6dc260e16815340e8386d8c296da2
Author: Ellison Anne Williams 
Date:   2016-08-23T13:39:27Z

Merge pull request #17 from apache/master

updates

commit 59e706255058afe1a3341c3be6fa2782f0f50442
Author: Ellison Anne Williams 
Date:   2016-08-26T13:24:05Z

Merge pull request #18 from apache/master

updat

commit f6495aa177f7d4905e34185ef445087d8b5d9644
Author: Ellison Anne Williams 
Date:   2016-08-31T13:07:33Z

Merge pull request #20 from apache/master

updating fork

commit 3245592b1fe4f0ba5d2895e1edaa543d264649a1
Author: Ellison Anne Williams 
Date:   2016-09-06T12:57:04Z

Merge pull request #21 from apache/master

updating fork

commit 3c3157248c14e7f3a7b7a03588520c3107244e50
Author: Ellison Anne Williams 
Date:   2016-09-13T17:13:52Z

Merge pull request #22 from apache/master

updating fork

commit cef8e6f70634e1b557df6d475c6f12e7bc5783cd
Author: Ellison Anne Williams 
Date:   2016-09-24T18:44:48Z

Merge pull request #23 from apache/master

updateing

commit d0368fea7844331c5ac25c2aacc19051d516f375
Author: Ellison Anne Williams 
Date:   2016-10-06T13:22:22Z

Merge pull request #24 from apache/master

updating fork

commit 8fe5c68e99fd9194320fb4b7d74dd2a878a0ecf4
Author: Ellison Anne Williams 
Date:   2016-10-15T23:24:13Z

Merge pull request #25 from apache/master

updating fork

commit c77384a3cdcdcb772b6a6874c632bf4f8d7ffa78
Author: Ellison Anne Williams 
Date:   2016-10-15T23:52:45Z

changes for pirk-77




> 

[jira] [Resolved] (PIRK-73) Change All Properties in ResponderProps to be public

2016-10-15 Thread Ellison Anne Williams (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIRK-73?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ellison Anne Williams resolved PIRK-73.
---
Resolution: Fixed

> Change All Properties in ResponderProps to be public
> 
>
> Key: PIRK-73
> URL: https://issues.apache.org/jira/browse/PIRK-73
> Project: PIRK
>  Issue Type: Bug
>  Components: Responder
>Reporter: Ellison Anne Williams
>Assignee: Ellison Anne Williams
> Fix For: 0.3.0
>
>
> Otherwise, they can't be referenced outside of the class...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (PIRK-73) Change All Properties in ResponderProps to be public

2016-10-15 Thread Ellison Anne Williams (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIRK-73?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ellison Anne Williams updated PIRK-73:
--
Fix Version/s: 0.3.0

> Change All Properties in ResponderProps to be public
> 
>
> Key: PIRK-73
> URL: https://issues.apache.org/jira/browse/PIRK-73
> Project: PIRK
>  Issue Type: Bug
>  Components: Responder
>Reporter: Ellison Anne Williams
>Assignee: Ellison Anne Williams
> Fix For: 0.3.0
>
>
> Otherwise, they can't be referenced outside of the class...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (PIRK-76) Add Pirk Instructions for Bluemix

2016-10-15 Thread Ellison Anne Williams (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIRK-76?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ellison Anne Williams updated PIRK-76:
--
Fix Version/s: 0.3.0

> Add Pirk Instructions for Bluemix
> -
>
> Key: PIRK-76
> URL: https://issues.apache.org/jira/browse/PIRK-76
> Project: PIRK
>  Issue Type: Improvement
>  Components: Website
>Reporter: Tim Ellison
>Assignee: Tim Ellison
> Fix For: 0.3.0
>
>
> Add instructions on how to utilize Bluemix publicly available cloud 
> infrastructure for running Pirk, particularly performing distributed testing.
> An addition to the instructions already provided via [PIRK-64].



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)