Password issues on mac

Our company enforces the use of complex passwords. They must contain letters, numbers and symbols, have a minimal length and differ from the last x passwords. My password is no exception. But when I log-in from my mac I always get a ‘incorrect user name or password or username’ message.

I noticed some behavior on my mac that differs from my windows machine. When I type certain characters they light up in yellow.
hello world double quotes
Never thought about this, but what if this interferes with my password input.

My plan is to verify that the password I input is send to the server. For this I will use a local webpage. The html code for webpage I used is listed below.

<html>
  <body>
    Password <input type='password'/>
    Plaintext <input type='text'/>
  </body>
</html>

On this webpage I input all ‘special’ characters into both the password and plaintext. After revealing them with the developer tools I noticed some characters weren’t there. The missing characters are listed below.

Character Name
ˆ Caret
Double Quote
Single Quote
˜ Tilde
` Backtick

This is actually a feature not a bug. When you type ^ the input waits for the next character. Is the next character the letter e the input is combined into ê. This is the case for all missing characters in the table above. But in a password box the input is ignored. To get the special character into a password box you’ll need to type the space directly after. The only feedback is that no asterisk is added on a special character.

Back to the different behavior on my mac and my windows machine. I remembered some issue with the keyboard input type on my windows machine. On my mac the input source is U.S. International – PC. After adding the US input source and switching to it the special characters are accepted in the password box. Problem solved!

Keyboard.us

It took me some time to figure this out. Now it sounds obvious, but it is frustrating when you don’t know why your password isn’t accepted.

References

View Hidden Passwords Behind Asterisks in Chrome

Posted in Security | Tagged , | Leave a comment

Week roundup

Last week recap and links:
Image courtesy of kanate / FreeDigitalPhotos.net

Image courtesy of kanate / FreeDigitalPhotos.net

What are your best reads this week? Leave them in the comments below.

Posted in Uncategorized | Tagged | Leave a comment

Powershell to move pictures

powershellFor the birthday of our kids my wife creates hard-copy Photo Books. The procedure is time consuming but worth every minute.

Recently I migrated to the new Photos app on my MacBook. The Software for creating the book is on Windows. This means exporting the pictures to disk and moving them to another device (am looking into Parallels) Since the export creates a folder per “event” combining them into monthly folders would take ages. The event folders came with the month spelled out and that is what I used to get the files into the month folder.

See the script below.
First get-childitem selects all folders in the current folder.
Then select all folders that have october in the name.
Get the childitems (the pictures inside the folders).
Last move the pictures to a new folder called 10-2015.

get-childitem | where name -Like '*october*' | `
    Get-ChildItem -Recurse | `
    Move-Item -Destination f:\10-2015

Powershell actually did it in 5 minutes. 30 seconds to figure out the syntax and 4 minutes waiting for the copy of the files to be moved.

Posted in Development | Tagged | Leave a comment

Choose Your Own

ID-100189504My boss lets me choose my own device to work with. Given a budget, some basic rules, two default configurations and this employee is happy. But now the hard part: what do I choose?

Visual Studio and Office are where I spend most of my time. Sometimes I have multiple hyper-v machines running for demos. My current laptop (HP Probook 6570b) manages this barely and overheats / crashes. The 120 Gb space is getting a big hurdle. Battery is not a big thing but could be better too.

Options

Here is a table with the most interesting specs compared

HP Folio 1020 HP Probook 850 Surface 3 Pro
Processor Core M-5Y51 Core i5-5200U Core i5-4300U
Clock 1.1-GHz 2.2-Ghz 1.9-GHz
Memory 8 Gb 8 Gb 8 Gb
Disk 256 Gb SSD 256 Gb SSD 256 Gb SSD
Screen 13.3 inch 15.6 inch 12 inch
Resolution 1920 x 1080 1920 x 1080 2160 x 1440
Video Intel 5300 Intel 5500 Intel 5000
GeekBench 3814 5901 5665

Looks like the Probook 850 is the best option for me.

What’s missing?

I expect the best and I give the best. Here’s the beer. Here’s the entertainment. Now have fun. That’s an order!
Rasczak

  • Quad-core option,
  • 16Gb memory option and
  • MacBook Pro.

To be continued …

Posted in Tooling | Tagged , , , , , , , , , , , , | Leave a comment

Week roundup

Last week recap and links:
Image courtesy of kanate / FreeDigitalPhotos.net

Image courtesy of kanate / FreeDigitalPhotos.net

What are your best reads this week? Leave them in the comments below.

Posted in Uncategorized | Tagged | Leave a comment