Recovering Encrypted Home Directory With Ecryptfs - Passphrase not workingSet encrypted home passphraseGrub...

In a spin, are both wings stalled?

What is going on with Captain Marvel's blood colour?

How to model explosives?

Did Shadowfax go to Valinor?

What's the difference between 'rename' and 'mv'?

Has there ever been an airliner design involving reducing generator load by installing solar panels?

Modeling an IP Address

Memorizing the Keyboard

Why doesn't using multiple commands with a || or && conditional work?

Why does Arabsat 6A need a Falcon Heavy to launch

I Accidentally Deleted a Stock Terminal Theme

Assassin's bullet with mercury

What is a clear way to write a bar that has an extra beat?

Watching something be written to a file live with tail

Twin primes whose sum is a cube

Fully-Firstable Anagram Sets

Stopping power of mountain vs road bike

Why can't we play rap on piano?

SSH "lag" in LAN on some machines, mixed distros

Where does SFDX store details about scratch orgs?

Infinite Abelian subgroup of infinite non Abelian group example

Blender 2.8 I can't see vertices, edges or faces in edit mode

1960's book about a plague that kills all white people

How much of data wrangling is a data scientist's job?



Recovering Encrypted Home Directory With Ecryptfs - Passphrase not working


Set encrypted home passphraseGrub rescue: broken system not rebootingRecovering eCryptfs partition with ecryptfs-recover-private not workingHow to get back to normal after ecryptfs-rewrap-passphrase screw-up?ecryptfs and login passphrase vs mount passphraseCan ecryptfs login and mount passphrases be changed?Decrypt home directory using mount pasphrase - files still encryptedCan't recover Passphrase after encrypting home folder after Ubuntu installationProblem recovering encrypted home folder!Encrypted user home page recoveryRecovering a partition with encrypted /home directory in Ubuntu 18..04ecryptfs error recovering encrypted home folder






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







3















My computer recently failed and I'm now trying to recover files off my external SATA SSD via LiveUSB.




  • I don't remember encrypting my computer, but I'm receiving the ACCESS_YOUR_.... file when navigating to the partitions home folder through terminal

  • Using sudo ecryptfs-mount-private gives the error Encrypted private directory not setup properly

  • I then use sudo ecrpytfs-recover-private and it finds the encrypted folder that I am trying to access

  • I choose to login with my passphrase but always receive the error Unwrapping password and inserting into user session keyring failed [-5]


The thing is, I know that I am entering the correct login passphrase for this account. I only use one or two passphrases to get in, and I've tried every single password that I can think of using in the last few years.



Is there anything that I could be missing that would be causing this to happen? I'm stumped and cannot understand why I can't get in. I do not have my mount passphrase, and really need the files off this computer.



Possibly relevant: this SSD is unable to be booted in the Lenovo computer that I took it from, but it does show up on both OS X and via USB. Could the configuration have gotten messed up somehow? My computer shut down randomly one day and simply refuses to boot into the SSD partition from the bootloader, although it does see it.



What steps can I take to further diagnose this problem and get into my folder? I am willing to try everything and will report back with outputs. Any help is very appreciated, and I will throw btc to anybody that can help me out. Thank you.










share|improve this question














