Foil Notes

Your rating: None Average: 5 (26 votes)

Foil Notes allows you to encrypt notes with a password stronger than the lock code. Strictly speaking, each note 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 notes, they would have to crack the AES key (different for each note) or the RSA key (shared by all notes 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 - it's the same format as used by Foil Pics and Foil Auth apps. Plain text (unencrypted) notes are stored in the format understood by Jolla Notes. Encrypted files are stored in ~/Documents/FoilNotes.

The RSA key is shared with Foil Pics and Foil Auth apps. It's 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 your notes, assuming that it's protected with a password that you still remember.

Two Foil Auth apps can exchange plaintext notes via NFC.

Note that you can add your encrypted files and the Foil key to the backup with the help of My Backup app.

Source code:

Application versions: 
File harbour-foilnotes-1.1.4-1.armv7hl.rpm271.97 KB07/07/2024 - 06:11
File harbour-foilnotes-1.1.4-1.aarch64.rpm320.75 KB07/07/2024 - 06:11
File harbour-foilnotes-1.1.4-1.i486.rpm328.05 KB07/07/2024 - 06:11
File harbour-foilnotes-1.1.3-1.aarch64.rpm320.57 KB15/06/2024 - 02:25
File harbour-foilnotes-1.1.3-1.armv7hl.rpm272 KB15/06/2024 - 02:25
File harbour-foilnotes-1.1.3-1.i486.rpm327.38 KB15/06/2024 - 02:25
File harbour-foilnotes-1.1.2-1.aarch64.rpm319.81 KB10/06/2024 - 01:19
File harbour-foilnotes-1.1.2-1.armv7hl.rpm271.41 KB10/06/2024 - 01:19
File harbour-foilnotes-1.1.2-1.i486.rpm327.1 KB10/06/2024 - 01:19
File harbour-foilnotes-1.1.1-1.aarch64.rpm311.95 KB19/02/2023 - 22:41
File harbour-foilnotes-1.1.1-1.armv7hl.rpm275.7 KB19/02/2023 - 22:41
File harbour-foilnotes-1.1.1-1.i486.rpm318.72 KB19/02/2023 - 22:41
File harbour-foilnotes-1.1.0-1.aarch64.rpm305.88 KB21/03/2022 - 03:43
File harbour-foilnotes-1.1.0-1.armv7hl.rpm270.15 KB21/03/2022 - 03:43
File harbour-foilnotes-1.1.0-1.i486.rpm311.64 KB21/03/2022 - 03:43
File harbour-foilnotes-1.0.28-1.aarch64.rpm306.83 KB22/11/2021 - 03:30
File harbour-foilnotes-1.0.28-1.armv7hl.rpm271.32 KB22/11/2021 - 03:30
File harbour-foilnotes-1.0.28-1.i486.rpm313.16 KB22/11/2021 - 03:30
File harbour-foilnotes-1.0.27-1.aarch64.rpm264.84 KB18/11/2021 - 03:56
File harbour-foilnotes-1.0.27-1.armv7hl.rpm235.15 KB18/11/2021 - 03:56
File harbour-foilnotes-1.0.27-1.i486.rpm270.07 KB18/11/2021 - 03:56
File harbour-foilnotes-1.0.26-1.aarch64.rpm265.54 KB06/11/2021 - 02:38
File harbour-foilnotes-1.0.26-1.armv7hl.rpm628.32 KB06/11/2021 - 02:38
File harbour-foilnotes-1.0.26-1.i486.rpm740.67 KB06/11/2021 - 02:38
File harbour-foilnotes-1.0.25-1.aarch64.rpm263.48 KB13/09/2021 - 20:30
File harbour-foilnotes-1.0.25-1.armv7hl.rpm233.36 KB13/09/2021 - 20:30
File harbour-foilnotes-1.0.25-1.i486.rpm267.44 KB13/09/2021 - 20:30
File harbour-foilnotes-1.0.24-1.aarch64.rpm254.35 KB12/09/2021 - 02:44
File harbour-foilnotes-1.0.24-1.armv7hl.rpm224.62 KB12/09/2021 - 02:44
File harbour-foilnotes-1.0.24-1.i486.rpm258.69 KB12/09/2021 - 02:44
File harbour-foilnotes-1.0.22-26.1.aarch64.rpm242.13 KB18/06/2021 - 21:25
File harbour-foilnotes-1.0.22-26.1.armv7hl.rpm217.38 KB18/06/2021 - 21:25
File harbour-foilnotes-1.0.22-26.1.i486.rpm250.25 KB18/06/2021 - 21:25
File harbour-foilnotes-1.0.21-25.1.aarch64.rpm231.77 KB31/03/2021 - 02:01
File harbour-foilnotes-1.0.21-25.1.armv7hl.rpm198.49 KB31/03/2021 - 02:01
File harbour-foilnotes-1.0.21-25.1.i486.rpm239.78 KB31/03/2021 - 02:01
File harbour-foilnotes-1.0.20-23.1.armv7hl.rpm197.89 KB03/01/2021 - 04:58
File harbour-foilnotes-1.0.20-23.1.i486.rpm239.2 KB03/01/2021 - 04:58
File harbour-foilnotes-1.0.19-22.1.armv7hl.rpm196.83 KB14/12/2020 - 02:10
File harbour-foilnotes-1.0.19-22.1.i486.rpm239.08 KB14/12/2020 - 02:10
File harbour-foilnotes-1.0.18-21.1.armv7hl.rpm195.65 KB12/12/2020 - 23:12
File harbour-foilnotes-1.0.18-21.1.i486.rpm237.4 KB12/12/2020 - 23:12
File harbour-foilnotes-1.0.17-20.1.armv7hl.rpm195.04 KB21/11/2020 - 20:45
File harbour-foilnotes-1.0.17-20.1.i486.rpm237.02 KB21/11/2020 - 20:45
File harbour-foilnotes-1.0.16-19.1.armv7hl.rpm191.86 KB16/11/2020 - 00:31
File harbour-foilnotes-1.0.16-19.1.i486.rpm232.88 KB16/11/2020 - 00:31
File harbour-foilnotes-1.0.15-17.1.armv7hl.rpm190.67 KB31/10/2020 - 04:52
File harbour-foilnotes-1.0.15-17.1.i486.rpm231.77 KB31/10/2020 - 04:52
File harbour-foilnotes-1.0.14-16.1.armv7hl.rpm187.69 KB12/10/2020 - 04:34
File harbour-foilnotes-1.0.14-16.1.i486.rpm228.76 KB12/10/2020 - 04:34
File harbour-foilnotes-1.0.13-15.1.armv7hl.rpm189.31 KB06/09/2020 - 02:02
File harbour-foilnotes-1.0.13-15.1.i486.rpm230.31 KB06/09/2020 - 02:02
File harbour-foilnotes-1.0.12-14.1.armv7hl.rpm188.74 KB01/03/2020 - 20:44
File harbour-foilnotes-1.0.12-14.1.i486.rpm229.38 KB01/03/2020 - 20:44
File harbour-foilnotes-1.0.11-13.1.armv7hl.rpm188.04 KB05/01/2020 - 20:21
File harbour-foilnotes-1.0.11-13.1.i486.rpm229.21 KB05/01/2020 - 20:21
File harbour-foilnotes-1.0.10-12.1.armv7hl.rpm180.88 KB03/05/2019 - 00:55
File harbour-foilnotes-1.0.10-12.1.i486.rpm220.64 KB03/05/2019 - 00:55
File harbour-foilnotes-1.0.9-11.1.armv7hl.rpm180.7 KB30/04/2019 - 02:06
File harbour-foilnotes-1.0.9-11.1.i486.rpm219.99 KB30/04/2019 - 02:06
File harbour-foilnotes-1.0.8-10.1.armv7hl.rpm165.16 KB11/03/2019 - 03:26
File harbour-foilnotes-1.0.8-10.1.i486.rpm200.13 KB11/03/2019 - 03:26
File harbour-foilnotes-1.0.6-8.1.armv7hl.rpm160.36 KB19/02/2019 - 02:47
File harbour-foilnotes-1.0.6-8.1.i486.rpm195.22 KB19/02/2019 - 02:47
File harbour-foilnotes-1.0.5-7.1.armv7hl.rpm160.8 KB17/02/2019 - 16:58
File harbour-foilnotes-1.0.5-7.1.i486.rpm194.72 KB17/02/2019 - 16:58
File harbour-foilnotes-1.0.4-6.1.armv7hl.rpm160.81 KB17/02/2019 - 12:52
File harbour-foilnotes-1.0.4-6.1.i486.rpm195.11 KB17/02/2019 - 12:52
File harbour-foilnotes-1.0.3-5.1.armv7hl.rpm160.06 KB17/02/2019 - 02:24
File harbour-foilnotes-1.0.3-5.1.i486.rpm194.65 KB17/02/2019 - 02:24
File harbour-foilnotes-1.0.2-4.1.armv7hl.rpm157.45 KB12/01/2019 - 22:55
File harbour-foilnotes-1.0.2-4.1.i486.rpm192.28 KB12/01/2019 - 22:55
File harbour-foilnotes-1.0.1-3.1.armv7hl.rpm156.22 KB07/01/2019 - 12:44
File harbour-foilnotes-1.0.1-3.1.i486.rpm190.96 KB07/01/2019 - 12:44
File harbour-foilnotes-1.0.0-2.1.armv7hl.rpm151.85 KB06/01/2019 - 12:42
File harbour-foilnotes-1.0.0-2.1.i486.rpm186.77 KB06/01/2019 - 12:42
  • 1.1.4 (Jul 7 2024)
    - Fixed deletion of a newly created note
  • 1.1.3 (Jun 15 2024)
    - Fixed deletion of note via the pulley menu
    - Added UI for configuring auto-lock delay
  • 1.1.2 (Jun 10 2024)
    - Fixed an issue with note opening while remorse timer is running
  • 1.1.1 (Feb 19 2023)
    - Made auto-lock configurable
  • 1.1.0 (Mar 21 2022)
    - Opt out of sandboxing (no more Jolla Store updates)
    - Updated Polish translation (Atlochowski)
    - Added Chum metadata


  • 1.0.28 (Nov 21 2021)
    - Share notes via NFC
  • 1.0.27 (Nov 18 2021)
    - Fixed bulk deletion of multiple plaintext notes
    - Load dynamically
  • 1.0.26 (Nov 6 2021)
    - Link OpenSSL 1.0 statically for compatibility with Sailfish OS 4.3
    - Tweaked color editor UI
    - Updated Polish translation (Atlochowski)
  • 1.0.25 (Sep 13 2021)
    - Allow selecting arbitrary colors
    - Updated Polish translation (Atlochowski)
  • 1.0.24 (Sep 12 2021)
    - Save/restore the last view (encrypted vs plaintext)
    - Improved context menu behavior
    - Removed unnecessary notification
    - Updated Polish translation (Atlochowski)
  • 1.0.22 (Jun 18 2021)
    - Search mode improvements and fixes
  • 1.0.21 (Mar 31 2021)
    - Updated Polish translation (Atlochowski)
    - Added aarch64 package
  • 1.0.20 (Jan 2 2021)
    - Fixed hints
    - Harmonized pulley menu behavior
    - Don't activate search on empty pages
    - Integration with My Backup
  • 1.0.19 (Dec 13 2020)
    - Added Spanish translation
  • 1.0.18 (Dec 12 2020)
    - Improved sync with plaintext Jolla Notes database
    - Miscellaneous UI tweaks
  • 1.0.17 (Nov 21 2020)
    - Fixed cover behavior
    - Added fancy cover lock animation
    - Adapted to Jolla Notes changes
  • 1.0.16 (Nov 15 2020)
    - Adapted to recent changes in Sailfish OS
    - Fixed a few minor UI glitches
  • 1.0.15 (Oct 31 2020)
    - Fancy headers
    - Improved orientation transition
    - Fixed a problem with the page stack after cover action
  • 1.0.14 (Oct 12 2020)
    - Miscellaneous UI tweaks
  • 1.0.13 (Sep 6 2020)
    - Fixed remorse item positioning
    - Freshened up selection and reorder UI
  • 1.0.12 (Mar 1 2020)
    - Fixed a battery drain issue (animators suck)
    - Ditch MD5 and use SHA256 for signing
  • 1.0.11 (Jan 5 2020)
    - Delay autolock by 15 seconds
    - Freshened up the UI
  • 1.0.10 (May 3 2019)
    - Fixed QR code rendering defect
    - Updated Chinese translations
  • 1.0.9 (Apr 30 2019)
    - Added QR code generation
    - Tweaked translations
  • 1.0.8 (Mar 10 2019)
    - Fixed password change functionality
    - Redesigned shared key warning
  • 1.0.6 (Feb 19 2019)
    - Updated French translations
  • 1.0.5 (Feb 17 2019)
    - Updated Chinese translations
  • 1.0.4 (Feb 17 2019)
    - Updated Polish and Swedish translations
  • 1.0.3 (Feb 17 2019)
    - Undo and redo
    - French translations
  • 1.0.2 (Jan 12 2019)
    - Fixed German translations
    - Chinese translations
    - Fixed deletion of a new note
  • 1.0.1 (Jan 7 2019)
    - Polish translations
    - Swedish translations
    - German translations
  • 1.0.0 (Jan 6 2019)
    - Initial version


slava's picture

For photos there's Foil Pics app!

vista_narvas's picture

is there a easy way to decode Notes on a other device ?

slava's picture

If your copy the key and the notes to another device, sure. You can even do that on a regular Linux machine from the command line like this:

foilmsg -d -s foil.key -P qqqqqqqq -f 75A3CD846F5B6150

where foil.key if your foil key, qqqqqqqq is your foil password and 75A3CD846F5B6150 is a foiled note (the decoded text is dumped to stdout). foilmsg sources can be found here:

eson's picture


Great app! I'm using it all the time. Would it be possible to add Timestamped sections to Foil Notes?

TheJullus's picture

My Foil Notes doesn't open anymode. Do you have any suggestions what to do?

slava's picture

The app doesn't start? Which device/SFOS version?

TheJullus's picture

Xperia XA2 Dual sim/ Sailfish X

slava's picture

Hmm.... I'm using XA2 as a daily device and never experienced any problem with Foil Notes on any released version of Sailfish OS including Is there any way you could produce a core file, a backtrace or something that would give a clue on what's going on?

As a user, I would try reinstalling the package.

TheJullus's picture

What way on reinstalling would you recommend? I don't want to lose my notes. I tried to just install the .rpm file again without uninstalling the app. Didn't solve the problem

slava's picture

FWIW, uninstalling the app doesn't delete the notes (perhaps it should but currently it doesn't). I would be very curious to know what's going on, but like I said, I can't reproduce it. If you reinstal the app but the problem persists, it most likely means one of two things - a problem with dependencies (the app doesn't have any unusual dependencies, so that's unlikely unless you replaced or something) or damaged data (notes).

