Foil Pics

Rating: 
4.5
Your rating: None Average: 4.5 (20 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

cvp's picture

Thank you for the nice app!!

Are you planning to add support for videos as well?

slava's picture

Videos are significantly larger than images meaning that a) they don't fit entirely into RAM and b) decrypting the entire video would take considerable time. So they have to be somehow decrypted on the fly and fed into the video player, to avoid creating temporary files (readable by other processes). It's doable (e.g. by emulating some sort of a network stream) but it doesn't look like an easy task.

slava's picture

or alternatively, a decrypted video could be exposed via fuse filesystem, as a file available only to the current process. It's worth noting that in either case (fuse or network source emulation) decrypted data would have to pass through kernel, making it available for stracing by a sufficiently privileged process. That may not be acceptable to real paranoics :)

slava's picture

(continuing to talk to myself) Even though decrypted images never leave the app's address space, a real paranoic would still say that a sufficiently privileged process could read the app's memory and extract images from there. Oh well, there's no safe place in the world for real paranoics. This app is more about securing files in the internal storage than protecting against realtime hacking. If you have a rogue provileged process running on your phone, you are screwed anyway. So I guess either network emulation or a fuse file would be ok for the purposes of this app.

DarkTuring's picture

fantastic!!

ferlanero's picture

An absolute must to to protect your privacy! Thanks!

TMavica's picture

Nice apps!

Kelmi's picture

Awesome, thank you! I really like this app for my xperia x. ;)

Caballlero's picture

Nice; thanks for this.

Bocephus's picture

Yes! This is an essential feature that was missing from SfOS. Thank you!

t0t3u's picture

Great job!

minitreintje's picture

Great idea! Installing as we speak :)

Erdrandbewohner's picture

Great! Works perfect. Thank you! :)

slava's picture

With a few hacks I managed to make it compatible with Jolla Store, so it should appear there too at some point.

slava's picture

Yep, it's there.

lkdhf's picture

Brilliant, thanks!

Pages