[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 11:59:53 EST 2010
[ https://issues.jboss.org/browse/JGRP-1100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569318#comment-12569318 ]
Dennis Reed commented on JGRP-1100:
-----------------------------------
Being able to see the value of the key can be very useful in debugging a problem in ENCRYPT.
(That's when I ran across this bug in formatArray).
Although it's certainly not something you want logged unless you're debugging ENCRYPT.
> 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
> Fix For: 2.4.10, 2.12
>
>
> 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