[
https://issues.apache.org/jira/browse/NIFI-3032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15664916#comment-15664916
]
ASF GitHub Bot commented on NIFI-3032:
--------------------------------------
Github user brosander commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1220#discussion_r87885510
--- Diff:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-properties-loader/src/main/java/org/apache/nifi/properties/AESSensitivePropertyProvider.java
---
@@ -16,14 +16,15 @@
*/
package org.apache.nifi.properties;
+import static sun.security.util.KeyUtil.getKeySize;
--- End diff --
@alopresto this may not work everywhere.
> NiFiPropertiesLoader can cache stale key after migration
> --------------------------------------------------------
>
> Key: NIFI-3032
> URL: https://issues.apache.org/jira/browse/NIFI-3032
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.0.0
> Reporter: Andy LoPresto
> Assignee: Andy LoPresto
> Priority: Blocker
> Labels: encryption, security
> Fix For: 1.1.0
>
>
> [[email protected]] discovered an issue where the
> {{NiFiPropertiesLoader}} can be initialized with a static
> {{SensitivePropertyProviderFactory}} containing a specific {{key}}, and then
> when {{NiFiPropertiesLoader.withKey()}} is called with a different key, the
> factory is not refreshed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)