How to repair encryption failure?












3














I use an encrypted external USB Hard Drive for storage. My PC no longer asks for a passphrase to open the Drive after a reboot or unplugging/replugging the USB cable. The Hard Drive just opens like an un-encrypted drive. The Ubuntu "Disks" tool shows that the external drive is still encrypted. The "Disks" tool also lets me toggle back and forth from Lock to Unlock, but neither setting enables the encryption. It is as if my PC just forgot that the external Hard Drive is encrypted.



I plugged the USB external Hard Drive into different Ubuntu (16.04) PC and encryption works fine. The alternate PC prompts for the drive's pass-code before the Drive can be opened. The encryption issue is specific to one Ubuntu workstation. The PC with the encryption issue is running Ubuntu 18.04 with all the software updates.



lekcin@SFF:~$ apt list cryptsetup -a Listing... Done
cryptsetup/bionic-updates 2:2.0.2-1ubuntu1.1 amd64
cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64


In the Disks tool, with the top split screen highlighted, the paddle lock icon indicates that the Disk is locked, while the "Contents" line at the bottom of the tool reads UNLOCKED.



Thank you PerilDuck and Sebastian! I used the "Passwords and Keys" tool (AKA Seahorse) described in the "How to make login keyring forget a password" link provided by Sebastian. That resolved the issue. Now, when I try to open the encrypted Hard Drive, I'm prompted for a password. I also ran "sudo apt install cryptsetup" and it installed OK. Thanks Again.










share|improve this question




















  • 1




    I once had a simliar question about my external, encrypted USB backup HDD (just like your case) and the answer basically was "as long as sudo apt install cryptsetup is done, it will work". I recently did a fresh install of 18.04.1 and it worked out of the box. Do you also have that "split screen" in the disks tool? What does apt list cryptsetup say? Is it [installed]?
    – PerlDuck
    Dec 27 '18 at 18:35












  • Glad to hear your issue is solved now. Only few things are more frustrating than a proper backup that cannot be accessed. Please read What should I do when someone answers my question?. But no need to hurry, though. Just take your time.
    – PerlDuck
    Dec 29 '18 at 19:01
















3














I use an encrypted external USB Hard Drive for storage. My PC no longer asks for a passphrase to open the Drive after a reboot or unplugging/replugging the USB cable. The Hard Drive just opens like an un-encrypted drive. The Ubuntu "Disks" tool shows that the external drive is still encrypted. The "Disks" tool also lets me toggle back and forth from Lock to Unlock, but neither setting enables the encryption. It is as if my PC just forgot that the external Hard Drive is encrypted.



I plugged the USB external Hard Drive into different Ubuntu (16.04) PC and encryption works fine. The alternate PC prompts for the drive's pass-code before the Drive can be opened. The encryption issue is specific to one Ubuntu workstation. The PC with the encryption issue is running Ubuntu 18.04 with all the software updates.



lekcin@SFF:~$ apt list cryptsetup -a Listing... Done
cryptsetup/bionic-updates 2:2.0.2-1ubuntu1.1 amd64
cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64


In the Disks tool, with the top split screen highlighted, the paddle lock icon indicates that the Disk is locked, while the "Contents" line at the bottom of the tool reads UNLOCKED.



Thank you PerilDuck and Sebastian! I used the "Passwords and Keys" tool (AKA Seahorse) described in the "How to make login keyring forget a password" link provided by Sebastian. That resolved the issue. Now, when I try to open the encrypted Hard Drive, I'm prompted for a password. I also ran "sudo apt install cryptsetup" and it installed OK. Thanks Again.










share|improve this question




















  • 1




    I once had a simliar question about my external, encrypted USB backup HDD (just like your case) and the answer basically was "as long as sudo apt install cryptsetup is done, it will work". I recently did a fresh install of 18.04.1 and it worked out of the box. Do you also have that "split screen" in the disks tool? What does apt list cryptsetup say? Is it [installed]?
    – PerlDuck
    Dec 27 '18 at 18:35












  • Glad to hear your issue is solved now. Only few things are more frustrating than a proper backup that cannot be accessed. Please read What should I do when someone answers my question?. But no need to hurry, though. Just take your time.
    – PerlDuck
    Dec 29 '18 at 19:01














