Opened 15 years ago
Closed 15 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)
Change History (2)
by , 15 years ago
comment:1 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Committed revision 5865.