I encrypt jrnl file with
jrnl --encrypt
on Ubuntu and keep my encrypted file in dropbox
When I want to add one entry on Mac, jrnl asks me to enter the password. I entered the password. Jrnl keeps telling me this password is wrong. But if I use the same password on Ubuntu, it works.
I wish I can use the same password on the different machines.
encrypt jrnl on a Ubuntu
and copy the file to a Mac and try to add one entry.
my config is
colors:
body: none
date: none
tags: none
title: none
default_hour: 9
default_minute: 0
editor: vim
encrypt: false
highlight: true
indent_character: '|'
journals:
default:
encrypt: true
journal: /home/mark/Dropbox/diary/jrnl_linux.txt
linewrap: 79
tagsymbols: '@'
template: false
timeformat: '%Y-%m-%d %H:%M'
version: v2.4.4
Hi there, thanks for reporting this issue. I haven't seen this before, and I can think of two reasons that might be the cause of this:
jrnl --version on each? I don't think this should lead to this problem but it's worth confirming.Your config specifies that the journal is located at /home/mark/Dropbox/diary/jrnl_linux.txt.
MacOS doesn't use the same structure for user directories as Ubuntu- your home folder will be at /Users/Username instead of /home/username.
Have you changed the filepath in the config file on the Mac to reflect the change in location?
Yeah, I think @michaelnoguera is right and this might be a missing file (@MarkWh1te, please confirm if that's the case).
We should take a look at jrnl's behavior when attempting to read a blank file with the encrypt config on. I'm guessing we have an unhelpful message if the file is missing, blank, or not actually encrypted.
@micahellison @wren Thanks a lot, I have confirmed this is a missing file.
Thanks again!
Don't forget @michaelnoguera! Thank you!