[jira] [Commented] (CRYPTO-127) CryptoInputStream#read should handle non-block case

2016-10-23 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15600808#comment-15600808 ] Xianda Ke commented on CRYPTO-127: -- similar to JCE: CipherInputStream#read() > CryptoInputStream#read

[jira] [Created] (CRYPTO-127) CryptoInputStream#read should handle non-block case

2016-10-23 Thread Xianda Ke (JIRA)
Xianda Ke created CRYPTO-127: Summary: CryptoInputStream#read should handle non-block case Key: CRYPTO-127 URL: https://issues.apache.org/jira/browse/CRYPTO-127 Project: Commons Crypto Issue

[jira] [Created] (CRYPTO-126) Add new testcases for GCM cipher

2016-10-18 Thread Xianda Ke (JIRA)
Xianda Ke created CRYPTO-126: Summary: Add new testcases for GCM cipher Key: CRYPTO-126 URL: https://issues.apache.org/jira/browse/CRYPTO-126 Project: Commons Crypto Issue Type: Sub-task

[jira] [Assigned] (CRYPTO-126) Add new testcases for GCM cipher

2016-10-18 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xianda Ke reassigned CRYPTO-126: Assignee: Xianda Ke > Add new testcases for GCM cipher > > >

[jira] [Commented] (CRYPTO-60) opensslCipher support GCM mode

2016-10-17 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15581615#comment-15581615 ] Xianda Ke commented on CRYPTO-60: - Thanks a lot, Dapeng. The latest PR:

[jira] [Comment Edited] (CRYPTO-60) opensslCipher support GCM mode

2016-10-17 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15299508#comment-15299508 ] Xianda Ke edited comment on CRYPTO-60 at 10/17/16 8:43 AM: --- Please help review:

[jira] [Updated] (CRYPTO-60) opensslCipher support GCM mode

2016-10-14 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xianda Ke updated CRYPTO-60: Attachment: gcm_design_doc.pdf > opensslCipher support GCM mode > --- > >

[jira] [Commented] (CRYPTO-60) opensslCipher support GCM mode

2016-10-14 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15574681#comment-15574681 ] Xianda Ke commented on CRYPTO-60: - (CPU: Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz, Memory: 64G DDR3 @1600

[jira] [Comment Edited] (CRYPTO-60) opensslCipher support GCM mode

2016-10-14 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15299404#comment-15299404 ] Xianda Ke edited comment on CRYPTO-60 at 10/14/16 8:29 AM: --- Here is a sample. The

[jira] [Commented] (CRYPTO-108) OpenSSL does not handle Native code loading failure

2016-07-06 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15363906#comment-15363906 ] Xianda Ke commented on CRYPTO-108: -- [~s...@apache.org], Currently, OpenSSL doesn't throw exception. the

[jira] [Commented] (CRYPTO-93) add a factory method to provide simpler API

2016-06-29 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15354786#comment-15354786 ] Xianda Ke commented on CRYPTO-93: - GitHub PR: https://github.com/apache/commons-crypto/pull/63 > add a

[jira] [Updated] (CRYPTO-93) add a factory method to provide simpler API

2016-06-29 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xianda Ke updated CRYPTO-93: Description: Add a default factory method to provide simpler API and better hardware random.

[jira] [Updated] (CRYPTO-93) add a factory method to provide simpler API

2016-06-29 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xianda Ke updated CRYPTO-93: Description: Add a default factory method to provide simpler API, and use the better hardware random by

[jira] [Updated] (CRYPTO-93) add a factory method to provide simpler API

