[jboss-jira] [JBoss JIRA] Commented: (JGRP-1100) ENCRYPT debug log prints "hex" output in ambiguous format

Dennis Reed (JIRA) jira-events at lists.jboss.org
Fri Dec 10 10:39:52 EST 2010


    [ https://issues.jboss.org/browse/JGRP-1100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569292#comment-12569292 ] 

Dennis Reed commented on JGRP-1100:
-----------------------------------

It's still valid.  The debug data printed by formatArray can't be used to get the original bytes.
I believe it applies to all JGroups versions.

> ENCRYPT debug log prints "hex" output in ambiguous format
> ---------------------------------------------------------
>
>                 Key: JGRP-1100
>                 URL: https://issues.jboss.org/browse/JGRP-1100
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 2.4.7
>            Reporter: Dennis Reed
>            Assignee: Dennis Reed
>
> ENCRYPT.formatArray doesn't convert a byte array straight to hex.
> It leaves off any leading 0 in a byte and appends ffffff in front of any negative byte.
> This prevents the original data from easily being reconstructed from the log for debugging purposes.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list