Choose style:

Author Topic: mintUpdate doesn't accept passwords with Unicode characters  (Read 479 times)

0 Members and 1 Guest are viewing this topic.

Offline Pikolo

  • Trusted User
  • Member
  • *****
  • Posts: 138
  • Karma: 25
    • View Profile
  • Peppermint version(s): 8
mintUpdate doesn't accept passwords with Unicode characters
« on: January 09, 2018, 12:13:56 pm »
Hi Mark,
I'm running Peppermint 8, mintUpdate version 4.6.7+peppermint1. After I changed my password, I couldn't do updates via mintUpdate - it would claim my password was wrong. I could log in, and I could do updates from the commandline, so I thik something is wrong with the way the password is parsed.

The two Unicode(aka. non-ASCII) characters in my password are ż and ą, Polish alphabet letters. They're both inside UTF-8, so I didn't assume they'd cause any problems, but apparently they do.

Also, I'd normally file this bugreport on Github, but there doesn't seem to be a mintUpdate repository inside https://github.com/peppermintos. Did I miss it?

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26067
  • Karma: 2841
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: mintUpdate doesn't accept passwords with Unicode characters
« Reply #1 on: January 09, 2018, 01:02:02 pm »
How would you normally type that character on your keyboard ?

I mean is it a standard character on a polish layout ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Pikolo

  • Trusted User
  • Member
  • *****
  • Posts: 138
  • Karma: 25
    • View Profile
  • Peppermint version(s): 8
Re: mintUpdate doesn't accept passwords with Unicode characters
« Reply #2 on: January 09, 2018, 04:37:34 pm »
It's Alt + a for ą and Alt + z for ż on Polish(Programmers*) keyboard layouts. I would say that makes them standard.

*There is also a Polish 214 aka. Polish Dvorak keyboard layout, but I've never seen it used on purpose.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26067
  • Karma: 2841
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: mintUpdate doesn't accept passwords with Unicode characters
« Reply #3 on: January 10, 2018, 09:37:33 pm »
If you write the password in say a text file, then copy/paste it into the terminal password prompt, does it work ?

and does hitting Alt+a type an ą at a normal terminal prompt ?

I'm wondering if the keyboard modifier for ą is different in a terminal .. the same way Ctrl+v = Paste everywhere except a terminal where it's Ctrl+Shift+v
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec