[
https://issues.apache.org/jira/browse/NIFI-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy LoPresto updated NIFI-1468:
--------------------------------
Fix Version/s: (was: 0.6.0)
> Add unit tests for invalid cipher streams
> -----------------------------------------
>
> Key: NIFI-1468
> URL: https://issues.apache.org/jira/browse/NIFI-1468
> Project: Apache NiFi
> Issue Type: Test
> Components: Core Framework
> Affects Versions: 0.5.0
> Reporter: Andy LoPresto
> Assignee: Andy LoPresto
> Priority: Minor
> Labels: encryption, security
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Add unit tests for {{PasswordBasedEncryptorGroovyTest}} and
> {{KeyedEncryptorGroovyTest}} to ensure they handle invalid cipher streams
> correctly during decryption. Include the following tests:
> {{PasswordBasedEncryptorGroovyTest}}
> * {{testDecryptShouldHandleCipherStreamMissingSalt()}}
> * {{testDecryptShouldHandleCipherStreamMissingSaltDelimiter()}}
> * {{testDecryptShouldHandleCipherStreamMissingIV()}}
> * {{testDecryptShouldHandleCipherStreamMissingIVDelimiter()}}
> {{KeyedEncryptorGroovyTest}}
> * {{testDecryptShouldHandleCipherStreamMissingIV()}}
> * {{testDecryptShouldHandleCipherStreamMissingIVDelimiter()}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)