• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Encryption of a MicroSD card neccessary?

Scheduled Pinned Locked Moved Unsolved Support
2 Posts 2 Posters 296 Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E Offline
      ECLKu0
      last edited by 17 Sept 2021, 14:24

      I've successfully encrypted phablet on my phone, but I was also wanting to encrypt my microSD card. I started the same process I underwent (here) in my card's directory but ran into a problem: I can't create an img file large enough to fill even most of the card. Fallocate says that the file is "too big", despite not being too big for the file system or hardware. This is a different result than if it simply didn't have enough room, as it would normally continue until all storage was filled.

      But this made we ask whether I really even need to do a secondary encryption. Since the device is mounted inside of phablet, doesn't that mean that everything I write to it is encrypted?

      A 1 Reply Last reply 17 Sept 2021, 16:16 Reply Quote 0
      • A Offline
        arubislander @ECLKu0
        last edited by 17 Sept 2021, 16:16

        @eclku0 said in Encryption of a MicroSD card neccessary?:

        Since the device is mounted inside of phablet, doesn't that mean that everything I write to it is encrypted?

        To start with your last question. No. Even if you would mount your SD card under the phablet home directory, it would still be unencrypted.

        What filesystem did you format your SD card with? There is a files size limit to the FAT32 filesystem.

        But since you intend to mount an image file with an encrypted filesystem anyhow, you might want to format your SD card as ext4.

        πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
        Happily running Ubuntu Touch
        Google Pixel 3a (20.04 DEV)
        JingPad (24.04 preview)
        Meizu Pro 5 (16.04 DEV)

        1 Reply Last reply Reply Quote 0
        2 out of 2
        • First post
          2/2
          Last post