Foil Pics

Rating: 
4.4375
Your rating: None Average: 4.4 (16 votes)

Foil Pics allows you to encrypt some pictures from the gallery with a password stronger than the lock code. Strictly speaking, each picture is encrypted with a unique random 256-bit AES key which in turn is encrypted with an RSA key which in turn is encrypted with your password. If the bad guys get your encrypted pictures, they would have to crack the AES key (different for each picture) or the RSA key (shared by all pictures but harder to crack) in order to extract the content. If they get the encrypted RSA key as well, then they can brute force your password. So in the end, the encryption is as strong as your password.

The format of the encrypted file is described here.

The RSA key is stored in ~/.local/share/foil/foil.key - you can copy it from one device to another. Using the same RSA key on different devices, protected with different passwords, is actually not such a bad idea. If you forget the password, you can use the backup key to decrypt the images, assuming that it has a different password that you still remember.

Source code: https://github.com/monich/harbour-foilpics

Screenshots: 
Application versions: 
AttachmentSizeDate
File harbour-foilpics-1.0.8-11.1.armv7hl.rpm201.69 KB11/11/2018 - 23:03
File harbour-foilpics-1.0.8-11.1.i486.rpm250.99 KB11/11/2018 - 23:03
File harbour-foilpics-1.0.7-10.1.armv7hl.rpm198.85 KB25/06/2018 - 12:32
File harbour-foilpics-1.0.7-10.1.i486.rpm248.06 KB25/06/2018 - 12:32
File harbour-foilpics-1.0.6-9.1.armv7hl.rpm196.17 KB04/03/2018 - 13:23
File harbour-foilpics-1.0.6-9.1.i486.rpm242.49 KB04/03/2018 - 13:23
File harbour-foilpics-1.0.5-8.1.armv7hl.rpm190.51 KB16/02/2018 - 23:02
File harbour-foilpics-1.0.5-8.1.i486.rpm237.62 KB16/02/2018 - 23:02
File harbour-foilpics-1.0.4-7.1.armv7hl.rpm188.99 KB15/02/2018 - 02:03
File harbour-foilpics-1.0.4-7.1.i486.rpm234.6 KB15/02/2018 - 02:03
File harbour-foilpics-1.0.2-5.1.armv7hl.rpm147.54 KB11/12/2017 - 20:26
File harbour-foilpics-1.0.2-5.1.i486.rpm181.81 KB11/12/2017 - 20:26
File harbour-foilpics-1.0.1-4.1.armv7hl.rpm144.45 KB10/12/2017 - 14:58
File harbour-foilpics-1.0.1-4.1.i486.rpm178.56 KB10/12/2017 - 14:58
File harbour-foilpics-1.0.0-3.1.armv7hl.rpm132.5 KB02/12/2017 - 19:54
File harbour-foilpics-1.0.0-3.1.i486.rpm165.84 KB02/12/2017 - 19:54
Changelog: 
  • 1.0.8 (Nov 11 2018)
    - Support for light ambiances in Sailfish 3.0
    - Minor UI and performance improvements
  • 1.0.7 (Jun 23 2018)
    - Freshened up the list of sharing methods
    - Use attached pages in the main view
    - Trying to improve QML performance
    - Avoid unnecessary overwrites of info file
    - No more ContextMenu deprecation warnings
    - Updated French, German and Polish translations
  • 1.0.6 (Mar 4 2018)
    - Fixed compatibility with Sailfish OS 2.0
    - Performance improvements
  • 1.0.5 (Feb 16 2018)
    - Fixed a problem with deleting multiple encrypted pictures
    - Proper support for images larger than maximum texture size
    - Added Hungarian translations
    - Updated French translations
  • 1.0.4 (Feb 14 2018)
    - Support for multiple selection
    - Encrypted images can be grouped
    - Dutch translations
    - Polish translations
    - Spanish translations
  • 1.0.3 (broken)
  • 1.0.2 (Dec 11 2017)
    - Navigation between images in fullscreen mode
    - Swedish translations
    - German translations
  • 1.0.1 (Dec 10 2017)
    - Details page for encrypted and gallery images
    - Title of the encrypted image is editable (via details page)
    - French translations
  • 1.0.0 (Dec 2 2017)
    - Initial version

