Opened 17 years ago
Closed 17 years ago
#20 closed defect (fixed)
Scrambled passwords don't fit database
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | major | Milestone: | v2.1 beta 2 |
Component: | General | Version: | |
Keywords: | password, database | Cc: |
Description
Since Beta 2 passwords are scrambled in the database. The length of a scrambled password is always 38 characters, but the database structure defines the password field as varchar(32). This causes an error, also during initialisation of the database with GAST tool (creation of admin user).
Example:
import jeeves.utils.Util; public class TestScramble { public static void main(String[] args) { String password = "something"; String scrambled = Util.scramble(password); Integer length = scrambled.length(); System.out.println("password: " + password); System.out.println("scrambled: " + scrambled); System.out.println("length: " + length); } }
Change History (2)
comment:1 by , 17 years ago
Priority: | blocker → major |
---|
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.