You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "jamesnetherton (via GitHub)" <gi...@apache.org> on 2024/03/14 07:25:04 UTC

[I] Jasypt password sysenv: prefix leads to an NPE at build time if the environment variable does not exist [camel-quarkus]

jamesnetherton opened a new issue, #5874:
URL: https://github.com/apache/camel-quarkus/issues/5874

   ### Bug description
   
   There's a bug in the handling of the `sysenv: ` password prefix. If the environment variable does not exist, then the password parsing moves on to checking the `sys:` prefix. But the password variable is [nullified](https://github.com/apache/camel-quarkus/blob/main/extensions/jasypt/runtime/src/main/java/org/apache/camel/quarkus/component/jasypt/CamelJasyptSecretKeysHandlerFactory.java#L120-L126) by the failure from the previous check so there's an NPE thrown.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Jasypt password sysenv: prefix leads to an NPE at build time if the environment variable does not exist [camel-quarkus]

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton closed issue #5874: Jasypt password sysenv: prefix leads to an NPE at build time if the environment variable does not exist
URL: https://github.com/apache/camel-quarkus/issues/5874


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org