<div dir="auto"><div><div class="gmail_extra"><br><div class="gmail_quote">Den 28 dec. 2017 18:58 skrev "Henry Baker" <<a href="mailto:hbaker1@pipeline.com">hbaker1@pipeline.com</a>>:<blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="elided-text">
<br>
</div>Why is this so hard?<br>
<br>
IoT = very cheap, very low power, very small memory.<br>
<br>
As I said, I want to access files on a uSD card or a USB stick,<br>
so the encrypted file system is on a *passive* device.<br>
<br>
I want to be able to do this from either the <span class="money">$10</span> device (not as<br>
powerful as a Raspberry Pi, because Pi's take too much power),<br>
or a larger machine -- e.g., Linux/MacOS/Windows.</blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">FYI, to access it both from PC and the IoT device, there's three main options;</div><div dir="auto"><br></div><div dir="auto">1: Make the device the interface to the storage, which requires emulation of a FAT32 filesystem or similar protocol that all three major operating systems supports. This may be too much for a tiny microcontroller, or just too slow. You'll need a somewhat powerful CPU in your device to handle this well if you have megabytes of data, close to an RPi. </div><div dir="auto"><br></div><div dir="auto">2: Use a memory card with a FAT32 filesystem, put an encrypted container on it, which can be read from a PC with usermode software. Adds some overhead during normal use. </div><div dir="auto"><br></div><div dir="auto">3: Use an encrypted filesystem on a memory card, cry salty tears over the file system drivers you'll need to install on Windows / Linux / Mac to make it work. </div><div dir="auto"><br></div><div dir="auto">Only #2 is practical if you want it really cheap, but I would prefer #1. </div><div dir="auto"></div></div>