3












3








3







I use an encrypted external USB Hard Drive for storage. My PC no longer asks for a passphrase to open the Drive after a reboot or unplugging/replugging the USB cable. The Hard Drive just opens like an un-encrypted drive. The Ubuntu "Disks" tool shows that the external drive is still encrypted. The "Disks" tool also lets me toggle back and forth from Lock to Unlock, but neither setting enables the encryption. It is as if my PC just forgot that the external Hard Drive is encrypted.



I plugged the USB external Hard Drive into different Ubuntu (16.04) PC and encryption works fine. The alternate PC prompts for the drive's pass-code before the Drive can be opened. The encryption issue is specific to one Ubuntu workstation. The PC with the encryption issue is running Ubuntu 18.04 with all the software updates.



lekcin@SFF:~$ apt list cryptsetup -a Listing... Done
cryptsetup/bionic-updates 2:2.0.2-1ubuntu1.1 amd64
cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64


In the Disks tool, with the top split screen highlighted, the paddle lock icon indicates that the Disk is locked, while the "Contents" line at the bottom of the tool reads UNLOCKED.



Thank you PerilDuck and Sebastian! I used the "Passwords and Keys" tool (AKA Seahorse) described in the "How to make login keyring forget a password" link provided by Sebastian. That resolved the issue. Now, when I try to open the encrypted Hard Drive, I'm prompted for a password. I also ran "sudo apt install cryptsetup" and it installed OK. Thanks Again.










share|improve this question















I use an encrypted external USB Hard Drive for storage. My PC no longer asks for a passphrase to open the Drive after a reboot or unplugging/replugging the USB cable. The Hard Drive just opens like an un-encrypted drive. The Ubuntu "Disks" tool shows that the external drive is still encrypted. The "Disks" tool also lets me toggle back and forth from Lock to Unlock, but neither setting enables the encryption. It is as if my PC just forgot that the external Hard Drive is encrypted.



I plugged the USB external Hard Drive into different Ubuntu (16.04) PC and encryption works fine. The alternate PC prompts for the drive's pass-code before the Drive can be opened. The encryption issue is specific to one Ubuntu workstation. The PC with the encryption issue is running Ubuntu 18.04 with all the software updates.



lekcin@SFF:~$ apt list cryptsetup -a Listing... Done
cryptsetup/bionic-updates 2:2.0.2-1ubuntu1.1 amd64
cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64


In the Disks tool, with the top split screen highlighted, the paddle lock icon indicates that the Disk is locked, while the "Contents" line at the bottom of the tool reads UNLOCKED.



Thank you PerilDuck and Sebastian! I used the "Passwords and Keys" tool (AKA Seahorse) described in the "How to make login keyring forget a password" link provided by Sebastian. That resolved the issue. Now, when I try to open the encrypted Hard Drive, I'm prompted for a password. I also ran "sudo apt install cryptsetup" and it installed OK. Thanks Again.







usb hard-drive encryption






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 29 '18 at 19:31

























asked Dec 18 '18 at 17:23









Lekcin

235




