From: unruh@invalid.ca   
      
   On 2020-09-14, Sidney_Kotic wrote:   
   > On 9/13/20 4:01 PM, William Unruh wrote:   
   >> Why not created an encrypted filespace/partition using cryptmount on   
   >   
   > Silly question on my part, and yes I plead not guilty to looking at any of   
   the   
   > documentation you provided, will that work when the first computer is burnt   
   to   
   > the ground and I'm working with a newly built replacement?   
      
   As long as you remember to keep of copy of the key file, yes.   
   (/etc/cryptmount/.key)   
   Each encrypted "partition" you give a name, which I have called   
      
   So lets say I call the encrypted partition koticbck, The file in which the   
   encrypted partition sits in the file on the usb   
   /run/media/kotic/7f4f4bab-9e75-4117-b23d-d1f8ae6bd43ad/koticbck.fs   
   and the saved encryption key is on the usb in   
   //run/media/kotic/7f4f4bab-9e75-4117-b23d-d1f8ae6bd43ad/koticbck.key   
   and the cmtab file is on   
   /run/media/kotic/7f4f4bab-9e75-4117-b23d-d1f8ae6bd43ad/cmtab   
   with content   
      
   koticbck {   
    dev=/run/media/kotic/7f4f4bab-9e75-4117-b23d-d1f8ae6bd43ad/koticbck.fs   
    dir=/koticcrypt   
    fstype=ext4   
    mountoptions=default   
    cipher=aes   
    keyformat=builtin   
    keyfile=/run/media/kotic/7f4f4bab-9e75-4117-b23d-d1f8ae6   
   d43ad/koticbck.key   
   }   
      
   The UUID of the usb drive should be the same on any computer your mount   
   it on under Linux, you would have to make sure that /koticcrypt was   
   created on the new computer for cryptmount to mount the partition on,   
   /run/media/kotic/7f4f4bab-9e75-4117-b23d-d1f8ae6bd43ad/koticbck.fs on   
   the usb is the name of the file into which is the encrypted partition,   
      
      
   Note that the koticbck.key contents are protected by a password that you   
   entered when running cryptmount-setup. I have assumed that the   
   filesystem you created on the usb was formatted ext4 when you ran   
   cryptmount-setup (Note that that may or may not be different from the   
   formatting of the partition on the usb holding that file)   
      
   (I am assuming that your usename is kotic)   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|