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

Pierre Villard updated NIFI-15771:
----------------------------------
    Status: Patch Available  (was: Open)

> Fix NPE in StandardPGPPrivateKeyService when keyring contains keys with 
> different passphrases
> ---------------------------------------------------------------------------------------------
>
>                 Key: NIFI-15771
>                 URL: https://issues.apache.org/jira/browse/NIFI-15771
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Pierre Villard
>            Assignee: Pierre Villard
>            Priority: Major
>
> When a PGP keyring file contains multiple private key entries protected with 
> different passphrases, extractPrivateKey() returns null for entries that 
> don't match the configured password. The code calls getKeyID() on the null 
> result without a null check, causing an NPE that fails the entire service 
> with "Reading Private Keys Failed".



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to