Cryptsetup password not working on new install, and weird proliferation of characters












1















Just installed Ubuntu 16.04 on a Thinkpad X61, and ticked the box to encrypted the full system.



When it finished installing and rebooted, it did not accept the password. It fails with "Bad password or options?".



I have ruled out caps lock and keyboard layout I think, but of course it could be user error.



However, something else is happening which makes me think something is wrong. While the GUI for entering the password is on screen, you can press the down arrow key to switch to a terminal, which also has a password prompt, and they you can arrow up to get back to the GUI. But each time you do this it adds 2 asterisks as though two more characters have been typed in. If you type one character in the GUI and then switch to terminal, back to GUI, and then back and forth again you would have 9 asterisks in the box as though you had typed 9 characters.



I ended up reinstalling Ubuntu and just opting for home folder encryption, and this worked fine. but I would like to know what is wrong with the full disk encryption, if this is a bug or something I don't understand.



Any ideas?










share|improve this question



























    1















    Just installed Ubuntu 16.04 on a Thinkpad X61, and ticked the box to encrypted the full system.



    When it finished installing and rebooted, it did not accept the password. It fails with "Bad password or options?".



    I have ruled out caps lock and keyboard layout I think, but of course it could be user error.



    However, something else is happening which makes me think something is wrong. While the GUI for entering the password is on screen, you can press the down arrow key to switch to a terminal, which also has a password prompt, and they you can arrow up to get back to the GUI. But each time you do this it adds 2 asterisks as though two more characters have been typed in. If you type one character in the GUI and then switch to terminal, back to GUI, and then back and forth again you would have 9 asterisks in the box as though you had typed 9 characters.



    I ended up reinstalling Ubuntu and just opting for home folder encryption, and this worked fine. but I would like to know what is wrong with the full disk encryption, if this is a bug or something I don't understand.



    Any ideas?










    share|improve this question

























      1












      1








      1








      Just installed Ubuntu 16.04 on a Thinkpad X61, and ticked the box to encrypted the full system.



      When it finished installing and rebooted, it did not accept the password. It fails with "Bad password or options?".



      I have ruled out caps lock and keyboard layout I think, but of course it could be user error.



      However, something else is happening which makes me think something is wrong. While the GUI for entering the password is on screen, you can press the down arrow key to switch to a terminal, which also has a password prompt, and they you can arrow up to get back to the GUI. But each time you do this it adds 2 asterisks as though two more characters have been typed in. If you type one character in the GUI and then switch to terminal, back to GUI, and then back and forth again you would have 9 asterisks in the box as though you had typed 9 characters.



      I ended up reinstalling Ubuntu and just opting for home folder encryption, and this worked fine. but I would like to know what is wrong with the full disk encryption, if this is a bug or something I don't understand.



      Any ideas?










      share|improve this question














      Just installed Ubuntu 16.04 on a Thinkpad X61, and ticked the box to encrypted the full system.



      When it finished installing and rebooted, it did not accept the password. It fails with "Bad password or options?".



      I have ruled out caps lock and keyboard layout I think, but of course it could be user error.



      However, something else is happening which makes me think something is wrong. While the GUI for entering the password is on screen, you can press the down arrow key to switch to a terminal, which also has a password prompt, and they you can arrow up to get back to the GUI. But each time you do this it adds 2 asterisks as though two more characters have been typed in. If you type one character in the GUI and then switch to terminal, back to GUI, and then back and forth again you would have 9 asterisks in the box as though you had typed 9 characters.



      I ended up reinstalling Ubuntu and just opting for home folder encryption, and this worked fine. but I would like to know what is wrong with the full disk encryption, if this is a bug or something I don't understand.



      Any ideas?







      disk-encryption ubuntu-16.04






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 17 '17 at 17:08









      naominaomi

      1359




      1359






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I've done this process with Kubuntu but yes I've ran into the same issue. Currently have a question awaiting answer at askubuntu.



          I've figured out something, with a 'more secure' password. over 12 characters, random plus special characters for some reason fails to work to decrypt after 100's of times entering it. When I re-did install and used 'test' w/out quotes as the password, that works fine. Weird.



          Maybe, logging in when password is test and manually changing the password to your 'more secure' one would work. Cryptsetup is not developed by the same people as Kubuntu, so the configuration of it should works without issues. My concern is why this built in way of encrypting isn't working. If they know it's bugged, and can't fix it then remove it. If they can fix it, then fix it. If their are password requirements overexceeded or underexceeded then list the requirements next to password box and most importantly, do not let user proceed with an 'invalid choice of a password'. If these were met, it would make process easier on us users. But hope to figure this out soon enough.






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1269393%2fcryptsetup-password-not-working-on-new-install-and-weird-proliferation-of-chara%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I've done this process with Kubuntu but yes I've ran into the same issue. Currently have a question awaiting answer at askubuntu.



            I've figured out something, with a 'more secure' password. over 12 characters, random plus special characters for some reason fails to work to decrypt after 100's of times entering it. When I re-did install and used 'test' w/out quotes as the password, that works fine. Weird.



            Maybe, logging in when password is test and manually changing the password to your 'more secure' one would work. Cryptsetup is not developed by the same people as Kubuntu, so the configuration of it should works without issues. My concern is why this built in way of encrypting isn't working. If they know it's bugged, and can't fix it then remove it. If they can fix it, then fix it. If their are password requirements overexceeded or underexceeded then list the requirements next to password box and most importantly, do not let user proceed with an 'invalid choice of a password'. If these were met, it would make process easier on us users. But hope to figure this out soon enough.






            share|improve this answer




























              0














              I've done this process with Kubuntu but yes I've ran into the same issue. Currently have a question awaiting answer at askubuntu.



              I've figured out something, with a 'more secure' password. over 12 characters, random plus special characters for some reason fails to work to decrypt after 100's of times entering it. When I re-did install and used 'test' w/out quotes as the password, that works fine. Weird.



              Maybe, logging in when password is test and manually changing the password to your 'more secure' one would work. Cryptsetup is not developed by the same people as Kubuntu, so the configuration of it should works without issues. My concern is why this built in way of encrypting isn't working. If they know it's bugged, and can't fix it then remove it. If they can fix it, then fix it. If their are password requirements overexceeded or underexceeded then list the requirements next to password box and most importantly, do not let user proceed with an 'invalid choice of a password'. If these were met, it would make process easier on us users. But hope to figure this out soon enough.






              share|improve this answer


























                0












                0








                0







                I've done this process with Kubuntu but yes I've ran into the same issue. Currently have a question awaiting answer at askubuntu.



                I've figured out something, with a 'more secure' password. over 12 characters, random plus special characters for some reason fails to work to decrypt after 100's of times entering it. When I re-did install and used 'test' w/out quotes as the password, that works fine. Weird.



                Maybe, logging in when password is test and manually changing the password to your 'more secure' one would work. Cryptsetup is not developed by the same people as Kubuntu, so the configuration of it should works without issues. My concern is why this built in way of encrypting isn't working. If they know it's bugged, and can't fix it then remove it. If they can fix it, then fix it. If their are password requirements overexceeded or underexceeded then list the requirements next to password box and most importantly, do not let user proceed with an 'invalid choice of a password'. If these were met, it would make process easier on us users. But hope to figure this out soon enough.






                share|improve this answer













                I've done this process with Kubuntu but yes I've ran into the same issue. Currently have a question awaiting answer at askubuntu.



                I've figured out something, with a 'more secure' password. over 12 characters, random plus special characters for some reason fails to work to decrypt after 100's of times entering it. When I re-did install and used 'test' w/out quotes as the password, that works fine. Weird.



                Maybe, logging in when password is test and manually changing the password to your 'more secure' one would work. Cryptsetup is not developed by the same people as Kubuntu, so the configuration of it should works without issues. My concern is why this built in way of encrypting isn't working. If they know it's bugged, and can't fix it then remove it. If they can fix it, then fix it. If their are password requirements overexceeded or underexceeded then list the requirements next to password box and most importantly, do not let user proceed with an 'invalid choice of a password'. If these were met, it would make process easier on us users. But hope to figure this out soon enough.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 22 '18 at 15:24









                DarynDaryn

                1




                1






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1269393%2fcryptsetup-password-not-working-on-new-install-and-weird-proliferation-of-chara%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                    Mangá

                     ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