Hooking into Disk(SD), so you can decrypt data before it is served

Status
Not open for further replies.

badudel

New member
Hello,

How can I imitate a flash drive using teensy, where dynamic content is served?

Explanation:
I've got an SD shield wherein I want to place encrypted data.
Currently I am using the "Disk(SD-Card + Keyboard)" USB Type, where the SD card is served entirely like a USB stick. But I don't want teensy to put out any encrypted data.
What I want is that after entering the key it should decrypt the data and then serve it to the host computer. (How the key management and decryption is accomplished is not part of this question.)

I want a system where the computer doesn't know if data was encrypted or decrypted, it should just see an ordinary flash drive.
So I need to create a dynamical file system.

An important feature is that not all data shall be decrypted initially (for time and security reasons). So it would be perfect having a file system where every file content is a place holder, and when the computer tries to read it, this particular file shall be encrypted.

Can I somehow hook into the processing to decrypt files before they are served?
Or is there a library where I can manage everything by myself?

Thanks for taking the time to read this.
Hope I was understandable enough. Ain't no english ;)

Yuts
Badudel
 
Status
Not open for further replies.
Back
Top