You can check how the storage for unencrypted notes is doing by running Jolla Notes app. As for the encrypted notes, I suggest that you tar and send me the entire contents of your ~/Documents/FoilNotes directory and I'll see if I can reproduce the crash with those files. I won't be able to actually read your notes because they are encrypted and I don't have your key and don't know the password for it, but since the crash seems to happen before you even have a chance to enter your password, that shouldn't matter.

TheJullus's picture

Ok, reinstalling didn't seem to work. Where should I send my files and in what kind of package? (Ps. Other Foil apps for example Foil Auth work)

slava's picture

Sent you a message via contact page, let's see if that works.

TheJullus's picture

Access denied. To my own personal contact form

slava's picture

Hehe. Then use e-mail from the LICENSE file :)

TheJullus's picture

Oh, I feel so stupid. Anyways, I sent the files

TheJullus's picture

I managed to get back my encrypted note on a reflashed device! I just moved note files and old foil.key to right directories (as I described in the Foil Auth comment section)

direc85's picture

Just what I need to keep my notes safe. Thanks!

maier's picture

Hi may I can give my opinion in the round too)
Locking is a security feature which is located on different levels. In this case it is on the second level. (1st is the device ) So it makes sense to have in the settings an on/ off option so that the customer can decide what he wants and needs.

objectifnul's picture

Okay. After all the current locking logic is fine for me.

objectifnul's picture

Did you remove the autolock feature?

slava's picture

What do you mean by "autolock feature"?

objectifnul's picture

Maybe I'm wrong, but it seems to me that previous versions were locked atomatically after a while when minimized.

slava's picture

No it never did that, it locked (and lockes) when the screen gets locked. But locking after certain inactivity period does make sense, I'll consider that.

Pemek's picture

Just such a thought: wonder if there are two sets of passwords: main one for secure storage, and second with fake notes, easy to break. Revealing fake data would satisfy inquisitive person. Real important data still remain safe. What do you think about it?
btw, great app:)

slava's picture

That's a bit of an overkill IMO :)

minitreintje's picture

Great to see a 2nd Foil app!

Historyscholar's picture

Can you  add a transifex  page ?Thus ,I can translate  it. 

slava's picture

github pull requests are accepted but no transifex, sorry (see for details)

nthn's picture

There is also Weblate instead of Transifex, it's free for free software projects. It can take a bit of time to get accepted but it all works well once it's set up.