You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/07/02 17:28:07 UTC

[GitHub] [pulsar] mhp0rtal opened a new issue #4663: Misuses of cryptographic APIs

mhp0rtal opened a new issue #4663: Misuses of cryptographic APIs
URL: https://github.com/apache/pulsar/issues/4663
 
 
   Hi
   The following lines have cryptographic API misuses. <br> File name => pulsar-common/src/main/java/org/apache/pulsar/common/nar/NarUnpacker.java: Line number => 147: API name => MessageDigest:Unexpected call to method <java.security.MessageDigest: byte[] digest()> on object of type java.security.MessageDigest. Expect a call to one of the following methods <java.security.MessageDigest: void update(byte[])>,<java.security.MessageDigest: void update(byte[],int,int)>,<java.security.MessageDigest: byte[] digest(byte[])>,<java.security.MessageDigest: void update(java.nio.ByteBuffer)>,<java.security.MessageDigest: void update(byte)><BR> File name => pulsar-common/src/main/java/org/apache/pulsar/common/nar/NarUnpacker.java: Line number => 157: API name => MessageDigest:<BR>

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services