Comments

vrn99's picture

I'm using an Intex Aqua fish converted to Jolla C. Just to clarify, I have only encrypted ~200 pictures but for some reason while decrypting, it goes beyong 900 pictures and crashes.

vrn99's picture

Hi, for some reason I'm unable to decrypt the encrypted pictures. I've encrypted around 200 pictures but while decrypting it goes beyong 900 pics and then crashes (I'm guessing due to OOM). Any idea how I can get around this?

slava's picture

Let me try to reproduce it. Sounds like a bug. I have to admit that I never tried to encrypt or decrypt that many pictures at once. What kind of device do you have?

minitreintje's picture

Does this app has any kind of logging?

slava's picture

It's all taken out in the release build. Debug build - yes.

minitreintje's picture

I still encounter crashes when selecting multiple pictures and try to delete them.

slava's picture

So far I haven't been able to reproduce the crash but there's clearly something wrong with deletion of multiple encrypted images. I'll check it out. If you come up with a reliable way to reproduce the crash, pelase let me know.

TMavica's picture

It keeps crashing when I decrypt or encrypt...

and the photo in encrypt is doubled...

 

slava's picture

Double picture must be the consequence of the crash (one of images is most likely the thumbnail). Apparently, the app is crashing when it's trying to write the info file, the one that maps encrypted images to thumbnails and groups.

Can you provide step-by-step instructions on how to reproduce the crash?

TMavica's picture

cant...because it happened suddenly. I tried decrypt all image (keep crashing), after encrypt again, crashed and relaunch the app, i saw they are doubled again

slava's picture

Yes, I was able to crash it with "Select all" -> "Decrypt"! Thank you, will fix it.

TMavica's picture

Thanks

slava's picture

The crashes should be fixed in 1.0.4, let me know if something is still wrong!

TMavica's picture

Yes, is fixed

minitreintje's picture

This is a great app! I only have some crashes when working with groups in the encrypted pictures. Adding to a group, loading groups, ... let the app crash :(

slava's picture

Version 1.0.4 should behave much better. Please let me know if you still manage to crash it.

slava's picture

Obviously, if I could reproduce the crash, I would've fixed it! Can you provide step-by-step instructions how to crash it?

Kelmi's picture

How I can brute force (or other way) my password when I forget password?

Maybe John the ripper is my friend.

This is little bit irrelevant to post here..

slava's picture

The private key is encrypted in an openssl-compatible way (e.g. when you specify the passphrase to ssh-keygen). If there is some software out there for brute-forcing such keys, it should work here as well.

Kelmi's picture

Awesome work, thank you! Very nice that you implement my request! I also want thank you for your information about my situation, so for now I will ask one of my fellow about cracking my password.

I will reward you as soon as I found your "donation address" ;)

DarkTuring's picture

From pulley menu add share to SMS, Email, Android App

 

 

 

Upon sharing it will automstically decrypt and cooy paste into shared space.

slava's picture

I was thinking about it too but in the end I didn't feel comfortable with saving encrypted pictures somewhere in the unencrypted form (other than via Decrypt action).

Kabouik's picture

Ir's useful for those who use Sailfish since years and may have hundreds or thousands of pictures, and more than a few to protect. I would certainly use it!

Thanks for this app!

Kelmi's picture

I wonder why there is no "select pictures to encrypt" selection.. :P

slava's picture

Multiple selection has been implemented in 1.0.3

slava's picture

I thought about that but it didn't seem particularly useful to me. But it's certainly doable.

slava's picture

Version 1.0.1 is identical to the Jolla store version (as is 1.0.0).

slava's picture

So is 1.0.2 and all upcoming versions until it's explicitely stated that OpenRepos and Jolla store versions have diverged.

jfebrer's picture

It would be great also for simple text files.

slava's picture

Foil Notes :) Hmm... why not?

Pages