{"id":1183,"date":"2015-09-12T20:59:10","date_gmt":"2015-09-13T01:59:10","guid":{"rendered":"http:\/\/osric.com\/chris\/accidental-developer\/?p=1183"},"modified":"2015-09-12T20:59:10","modified_gmt":"2015-09-13T01:59:10","slug":"password-form-usability-duke-energy","status":"publish","type":"post","link":"https:\/\/osric.com\/chris\/accidental-developer\/2015\/09\/password-form-usability-duke-energy\/","title":{"rendered":"Password Form Usability: Duke Energy"},"content":{"rendered":"<p>When you&#8217;re singing up with any online service, picking a password is always trouble. What weird password requirements does this service have? Tonight I had that question with Duke Energy&#8217;s sign-up form. Fortunately, they had a Help icon that described the password rules:<\/p>\n<figure id=\"attachment_1186\" aria-describedby=\"caption-attachment-1186\" style=\"width: 703px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/osric.com\/chris\/accidental-developer\/wp-content\/uploads\/2015\/09\/password-rules.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/osric.com\/chris\/accidental-developer\/wp-content\/uploads\/2015\/09\/password-rules.png\" alt=\"Duke Energy Sign-up Form: password rules\" width=\"703\" height=\"275\" class=\"size-full wp-image-1186\" srcset=\"https:\/\/osric.com\/chris\/accidental-developer\/wp-content\/uploads\/2015\/09\/password-rules.png 703w, https:\/\/osric.com\/chris\/accidental-developer\/wp-content\/uploads\/2015\/09\/password-rules-300x117.png 300w\" sizes=\"auto, (max-width: 703px) 100vw, 703px\" \/><\/a><figcaption id=\"caption-attachment-1186\" class=\"wp-caption-text\">Text reads: Password are case-sensitive and must contain at least eight letters or numbers.<\/figcaption><\/figure>\n<p>OK, minimum of 8 alphanumeric characters. Easy enough.<\/p>\n<p>I use <a href=\"http:\/\/passwordsafe.sourceforge.net\/\">Password Safe<\/a> as my password manager. I have no idea what any of my passwords are: they are auto-generated random strings. I generated a new random password and entered it into the form:<\/p>\n<figure id=\"attachment_1187\" aria-describedby=\"caption-attachment-1187\" style=\"width: 707px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/osric.com\/chris\/accidental-developer\/wp-content\/uploads\/2015\/09\/strong-but-invalid-password.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/osric.com\/chris\/accidental-developer\/wp-content\/uploads\/2015\/09\/strong-but-invalid-password.png\" alt=\"Duke Energy Form: password feedback mixed messages\" width=\"707\" height=\"258\" class=\"size-full wp-image-1187\" srcset=\"https:\/\/osric.com\/chris\/accidental-developer\/wp-content\/uploads\/2015\/09\/strong-but-invalid-password.png 707w, https:\/\/osric.com\/chris\/accidental-developer\/wp-content\/uploads\/2015\/09\/strong-but-invalid-password-300x109.png 300w\" sizes=\"auto, (max-width: 707px) 100vw, 707px\" \/><\/a><figcaption id=\"caption-attachment-1187\" class=\"wp-caption-text\">Text reads: Must be at least eight characters, contain one letter and one number and no special characters.<\/figcaption><\/figure>\n<p>OK, so the password rules are a little different than what was initially described. But which symbols are <em>special characters<\/em>? And this screen is sending mixed-messages: if the password strength is rated Strong, why is it not valid?<\/p>\n<p>I updated the password generation rules in Password Safe to generate a new password, assuming that only alphanumeric characters are allowed:<\/p>\n<ul>\n<li>Use lowercase letters, minimum 1<\/li>\n<li>Use upper case letters, no minimum<\/li>\n<li>Use numbers, minimum 1<\/li>\n<li>No symbols<\/li>\n<\/ul>\n<p>And, since no symbols are included, I increased the password length to 16 characters. This new password was accepted, but the feedback indicates that the password is only moderately strong!<\/p>\n<figure id=\"attachment_1188\" aria-describedby=\"caption-attachment-1188\" style=\"width: 709px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/osric.com\/chris\/accidental-developer\/wp-content\/uploads\/2015\/09\/valid-but-medium-strength-password.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/osric.com\/chris\/accidental-developer\/wp-content\/uploads\/2015\/09\/valid-but-medium-strength-password.png\" alt=\"Duke Energy form: a valid password, rated moderately strong\" width=\"709\" height=\"277\" class=\"size-full wp-image-1188\" srcset=\"https:\/\/osric.com\/chris\/accidental-developer\/wp-content\/uploads\/2015\/09\/valid-but-medium-strength-password.png 709w, https:\/\/osric.com\/chris\/accidental-developer\/wp-content\/uploads\/2015\/09\/valid-but-medium-strength-password-300x117.png 300w\" sizes=\"auto, (max-width: 709px) 100vw, 709px\" \/><\/a><figcaption id=\"caption-attachment-1188\" class=\"wp-caption-text\">The password is valid, but rated only moderately strong<\/figcaption><\/figure>\n<p>I&#8217;m guessing that the code that generates the password strength indicator is from a 3rd-party and has no knowledge of Duke Energy&#8217;s password rules.<\/p>\n<p>My problems with this, from a usability perspective:<\/p>\n<ol>\n<li>The password rules should apparent and described accurately.<\/li>\n<li>The password strength indicator should be aware of any password rules, and should describe a rejected password as such.<\/li>\n<\/ol>\n<p>From a security perspective, I don&#8217;t see why any keyboard characters should be restricted. More characters to choose from means more complexity. Plus, if there were no character restrictions, it would be easier to describe the rules&#8211;and use an accurate 3rd-party password-strength tool. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you&#8217;re singing up with any online service, picking a password is always trouble. What weird password requirements does this service have? Tonight I had that question with Duke Energy&#8217;s sign-up form. Fortunately, they had a Help icon that described the password rules: OK, minimum of 8 alphanumeric characters. Easy enough. I use Password Safe &hellip; <a href=\"https:\/\/osric.com\/chris\/accidental-developer\/2015\/09\/password-form-usability-duke-energy\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Password Form Usability: Duke Energy<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[50,260],"class_list":["post-1183","post","type-post","status-publish","format-standard","hentry","category-user-interface","tag-passwords","tag-ux"],"_links":{"self":[{"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/posts\/1183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/comments?post=1183"}],"version-history":[{"count":3,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/posts\/1183\/revisions"}],"predecessor-version":[{"id":1190,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/posts\/1183\/revisions\/1190"}],"wp:attachment":[{"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/media?parent=1183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/categories?post=1183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/osric.com\/chris\/accidental-developer\/wp-json\/wp\/v2\/tags?post=1183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}