Defect #1422

OTP : Very very long password

Added by Mérour Xavier over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:06/07/2017
Priority:NormalDue date:
Assignee:Van Hoecke Hélène % Done:

100%

Category:SHOP
Target version:4.5.0
Affected version:4.5.0

Description

When allowing one-time password feature, the autogenerated password is a 128 characters string. Is it really necessary ?

_I tested it and when copying the password by selecting it with a double-clic, it added an extra "space" at the end to the string which leads to wrong password copied in the interface.
I happens to me... and may happen to others as well.

Thomas, why not considering a shorter password to avoid this kind of "problem" ?

History

#1 Updated by Blatti Yves over 2 years ago

Bonus proposal : could you trim the white spaces before hashing the user-provided password ?
This would avoid windows copy-pastry fails (white space selected before or after the password received in the mail).

#2 Updated by Portier Thomas over 2 years ago

  • Assignee changed from Portier Thomas to Blatti Yves

We could also add a parameter to define the password length

#3 Updated by Blatti Yves over 2 years ago

  • Subject changed from Very very long password to OTP : Very very long password
  • Status changed from Affected to Resolved
  • Target version set to 4.5.0
  • % Done changed from 0 to 100

Go for a trim().
rev. 10211

#4 Updated by Blatti Yves over 2 years ago

  • Status changed from Resolved to To merge

#5 Updated by Blatti Yves over 2 years ago

  • Assignee changed from Blatti Yves to Van Hoecke Hélène

#6 Updated by Van Hoecke Hélène over 2 years ago

  • Status changed from To merge to Closed

Also available in: Atom PDF