235








  • 1




    I once had a simliar question about my external, encrypted USB backup HDD (just like your case) and the answer basically was "as long as sudo apt install cryptsetup is done, it will work". I recently did a fresh install of 18.04.1 and it worked out of the box. Do you also have that "split screen" in the disks tool? What does apt list cryptsetup say? Is it [installed]?
    – PerlDuck
    Dec 27 '18 at 18:35












  • Glad to hear your issue is solved now. Only few things are more frustrating than a proper backup that cannot be accessed. Please read What should I do when someone answers my question?. But no need to hurry, though. Just take your time.
    – PerlDuck
    Dec 29 '18 at 19:01














  • 1




    I once had a simliar question about my external, encrypted USB backup HDD (just like your case) and the answer basically was "as long as sudo apt install cryptsetup is done, it will work". I recently did a fresh install of 18.04.1 and it worked out of the box. Do you also have that "split screen" in the disks tool? What does apt list cryptsetup say? Is it [installed]?
    – PerlDuck
    Dec 27 '18 at 18:35












  • Glad to hear your issue is solved now. Only few things are more frustrating than a proper backup that cannot be accessed. Please read What should I do when someone answers my question?. But no need to hurry, though. Just take your time.
    – PerlDuck
    Dec 29 '18 at 19:01








1




1




I once had a simliar question about my external, encrypted USB backup HDD (just like your case) and the answer basically was "as long as sudo apt install cryptsetup is done, it will work". I recently did a fresh install of 18.04.1 and it worked out of the box. Do you also have that "split screen" in the disks tool? What does apt list cryptsetup say? Is it [installed]?
– PerlDuck
Dec 27 '18 at 18:35






I once had a simliar question about my external, encrypted USB backup HDD (just like your case) and the answer basically was "as long as sudo apt install cryptsetup is done, it will work". I recently did a fresh install of 18.04.1 and it worked out of the box. Do you also have that "split screen" in the disks tool? What does apt list cryptsetup say? Is it [installed]?
– PerlDuck
Dec 27 '18 at 18:35














Glad to hear your issue is solved now. Only few things are more frustrating than a proper backup that cannot be accessed. Please read What should I do when someone answers my question?. But no need to hurry, though. Just take your time.
– PerlDuck
Dec 29 '18 at 19:01




Glad to hear your issue is solved now. Only few things are more frustrating than a proper backup that cannot be accessed. Please read What should I do when someone answers my question?. But no need to hurry, though. Just take your time.
– PerlDuck
Dec 29 '18 at 19:01










2 Answers
2






active

oldest

votes


















1














When you want to mount an encrypted drive you are usually asked if you want the passphrase to be forgotten immediately, stored until logout or stored forever. Your description sounds as if as some point you selected "Remember forever" on that machine. So the passphrase most likely got stored in a so-called keyring. Check out this question on how to remove it:



How to make login keyring forget a password






share|improve this answer








New contributor




Sebastian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • This fixed my issue. Thank you Sebastian.
    – Lekcin
    Dec 29 '18 at 18:39



















2














The output of your apt list cryptsetup -a shows



Listing... Done
cryptsetup/bionic-updates 2:2.0.2-1ubuntu1.1 amd64
cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64


which means the cryptsetup tools are not installed. If they were,
it would rather look like



Listing... Done
cryptsetup/bionic-updates,now 2:2.0.2-1ubuntu1.1 amd64 [installed]
cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64


Note the [installed] indicator after the first line. Just install them
and you should be fine:



sudo apt install cryptsetup





