Opened 14 years ago

Closed 14 years ago

#191 closed defect (fixed)

Jeeves Scramble method removing leading zero

Reported by: fxp Owned by: fxp
Priority: minor Milestone: v2.5.0
Component: General Version: v2.5.0
Keywords: Jeeves Cc:

Description

The issue is on the Jeeves.util.Util.scramble method, it looks like when converting from byte to hex, leading 0 are removed (for each byte). We don't have any issue in GeoNetwork, because we always use this method. But if you create a password from an external app, which encode the password using the same algorithm, it may produce different password.

An option could be to check password against correct algorythm and if not, check against old one and if not trigger bad login exception. This option will be backward compatible.

Attachments (1)

191.patch (5.1 KB ) - added by fxp 14 years ago.

Download all attachments as: .zip

Change History (2)

by fxp, 14 years ago

Attachment: 191.patch added

comment:1 by fxp, 14 years ago

Resolution: fixed
Status: newclosed

Committed revision 5865.

Note: See TracTickets for help on using tickets.