[ 
https://issues.apache.org/jira/browse/NIFI-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17511426#comment-17511426
 ] 

ASF subversion and git services commented on NIFI-1468:
-------------------------------------------------------

Commit 772adbc70957cc47256c8f7ea3668b2187e12923 in nifi's branch 
refs/heads/main from Emilio Setiadarma
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=772adbc ]

NIFI-1468 Added tests to handle invalid cipher streams missing Salt/IV

- Updated PasswordBasedEncryptorGroovyTest and KeyedEncryptorGroovyTest

This closes #5877

Signed-off-by: David Handermann <[email protected]>


> 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: Emilio Setiadarma
>            Priority: Minor
>              Labels: encryption, security
>   Original Estimate: 48h
>          Time Spent: 0.5h
>  Remaining Estimate: 47.5h
>
> 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
(v8.20.1#820001)

Reply via email to