By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 2961

Summary: tdm can not access password with special characters
Product: TDE Reporter: Michele Calgaro <michele.calgaro>
Component: tdebaseAssignee: Michele Calgaro <michele.calgaro>
Status: RESOLVED FIXED    
Severity: normal CC: bugwatch, linux, michele.calgaro, q4os, slavek.banko
Priority: P5    
Version: R14.0.x [Trinity]   
Hardware: Other   
OS: Linux   
See Also: http://bugs.pearsoncomputing.net/show_bug.cgi?id=2989
Compiler Version: TDE Version String:
Application Version: Application Name:
Bug Depends on:    
Bug Blocks: 2247, 2885    

Description Michele Calgaro 2018-08-23 06:42:27 CDT
As per ML communication, tdm seems to have problem with some non-ascii character in password field.

http://trinity-users.pearsoncomputing.net/?0::13982
Comment 1 Q4OS Team 2018-09-02 06:08:45 CDT
I can confirm this bug as described, it's relevant for all architectures and seems to be quite serious.
Comment 2 Stefan Krusche 2018-09-12 07:17:11 CDT
May this be related?:

https://bugs.pearsoncomputing.net/show_bug.cgi?id=1499#c23
Comment 3 Stefan Krusche 2018-09-12 07:25:29 CDT
...and this:

https://bugs.pearsoncomputing.net/show_bug.cgi?id=1499#c133

IIUC there has been a patch for tdelibs 3.5.13.2 for this problem and the patch wasn't compatible with R14... and was dropped.
Comment 4 Michele Calgaro 2018-11-27 00:01:48 CST
Commit b4034166 solves the issue for R14.0.x series. This is more a temporary workaround than a real fix.

For R14.1.0, we are working on a more appropriate solution, we will update here when ready. 

@Q4OS: can you test R14.0.x PSB and let us know if this works for you too?
Comment 5 Michele Calgaro 2018-11-27 00:08:04 CST
> (In reply to Stefan Krusche from comment #2)
> May this be related?:
> https://bugs.pearsoncomputing.net/show_bug.cgi?id=1499#c23
Interesting. Yes, it is related, but it is a "patchy" patch. Solution implemented in R14.1.0 is cleaner. Stay tuned :-)
Comment 6 Michele Calgaro 2018-11-30 09:38:38 CST
Work for R14.1.0 can be followed here
https://mirror.git.trinitydesktop.org/gitea/TDE/tde/issues/7
Comment 7 Michele Calgaro 2018-12-03 08:00:46 CST
Changes for R14.1.0 are now completed and teh bug should be solved.

@Q4OS
are you able to test and let us know if the problem is fixed on your side too? (both R14.0.6 and R14.1.0 - please note the fixes are very different between the two versions)
Comment 8 Michele Calgaro 2018-12-03 08:59:41 CST
One for info.
The fixes solve the problem with password containinig special characters (accented letters, umlaut and so on).

If the user name contains special characters, login is possible but TDE launcher seems to crash after the session is started and the user ends up with an empty unusable desktop.
For this other problem, please refer to tdebase#22
https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/22
Comment 9 Q4OS Team 2018-12-03 14:25:54 CST
I can confirm Trinity accepts special characters in passwords for both TDE-14.0.6-PSB as well as TDE-14.1.0-PTB, Debian Stretch, Virtualbox. The bug seems to be fixed, thanks.
Comment 10 Michele Calgaro 2018-12-03 19:59:47 CST
@Q4OS: thanks for testing :-)
Comment 11 Stefan Krusche 2019-01-08 13:12:41 CST
Hi Michele,

thank you for your efforts and time, but I'm sorry to report that tdm still doesn't accept a '§' character.

Also, restarting tdm after changing the password in a console shell with "passwd" didn't help.

I'm running TDE-14.0.6-PSB with tdm just now upgraded to
4:14.0.6~pre29-0debian9.0.0+9  (on a Devuan/ascii system).

Kind regards,
Stefan
Comment 12 Stefan Krusche 2019-01-08 13:19:52 CST
(In reply to Stefan Krusche from comment #11)
> Hi Michele,
> 
> thank you for your efforts and time, but I'm sorry to report that tdm still
> doesn't accept a '§' character.
...in a password, that is.
Comment 13 Michele Calgaro 2019-01-10 09:05:40 CST
Hi Stefan,
I am not sure about R14.0.6-dev, but using R14.1.0-dev the character '§' is definitely working when inside a password. The code to handle passwords between R14.0.6-dev and R14.1.0-dev is quite different though. Locale is utf-8 and keyboard layout is German.

Once thing for you to check: are your system locale and your tdm locale the same? otherwise a password typed in the console may (perhaps, just speculating here) be represented differently when inputed in tdm. See TCC -> System Administration -> Login manager -> Appearance -> Locale field