Recovering Encrypted Home Directory With Ecryptfs - Passphrase not workingSet 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

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

Anagram holiday

If human space travel is limited by the G force vulnerability, is there a way to counter G forces?

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

Memorizing the Keyboard

Why can't we play rap on piano?

Intersection of two sorted vectors in C++

Why is Collection not simply treated as Collection<?>

Why is the 'in' operator throwing an error with a string literal instead of logging false?

Where does SFDX store details about scratch orgs?

How to prevent "they're falling in love" trope

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

How to take photos in burst mode, without vibration?

I would say: "You are another teacher", but she is a woman and I am a man

Do I have a twin with permutated remainders?

Alternative to sending password over mail?

CEO ridiculed me with gay jokes and grabbed me and wouldn't let go - now getting pushed out of company

90's TV series where a boy goes to another dimension through portal near power lines

What exploit are these user agents trying to use?

Why is consensus so controversial in Britain?

Western buddy movie with a supernatural twist where a woman turns into an eagle at the end

Assassin's bullet with mercury

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

How can I tell someone that I want to be his or her friend?



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 18 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 18 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 18 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 18 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

          Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

          Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

          Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»