share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    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%2faskubuntu.com%2fquestions%2f1102888%2fhow-to-repair-encryption-failure%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    When you want to mount an encrypted drive you are usually asked if you want the passphrase to be forgotten immediately, stored until logout or stored forever. Your description sounds as if as some point you selected "Remember forever" on that machine. So the passphrase most likely got stored in a so-called keyring. Check out this question on how to remove it:



    How to make login keyring forget a password






    share|improve this answer








    New contributor




    Sebastian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.


















    • This fixed my issue. Thank you Sebastian.
      – Lekcin
      Dec 29 '18 at 18:39
















    1














    When you want to mount an encrypted drive you are usually asked if you want the passphrase to be forgotten immediately, stored until logout or stored forever. Your description sounds as if as some point you selected "Remember forever" on that machine. So the passphrase most likely got stored in a so-called keyring. Check out this question on how to remove it:



    How to make login keyring forget a password






    share|improve this answer








    New contributor




    Sebastian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.


















    • This fixed my issue. Thank you Sebastian.
      – Lekcin
      Dec 29 '18 at 18:39














    1












    1








    1






    When you want to mount an encrypted drive you are usually asked if you want the passphrase to be forgotten immediately, stored until logout or stored forever. Your description sounds as if as some point you selected "Remember forever" on that machine. So the passphrase most likely got stored in a so-called keyring. Check out this question on how to remove it:



    How to make login keyring forget a password






    share|improve this answer








    New contributor




    Sebastian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.









    When you want to mount an encrypted drive you are usually asked if you want the passphrase to be forgotten immediately, stored until logout or stored forever. Your description sounds as if as some point you selected "Remember forever" on that machine. So the passphrase most likely got stored in a so-called keyring. Check out this question on how to remove it:



    How to make login keyring forget a password







    share|improve this answer








    New contributor




    Sebastian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.









    share|improve this answer



    share|improve this answer






    New contributor




    Sebastian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.









    answered Dec 28 '18 at 21:38









    Sebastian

    564




    564




    New contributor




    Sebastian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





    New contributor





    Sebastian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






    Sebastian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.












    • This fixed my issue. Thank you Sebastian.
      – Lekcin
      Dec 29 '18 at 18:39


















    • This fixed my issue. Thank you Sebastian.
      – Lekcin
      Dec 29 '18 at 18:39
















    This fixed my issue. Thank you Sebastian.
    – Lekcin
    Dec 29 '18 at 18:39




    This fixed my issue. Thank you Sebastian.
    – Lekcin
    Dec 29 '18 at 18:39













    2














    The output of your apt list cryptsetup -a shows



    Listing... Done
    cryptsetup/bionic-updates 2:2.0.2-1ubuntu1.1 amd64
    cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64


    which means the cryptsetup tools are not installed. If they were,
    it would rather look like



    Listing... Done
    cryptsetup/bionic-updates,now 2:2.0.2-1ubuntu1.1 amd64 [installed]
    cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64


    Note the [installed] indicator after the first line. Just install them
    and you should be fine:



    sudo apt install cryptsetup





    share|improve this answer


























      2














      The output of your apt list cryptsetup -a shows



      Listing... Done
      cryptsetup/bionic-updates 2:2.0.2-1ubuntu1.1 amd64
      cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64


      which means the cryptsetup tools are not installed. If they were,
      it would rather look like



      Listing... Done
      cryptsetup/bionic-updates,now 2:2.0.2-1ubuntu1.1 amd64 [installed]
      cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64


      Note the [installed] indicator after the first line. Just install them
      and you should be fine:



      sudo apt install cryptsetup





      share|improve this answer
























        2












        2








        2






        The output of your apt list cryptsetup -a shows



        Listing... Done
        cryptsetup/bionic-updates 2:2.0.2-1ubuntu1.1 amd64
        cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64


        which means the cryptsetup tools are not installed. If they were,
        it would rather look like



        Listing... Done
        cryptsetup/bionic-updates,now 2:2.0.2-1ubuntu1.1 amd64 [installed]
        cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64


        Note the [installed] indicator after the first line. Just install them
        and you should be fine:



        sudo apt install cryptsetup





        share|improve this answer












        The output of your apt list cryptsetup -a shows



        Listing... Done
        cryptsetup/bionic-updates 2:2.0.2-1ubuntu1.1 amd64
        cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64


        which means the cryptsetup tools are not installed. If they were,
        it would rather look like



        Listing... Done
        cryptsetup/bionic-updates,now 2:2.0.2-1ubuntu1.1 amd64 [installed]
        cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64


        Note the [installed] indicator after the first line. Just install them
        and you should be fine:



        sudo apt install cryptsetup






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 29 '18 at 13:26









        PerlDuck

        5,39411231




        5,39411231






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • 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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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%2faskubuntu.com%2fquestions%2f1102888%2fhow-to-repair-encryption-failure%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á

            Eduardo VII do Reino Unido