![]() |
Complete Filesystem Encryption
I will soon have another N900 to play with (thanks to the amazing folks I meet on the internet) and plan on getting a complete filesystem encryption set up. It will be very similar to this post http://talk.maemo.org/showpost.php?p...0&postcount=36
Any pointers, concerns or talk about it can go here. Thanks! |
Re: Complete Filesystem Encryption
(after encryption, at start-up you will get a message stating "unsupported filesystem" and the /dev/mmcblk0p1 will not be mounted)
This is in no way at all plausible deniability. It's a phone, which should mean you have personal data on it. At the very least, it should have photos,fake contacts and a browser history on it. IMO: Xbox huge /home folder Inside it, a relatively small loopmounted Truecrypt container/partition. ~/MyDocs is loopmounted, unencrypted vfat. To mount the thing, you run a seekrit bash script that waits for a certain sequence of hardware commands from dbus (think opening/closing the ALS, slider, camera slider, battery cover) Note: An empty device (no contacts and photos) does not make sense when you have 2 GB free space ;P |
Re: Complete Filesystem Encryption
Inspired by the post the thread-starter referred to (click), I tried this myself, slightly different:
Modified script from here: Code:
#!/bin/sh ISSUES:
for reference, the last entries of my mounted filesystems list: Code:
/dev/mmcblk1p1 on /media/mmc1 type vfat (rw,noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir)
By the way, using the N900 as an encrypted USB device (like suggested here) automatically works this way. Please try it, ask if you need help and post your experiences and issues. And please don't forget a proper backup, since you are likely to brick everything on your first try. |
Re: Complete Filesystem Encryption
Hi,
I managed to encrypt the home partition (mmcblk0p2) with LUKS. No need for tricks with MyDocs containers or kill's, symlinks etc. Obviously, not recommended for endusers. It works very well for me. http://n900.quitesimple.org/crypto/encrypted_home/ This with an encrypted MyDocs partition is practically the closest you can get to "Complete Filesystem Encryption". At least it covers everything important. |
Re: Complete Filesystem Encryption
ok i was also enquiring about LUKS a while ago http://talk.maemo.org/showthread.php?t=64479.
perhaps set up a github repo for your stuffs? i'm sure your script could be iteratively community-developed for a smoother process. |
Re: Complete Filesystem Encryption
hmm, we might be able to encrypt rootfs too if we used an initramfs (initfs mtd partition) to set up encryption and key storage.
|
Re: Complete Filesystem Encryption
the only way it makes sense to me is to have an external token for the key. either something yubikey style for überlong password or keyfile on usb stick.
|
Re: Complete Filesystem Encryption
I've finished encryption with passphrase, and smart-card support is almost finished.
p.s. week or two left it will be bootmenu entry |
Re: Complete Filesystem Encryption
This may be not be what you need, but it can deal with smart cards:
http://talk.maemo.org/showthread.php?t=77443 |
Re: Complete Filesystem Encryption
Quote:
Until I've discovered the MSSF, I was very interested in N9 since NFC chip is essentially smart card reader. |
All times are GMT. The time now is 10:21. |
vBulletin® Version 3.8.8