[ https://issues.apache.org/jira/browse/DERBY-1345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mayuresh Nirhali closed DERBY-1345.
-----------------------------------
Resolution: Invalid
Assignee: Mayuresh Nirhali
fix of Derby-1388 makes this issue INVALID.
hence closing !
> net/Request.writeScalarStream() simply prints stack trace on encryption exception
> ---------------------------------------------------------------------------------
>
> Key: DERBY-1345
> URL: https://issues.apache.org/jira/browse/DERBY-1345
> Project: Derby
> Issue Type: Bug
> Components: Network Client
> Reporter: David Van Couvering
> Assignee: Mayuresh Nirhali
>
> In writeScalarStream(), the code attempts to encrypt the data, but if there is any kind
of exception, it simply prints the stack trace and continues. It is not clear to me that
this is correct.
> try {
> EncryptionManager encryptionMgr = netAgent_.netConnection_.getEncryptionManager();
> byte[] publicKey = netAgent_.netConnection_.getTargetPublicKey();
> encryptedBytes = encryptionMgr.encryptData(newClearedBytes,
> NetConfiguration.SECMEC_EUSRIDPWD,
> publicKey,
> publicKey);
> encryptedBytesLength = encryptedBytes.length;
> } catch (Exception e) {
> e.printStackTrace();
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|