bumped to the homepage by Community 8 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















    3















    My computer recently failed and I'm now trying to recover files off my external SATA SSD via LiveUSB.




    • I don't remember encrypting my computer, but I'm receiving the ACCESS_YOUR_.... file when navigating to the partitions home folder through terminal

    • Using sudo ecryptfs-mount-private gives the error Encrypted private directory not setup properly

    • I then use sudo ecrpytfs-recover-private and it finds the encrypted folder that I am trying to access

    • I choose to login with my passphrase but always receive the error Unwrapping password and inserting into user session keyring failed [-5]


    The thing is, I know that I am entering the correct login passphrase for this account. I only use one or two passphrases to get in, and I've tried every single password that I can think of using in the last few years.



    Is there anything that I could be missing that would be causing this to happen? I'm stumped and cannot understand why I can't get in. I do not have my mount passphrase, and really need the files off this computer.



    Possibly relevant: this SSD is unable to be booted in the Lenovo computer that I took it from, but it does show up on both OS X and via USB. Could the configuration have gotten messed up somehow? My computer shut down randomly one day and simply refuses to boot into the SSD partition from the bootloader, although it does see it.



    What steps can I take to further diagnose this problem and get into my folder? I am willing to try everything and will report back with outputs. Any help is very appreciated, and I will throw btc to anybody that can help me out. Thank you.










    share|improve this question














    bumped to the homepage by Community 8 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      3












      3








      3


      2






      My computer recently failed and I'm now trying to recover files off my external SATA SSD via LiveUSB.




      • I don't remember encrypting my computer, but I'm receiving the ACCESS_YOUR_.... file when navigating to the partitions home folder through terminal

      • Using sudo ecryptfs-mount-private gives the error Encrypted private directory not setup properly

      • I then use sudo ecrpytfs-recover-private and it finds the encrypted folder that I am trying to access

      • I choose to login with my passphrase but always receive the error Unwrapping password and inserting into user session keyring failed [-5]


      The thing is, I know that I am entering the correct login passphrase for this account. I only use one or two passphrases to get in, and I've tried every single password that I can think of using in the last few years.



      Is there anything that I could be missing that would be causing this to happen? I'm stumped and cannot understand why I can't get in. I do not have my mount passphrase, and really need the files off this computer.



      Possibly relevant: this SSD is unable to be booted in the Lenovo computer that I took it from, but it does show up on both OS X and via USB. Could the configuration have gotten messed up somehow? My computer shut down randomly one day and simply refuses to boot into the SSD partition from the bootloader, although it does see it.



      What steps can I take to further diagnose this problem and get into my folder? I am willing to try everything and will report back with outputs. Any help is very appreciated, and I will throw btc to anybody that can help me out. Thank you.










      share|improve this question














      My computer recently failed and I'm now trying to recover files off my external SATA SSD via LiveUSB.




      • I don't remember encrypting my computer, but I'm receiving the ACCESS_YOUR_.... file when navigating to the partitions home folder through terminal

      • Using sudo ecryptfs-mount-private gives the error Encrypted private directory not setup properly

      • I then use sudo ecrpytfs-recover-private and it finds the encrypted folder that I am trying to access

      • I choose to login with my passphrase but always receive the error Unwrapping password and inserting into user session keyring failed [-5]


      The thing is, I know that I am entering the correct login passphrase for this account. I only use one or two passphrases to get in, and I've tried every single password that I can think of using in the last few years.



      Is there anything that I could be missing that would be causing this to happen? I'm stumped and cannot understand why I can't get in. I do not have my mount passphrase, and really need the files off this computer.



      Possibly relevant: this SSD is unable to be booted in the Lenovo computer that I took it from, but it does show up on both OS X and via USB. Could the configuration have gotten messed up somehow? My computer shut down randomly one day and simply refuses to boot into the SSD partition from the bootloader, although it does see it.



      What steps can I take to further diagnose this problem and get into my folder? I am willing to try everything and will report back with outputs. Any help is very appreciated, and I will throw btc to anybody that can help me out. Thank you.







      password encryption home-directory ecryptfs






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 29 '15 at 0:05









      James DorseyJames Dorsey

      11612




      11612





      bumped to the homepage by Community 8 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 8 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          First of all, if I remember correctly you have to check a box to install Ubuntu with an encrypted home directory, but I could be wrong. It certainly looks like it's encrypted.



          Secondly, the bad news: if you encrypted the home directory at boot, it doesn't use your account password, but a separate pass phrase. After you first booted a pop up comes up with the question if you want to backup your encryption pass phrase for the home directory, recommending you get save it somewhere safe. There is a way to get the password at a later stage, but only if you can access it, so before anything goes wrong with your system. If you don't have the pass phrase, the only possible way to get it back is by brute forcing it, which, at the moment, is practically impossible.



          Now that I think of it, after writing the previous text, if you made regular backups, you should be able get the key back. Did you make backups?



          Edit:



          Just test this answer and it works to get the pass phrase on a still working system, but you should save it somewhere safe, of course. :D



          Edit2:



          So I just looked further into it and if:




          • you have a backup of your old home files AND;


          • it included the ~/.ecryptfs folder with the wrapped-passphrase file



          you can unlock it with the command:




          ecryptfs-unwrap-passphrase /path/to/wrapped-passphrase




          It will ask for a password. This is the account password you said you remember correctly. It should give you a output of seemingly random characters: this is the pass phrase to unlock the home partition.



          I hope you still have that file backed up. Let me know if you run into any problems.






          share|improve this answer


























          • I used the passphrase from ecryptfs-unwrap-passphrase /path/to/wrapped-passphrase to change my passphrase with ecryptfs-rewrap-passphrase but it did'nt work! Am I doing something wrong?

            – Cirelli94
            Dec 2 '16 at 16:36














          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%2f602590%2frecovering-encrypted-home-directory-with-ecryptfs-passphrase-not-working%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














          First of all, if I remember correctly you have to check a box to install Ubuntu with an encrypted home directory, but I could be wrong. It certainly looks like it's encrypted.



          Secondly, the bad news: if you encrypted the home directory at boot, it doesn't use your account password, but a separate pass phrase. After you first booted a pop up comes up with the question if you want to backup your encryption pass phrase for the home directory, recommending you get save it somewhere safe. There is a way to get the password at a later stage, but only if you can access it, so before anything goes wrong with your system. If you don't have the pass phrase, the only possible way to get it back is by brute forcing it, which, at the moment, is practically impossible.



          Now that I think of it, after writing the previous text, if you made regular backups, you should be able get the key back. Did you make backups?



          Edit:



          Just test this answer and it works to get the pass phrase on a still working system, but you should save it somewhere safe, of course. :D



          Edit2:



          So I just looked further into it and if:




          • you have a backup of your old home files AND;


          • it included the ~/.ecryptfs folder with the wrapped-passphrase file



          you can unlock it with the command:




          ecryptfs-unwrap-passphrase /path/to/wrapped-passphrase




          It will ask for a password. This is the account password you said you remember correctly. It should give you a output of seemingly random characters: this is the pass phrase to unlock the home partition.



          I hope you still have that file backed up. Let me know if you run into any problems.






          share|improve this answer


























          • I used the passphrase from ecryptfs-unwrap-passphrase /path/to/wrapped-passphrase to change my passphrase with ecryptfs-rewrap-passphrase but it did'nt work! Am I doing something wrong?

            – Cirelli94
            Dec 2 '16 at 16:36


















          0














          First of all, if I remember correctly you have to check a box to install Ubuntu with an encrypted home directory, but I could be wrong. It certainly looks like it's encrypted.



          Secondly, the bad news: if you encrypted the home directory at boot, it doesn't use your account password, but a separate pass phrase. After you first booted a pop up comes up with the question if you want to backup your encryption pass phrase for the home directory, recommending you get save it somewhere safe. There is a way to get the password at a later stage, but only if you can access it, so before anything goes wrong with your system. If you don't have the pass phrase, the only possible way to get it back is by brute forcing it, which, at the moment, is practically impossible.



          Now that I think of it, after writing the previous text, if you made regular backups, you should be able get the key back. Did you make backups?



          Edit:



          Just test this answer and it works to get the pass phrase on a still working system, but you should save it somewhere safe, of course. :D



          Edit2:



          So I just looked further into it and if:




          • you have a backup of your old home files AND;


          • it included the ~/.ecryptfs folder with the wrapped-passphrase file



          you can unlock it with the command:




          ecryptfs-unwrap-passphrase /path/to/wrapped-passphrase




          It will ask for a password. This is the account password you said you remember correctly. It should give you a output of seemingly random characters: this is the pass phrase to unlock the home partition.



          I hope you still have that file backed up. Let me know if you run into any problems.






          share|improve this answer


























          • I used the passphrase from ecryptfs-unwrap-passphrase /path/to/wrapped-passphrase to change my passphrase with ecryptfs-rewrap-passphrase but it did'nt work! Am I doing something wrong?

            – Cirelli94
            Dec 2 '16 at 16:36
















          0












          0








          0







          First of all, if I remember correctly you have to check a box to install Ubuntu with an encrypted home directory, but I could be wrong. It certainly looks like it's encrypted.



          Secondly, the bad news: if you encrypted the home directory at boot, it doesn't use your account password, but a separate pass phrase. After you first booted a pop up comes up with the question if you want to backup your encryption pass phrase for the home directory, recommending you get save it somewhere safe. There is a way to get the password at a later stage, but only if you can access it, so before anything goes wrong with your system. If you don't have the pass phrase, the only possible way to get it back is by brute forcing it, which, at the moment, is practically impossible.



          Now that I think of it, after writing the previous text, if you made regular backups, you should be able get the key back. Did you make backups?



          Edit:



          Just test this answer and it works to get the pass phrase on a still working system, but you should save it somewhere safe, of course. :D



          Edit2:



          So I just looked further into it and if:




          • you have a backup of your old home files AND;


          • it included the ~/.ecryptfs folder with the wrapped-passphrase file



          you can unlock it with the command:




          ecryptfs-unwrap-passphrase /path/to/wrapped-passphrase




          It will ask for a password. This is the account password you said you remember correctly. It should give you a output of seemingly random characters: this is the pass phrase to unlock the home partition.



          I hope you still have that file backed up. Let me know if you run into any problems.






          share|improve this answer















          First of all, if I remember correctly you have to check a box to install Ubuntu with an encrypted home directory, but I could be wrong. It certainly looks like it's encrypted.



          Secondly, the bad news: if you encrypted the home directory at boot, it doesn't use your account password, but a separate pass phrase. After you first booted a pop up comes up with the question if you want to backup your encryption pass phrase for the home directory, recommending you get save it somewhere safe. There is a way to get the password at a later stage, but only if you can access it, so before anything goes wrong with your system. If you don't have the pass phrase, the only possible way to get it back is by brute forcing it, which, at the moment, is practically impossible.



          Now that I think of it, after writing the previous text, if you made regular backups, you should be able get the key back. Did you make backups?



          Edit:



          Just test this answer and it works to get the pass phrase on a still working system, but you should save it somewhere safe, of course. :D



          Edit2:



          So I just looked further into it and if:




          • you have a backup of your old home files AND;


          • it included the ~/.ecryptfs folder with the wrapped-passphrase file



          you can unlock it with the command:




          ecryptfs-unwrap-passphrase /path/to/wrapped-passphrase




          It will ask for a password. This is the account password you said you remember correctly. It should give you a output of seemingly random characters: this is the pass phrase to unlock the home partition.



          I hope you still have that file backed up. Let me know if you run into any problems.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 13 '17 at 12:24









          Community

          1




          1










          answered Mar 29 '15 at 0:35









          JustgivemeanameJustgivemeaname

          19311




          19311













          • I used the passphrase from ecryptfs-unwrap-passphrase /path/to/wrapped-passphrase to change my passphrase with ecryptfs-rewrap-passphrase but it did'nt work! Am I doing something wrong?

            – Cirelli94
            Dec 2 '16 at 16:36





















          • I used the passphrase from ecryptfs-unwrap-passphrase /path/to/wrapped-passphrase to change my passphrase with ecryptfs-rewrap-passphrase but it did'nt work! Am I doing something wrong?

            – Cirelli94
            Dec 2 '16 at 16:36



















          I used the passphrase from ecryptfs-unwrap-passphrase /path/to/wrapped-passphrase to change my passphrase with ecryptfs-rewrap-passphrase but it did'nt work! Am I doing something wrong?

          – Cirelli94
          Dec 2 '16 at 16:36







          I used the passphrase from ecryptfs-unwrap-passphrase /path/to/wrapped-passphrase to change my passphrase with ecryptfs-rewrap-passphrase but it did'nt work! Am I doing something wrong?

          – Cirelli94
          Dec 2 '16 at 16:36




















          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f602590%2frecovering-encrypted-home-directory-with-ecryptfs-passphrase-not-working%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

          Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

          Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

          Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...