Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Se7eN

#1
Feature Requests / Re: Optional Image Encryption
January 16, 2014, 06:34:58 PM
Quote from: g3gg0 on January 16, 2014, 02:04:48 AM
ok the first EXPERIMENTAL version is here
beware that this will destroy any footage you shoot and could even kill your camera etc.
business as usual.... dont cry :)

supported models:
- 600D [not tested]
- 7D [not tested]
- 5D3 [CR2 tested]

how it works:
- enable modules ime_base, ime_rot, trace and io_crypt
- on startup you get an IME dialog that asks for your password
- enter it using the wheel/SET and press Q to jump to OK and press SET
- any file created (JPG, CR2, MOV) will get encrypted (BUT MOV PLAYBACK WILL CRASH!!)
- any of these files being read, will get decrypted using your password

hints:
- if the password doesnt match, you get an error message that the image could not be shown
- if decoding was successful, a few files usually get cached - even changing the pass will still show you a decoded image
- you can set another password from the debug menu -> "Enter crypt password"
- image reading/writing will be noticeable slower
- currently uploading a youtube video



currently there is no PC-decrypter, its just an in-camera experiment, so dont complain please.
also the encryption method is not final and will change, so you can not decrypt these images some time later...
so only use it for tests!

This is amazing! thanks for all your hard work g3gg0!

-Se7eN
#2
Feature Requests / Re: Optional Image Encryption
January 16, 2014, 12:31:06 AM
Quote from: g3gg0 on January 15, 2014, 11:03:00 PM
this

i bet when you get a gun pointed right onto your head, you will give out the key.
well, this is a drastic example. but there are coutries where you have to be afraid of some kind of punishment.

if you ever find yourself with images on your card that someone is willing to shoot you over, it's then somewhat likely that if they see the photos they'll still shoot you, or perhaps just imprison you forever.
#3
Feature Requests / Re: Optional Image Encryption
January 15, 2014, 09:45:59 PM
Quote from: wolf on January 15, 2014, 09:27:44 PM
Using Ruberhose as a group would make every card in a Canon and every user suspicious of holding some secret photos.
Quote from: Michael Zöller on January 15, 2014, 08:58:25 PM
https://en.wikipedia.org/wiki/Rubberhose_%28file_system%29

hadn't heard of that before, love the idea, i just don't know that it'd be applicable here, would our camera's support such a file system? if so, talk about ideal the camera would simply appear empty until you entered the correct password/s.

for those people who actually know magic lantern is a thing and that it could be capable of implementing rubber hose, likely a somewhat small group. while i understand not everyone lives somewhere that pretends it holds people innocent until proven guilty, it'd be really hard to prove there was anything on that drive to begin with, you could simply claim you hadn't used that camera, never got around to it. I mean then the beatings could begin, but that seems to be the exact point of implementing rubberhose to begin with.

-Se7eN
#4
Feature Requests / Re: Optional Image Encryption
January 15, 2014, 08:26:58 PM
Quote from: blade on January 15, 2014, 07:46:47 PM
I love the idea, however if the files are present, but not readable there is no plausible deniability. Something like saving in a true chript file would solve this issue.

that's why i like g3gg0's idea of simply displaying a "safe" photo, everything works it's just all a little off. they may wonder why there's 100 copies of the exact same photo, but a simple I liked the way it looked, or "WTF?! you broke it!" seems like a simple enough way to get past that, assuming the password prompt is something that isn't easily stumbled upon. once they start getting prompted for a password then the "fun" begins.

all in all I don't think we're trying to make it so these photos are permanently inaccessible, just obfuscated behind some token encryption. basically allowing you to pretend that its all just the same photo, or a corrupted card.
#5
Feature Requests / Re: Optional Image Encryption
January 15, 2014, 02:00:34 AM
the easiest workaround i can think of would be to simply let the user select a "safe" photo to be displayed from the available photos already on the SD card.

on a side note, while I may be willing to be charged with contempt of court to protect my images, I've yet to shoot anything that I'd be willing to let myself be tortured over. However, I would be fairly surprised if there wasn't someone out there somewhere who would be willing to go to that length to protect their images. there's also the chance that revealing the photos carries worse consequences than being tortured, indefinite incarceration is an example that comes to mind.

maybe hiding the password prompt as an action (button press maybe?) you have to perform while viewing one of the "safe" photos. kinda like pressing the delete button to enter the ML menu, except you'd press something else (white balance perhaps? ISO?).

-Se7eN
#6
Feature Requests / Re: Optional Image Encryption
January 15, 2014, 12:17:05 AM
Quote from: g3gg0 on January 14, 2014, 11:24:40 PM
already had success with a simple hack, XORing the CR2 files with a fixed pattern and it worked ;)
- start camera
- enable hack
- shoot: saves the CR2
- repower
- try to view images, none worked
- repower
- enable hack
- try to view images, worked

but it was very hackish, trying to make it more portable and *a bit stable*
Awesome! I wasn't expecting anything nearly that quick, Thanks!

-Se7eN
#7
Feature Requests / Re: Optional Image Encryption
January 14, 2014, 08:58:29 PM
Quote from: g3gg0 on January 14, 2014, 01:55:15 AM
Didn't notice the other thread. Love that idea.
reporter support for not-so-friendly countries.

will think about it :)

Thanks! that's all I can ask for, let me know if there is anyway I might be able to help.

-Se7eN
#8
Feature Requests / [DONE] Optional Image Encryption
January 13, 2014, 09:25:15 PM
So while I am fairly new to magic lantern (registered to post this but have been using ML for well over a year) i did take the time to search to see if anyone had suggested something similar before (turns out they had: http://www.magiclantern.fm/forum/index.php?topic=9541.msg91565#msg91565).

now all that being said, it seemed to me that it got somewhat brief and negative responses. i find that to be slightly disappointing as there is a large user base here who would benefit from having some method to put at least the most basic of encryption on their photos.

I guess I'll give some background on why I find this to be so important. I live in Washington, USA, a place that lies under the 9th U.S. Circuit Court of Appeals' jurisdiction, a recent ruling  in Cotterman v. United States (http://www.scotusblog.com/case-files/cases/cotterman-v-united-states/) says that unless I am suspected of a crime in which access to the device in question would furnish proof of said crime (read: reasonable suspicion) that the authorities have no right to either 1) compel me to decrypt the device 2) forcefully decrypt said device.  not everyone has these protections, but as of today (January 13th 2014) the Supreme Court of the United States has denied their Petition for Certiorari, meaning this case will never be heard by that court, cementing this into legal precedent. that being said as someone who regularly takes his camera places that are off limits, to photograph things that would later be incriminating, the ability to encrypt my photos would be extremely useful to my continued freedom.

I currently use ML on a 600D and love it, I'd just also like to have the option to encrypt my photos, perhaps using a unique password selected via the front scroll wheel or via the back arrow keys (although the first method would ensure compatibility across all camera's)

let me know what you think or if my limited coding abilities, use of Google, or generally snarky attitude could possibly be of any help.

-Se7eN