2016-06-29 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xianda Ke updated CRYPTO-93: Summary: add a factory method to provide simpler API (was: add a factory method to provide simpler API and

[jira] [Created] (CRYPTO-93) add a factory method to provide simpler API and better hardware random

2016-06-29 Thread Xianda Ke (JIRA)
Xianda Ke created CRYPTO-93: --- Summary: add a factory method to provide simpler API and better hardware random Key: CRYPTO-93 URL: https://issues.apache.org/jira/browse/CRYPTO-93 Project: Commons Crypto

[jira] [Resolved] (CRYPTO-81) improve factory api for constructing Random & Cipher

2016-06-29 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xianda Ke resolved CRYPTO-81. - Resolution: Fixed Since it is already fixed in CRYPTO-74, combined with some of the ideas in CRYPTO-81,

[jira] [Commented] (CRYPTO-82) CipherTransformation is an enum which limits the possible transformations

2016-06-24 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15348033#comment-15348033 ] Xianda Ke commented on CRYPTO-82: - Project: http://git-wip-us.apache.org/repos/asf/commons-crypto/repo

[jira] [Commented] (CRYPTO-89) more robust native code to eliminate memory leak

2016-06-23 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15345989#comment-15345989 ] Xianda Ke commented on CRYPTO-89: - GitHub PR: https://github.com/apache/commons-crypto/pull/62 > more

[jira] [Commented] (CRYPTO-89) more robust native code to eliminate memory leak

2016-06-23 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15345950#comment-15345950 ] Xianda Ke commented on CRYPTO-89: - {code:title=OpensslNative.c}

[jira] [Commented] (CRYPTO-89) more robust native code to eliminate memory leak

2016-06-22 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15345754#comment-15345754 ] Xianda Ke commented on CRYPTO-89: - C doesn't support exceptions, try-finally blocks, or RAII at all. A

[jira] [Updated] (CRYPTO-89) more robust native code to eliminate memory leak

2016-06-22 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xianda Ke updated CRYPTO-89: Description: currently, when handling error in the native code, some resource allocated is not deallocated.

[jira] [Created] (CRYPTO-89) more robust native code to eliminate memory leak

2016-06-22 Thread Xianda Ke (JIRA)
Xianda Ke created CRYPTO-89: --- Summary: more robust native code to eliminate memory leak Key: CRYPTO-89 URL: https://issues.apache.org/jira/browse/CRYPTO-89 Project: Commons Crypto Issue Type: Bug

[jira] [Commented] (CRYPTO-82) CipherTransformation is an enum which limits the possible transformations

2016-06-22 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15345610#comment-15345610 ] Xianda Ke commented on CRYPTO-82: - GitHub PR: https://github.com/apache/commons-crypto/pull/61 >

[jira] [Assigned] (CRYPTO-82) CipherTransformation is an enum which limits the possible transformations

2016-06-22 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-82?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xianda Ke reassigned CRYPTO-82: --- Assignee: Xianda Ke > CipherTransformation is an enum which limits the possible transformations >

[jira] [Commented] (CRYPTO-82) CipherTransformation is an enum which limits the possible transformations

2016-06-22 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15343851#comment-15343851 ] Xianda Ke commented on CRYPTO-82: - make sense. We can use String like "AES/CTR/NoPadding" as

[jira] [Assigned] (CRYPTO-86) What purpose does the Properties instance serve?

2016-06-21 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xianda Ke reassigned CRYPTO-86: --- Assignee: Xianda Ke > What purpose does the Properties instance serve? >

[jira] [Commented] (CRYPTO-86) What purpose does the Properties instance serve?

2016-06-21 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15341292#comment-15341292 ] Xianda Ke commented on CRYPTO-86: - Properties instance was used only in

[jira] [Comment Edited] (CRYPTO-81) improve factory api for constructing Random & Cipher

2016-06-16 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15335239#comment-15335239 ] Xianda Ke edited comment on CRYPTO-81 at 6/17/16 5:04 AM: -- Thanks

[jira] [Commented] (CRYPTO-81) improve factory api for constructing Random & Cipher

2016-06-16 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15335239#comment-15335239 ] Xianda Ke commented on CRYPTO-81: - Thanks [~s...@apache.org] for your comments. Crypto is mainly intended

[jira] [Comment Edited] (CRYPTO-81) improve factory api for constructing Random & Cipher

2016-06-16 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15333921#comment-15333921 ] Xianda Ke edited comment on CRYPTO-81 at 6/16/16 3:11 PM: -- [~s...@apache.org],

[jira] [Commented] (CRYPTO-81) improve factory api for constructing Random & Cipher

2016-06-16 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15333921#comment-15333921 ] Xianda Ke commented on CRYPTO-81: - [~s...@apache.org], agree with you. using System properties for

[jira] [Moved] (CRYPTO-81) del

2016-06-16 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xianda Ke moved PIG-4929 to CRYPTO-81: -- Workflow: jira (was: no-reopen-closed, patch-avail) Key: CRYPTO-81 (was:

[jira] [Updated] (CRYPTO-81) improve factory api for constructing Random & Cipher

2016-06-16 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xianda Ke updated CRYPTO-81: Assignee: Xianda Ke Description: currently, the client code to construct a CryptoRandom or

[jira] [Created] (CRYPTO-77) Hide Steam's Ctor with cipher parameter

2016-06-15 Thread Xianda Ke (JIRA)
Xianda Ke created CRYPTO-77: --- Summary: Hide Steam's Ctor with cipher parameter Key: CRYPTO-77 URL: https://issues.apache.org/jira/browse/CRYPTO-77 Project: Commons Crypto Issue Type: Bug

[jira] [Commented] (CRYPTO-71) Hide the implementation of OpensslCipher

2016-06-14 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15331188#comment-15331188 ] Xianda Ke commented on CRYPTO-71: - PR: https://github.com/apache/commons-crypto/pull/52 Please help review

[jira] [Assigned] (CRYPTO-71) Hide the implementation of OpensslCipher

2016-06-14 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xianda Ke reassigned CRYPTO-71: --- Assignee: Xianda Ke > Hide the implementation of OpensslCipher >

[jira] [Updated] (CRYPTO-71) Hide the implementation of OpensslCipher

2016-06-14 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xianda Ke updated CRYPTO-71: Description: classes Openssl and OpensslNative are implemetation, they should be package private Issue

[jira] [Updated] (CRYPTO-71) Hide the implementation of OpensslCipher

2016-06-14 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xianda Ke updated CRYPTO-71: Environment: (was: classes Openssl and OpensslNative are implemetation, they should be package private)

[jira] [Created] (CRYPTO-71) Hide the implementation of OpensslCipher

2016-06-14 Thread Xianda Ke (JIRA)
Xianda Ke created CRYPTO-71: --- Summary: Hide the implementation of OpensslCipher Key: CRYPTO-71 URL: https://issues.apache.org/jira/browse/CRYPTO-71 Project: Commons Crypto Issue Type: Bug

[jira] [Commented] (CRYPTO-60) opensslCipher support GCM mode

2016-05-24 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15299508#comment-15299508 ] Xianda Ke commented on CRYPTO-60: - Please help review: [Github

[jira] [Commented] (CRYPTO-60) opensslCipher support GCM mode

2016-05-24 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15299404#comment-15299404 ] Xianda Ke commented on CRYPTO-60: - Here is a sample. The behavior is similar to JCE.

[jira] [Created] (CRYPTO-60) opensslCipher support GCM mode

2016-05-24 Thread Xianda Ke (JIRA)
Xianda Ke created CRYPTO-60: --- Summary: opensslCipher support GCM mode Key: CRYPTO-60 URL: https://issues.apache.org/jira/browse/CRYPTO-60 Project: Commons Crypto Issue Type: Sub-task

[jira] [Created] (CRYPTO-59) support GCM in Apache Commons Crypto

2016-05-20 Thread Xianda Ke (JIRA)
Xianda Ke created CRYPTO-59: --- Summary: support GCM in Apache Commons Crypto Key: CRYPTO-59 URL: https://issues.apache.org/jira/browse/CRYPTO-59 Project: Commons Crypto Issue Type: Improvement

[jira] [Commented] (CRYPTO-56) add informative error message, keep consistent with JDK

2016-05-11 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15279644#comment-15279644 ] Xianda Ke commented on CRYPTO-56: - I am out of office on Monday morning, with limited access to email. Any

[jira] [Commented] (CRYPTO-56) add informative error message, keep consistent with JDK

2016-05-06 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15274011#comment-15274011 ] Xianda Ke commented on CRYPTO-56: - please help review. [GitHub

[jira] [Created] (CRYPTO-56) add informative error message, keep consistent with JDK

2016-05-06 Thread Xianda Ke (JIRA)
Xianda Ke created CRYPTO-56: --- Summary: add informative error message, keep consistent with JDK Key: CRYPTO-56 URL: https://issues.apache.org/jira/browse/CRYPTO-56 Project: Commons Crypto Issue

[jira] [Commented] (CRYPTO-41) Update user guide according to the renamed classes

2016-05-03 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-41?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15268429#comment-15268429 ] Xianda Ke commented on CRYPTO-41: - I have added "Prerequisites" & "Using Commons Crypto in Maven" in the

[jira] [Comment Edited] (CRYPTO-41) Update user guide according to the renamed classes

2016-05-03 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-41?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15268371#comment-15268371 ] Xianda Ke edited comment on CRYPTO-41 at 5/3/16 8:39 AM: - [~jerrychenhf]

[jira] [Commented] (CRYPTO-41) Update user guide according to the renamed classes

2016-05-03 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-41?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15268371#comment-15268371 ] Xianda Ke commented on CRYPTO-41: - fixed. please help review [GitHub

[jira] [Commented] (CRYPTO-40) Remove the full qualified package name for shadowed classes

2016-05-02 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15267918#comment-15267918 ] Xianda Ke commented on CRYPTO-40: - [github pull request | https://github.com/apache/commons-crypto/pull/28]

[jira] [Commented] (CRYPTO-33) SecureRandom shadows JVM class

2016-04-28 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15261927#comment-15261927 ] Xianda Ke commented on CRYPTO-33: - hi [~jerrychenhf] & [~sundapeng], Please help review: [pull request

[jira] [Commented] (CRYPTO-13) The API differences between apache.commons.crypto and JCE

2016-04-27 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-13?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15259709#comment-15259709 ] Xianda Ke commented on CRYPTO-13: - PR: https://github.com/apache/commons-crypto/pull/16 please help review

[jira] [Commented] (CRYPTO-12) Names of CryptoInputStream & CryptoOutputStream

2016-04-25 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-12?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15255952#comment-15255952 ] Xianda Ke commented on CRYPTO-12: - Patch is ready. Please help review. github [Pull Request

[jira] [Updated] (CRYPTO-13) The API differences between apache.commons.crypto and JCE

2016-04-22 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xianda Ke updated CRYPTO-13: Issue Type: Improvement (was: Bug) > The API differences between apache.commons.crypto and JCE >

[jira] [Updated] (CRYPTO-12) Names of CryptoInputStream & CryptoOutputStream

2016-04-22 Thread Xianda Ke (JIRA)
[ https://issues.apache.org/jira/browse/CRYPTO-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xianda Ke updated CRYPTO-12: Issue Type: Improvement (was: Bug) > Names of CryptoInputStream & CryptoOutputStream >

[jira] [Created] (CRYPTO-13) The API differences between apache.commons.crypto and JCE

2016-04-22 Thread Xianda Ke (JIRA)
Xianda Ke created CRYPTO-13: --- Summary: The API differences between apache.commons.crypto and JCE Key: CRYPTO-13 URL: https://issues.apache.org/jira/browse/CRYPTO-13 Project: Apache Commons Crypto

[jira] [Created] (CRYPTO-12) Names of CryptoInputStream & CryptoOutputStream

2016-04-22 Thread Xianda Ke (JIRA)
Xianda Ke created CRYPTO-12: --- Summary: Names of CryptoInputStream & CryptoOutputStream Key: CRYPTO-12 URL: https://issues.apache.org/jira/browse/CRYPTO-12 Project: Apache Commons Crypto Issue