You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2022/03/23 18:32:00 UTC

[jira] [Resolved] (NIFI-1468) Add unit tests for invalid cipher streams

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

David Handermann resolved NIFI-1468.
------------------------------------
    Fix Version/s: 1.17.0
       Resolution: Fixed

> 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
>             Fix For: 1.17.0
>
>   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)