gresockj commented on pull request #5457:
URL: https://github.com/apache/nifi/pull/5457#issuecomment-945928920


   > Regarding sending the detached signature through `VerifyContentPGP`, this 
is the result of attempting to processing the input as an OpenPGP message. The 
behavior could be changed to avoid unwrapping OpenPGP messages when 
verification fails, but that would probably break other use cases if not 
implemented correctly. The logic could be more granular to detect the presence 
of a Signature or One-Pass Signature packet, what do you think?
   
   This would probably resolve the issue I described, but I wonder if it would 
be possible to call the code at [Line 
186-188](https://github.com/apache/nifi/pull/5457/files#diff-ebe449a7623de3f323fc99a1de34903509cffa5e2a7d1c434f9a6653741282ccR186)
 in any failure scenario, rather than trying to handle each case.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to