Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No password required for decrypting of a jrnl file. #1979

Open
723robert opened this issue Mar 1, 2025 · 1 comment
Open

No password required for decrypting of a jrnl file. #1979

723robert opened this issue Mar 1, 2025 · 1 comment
Labels
support End user support

Comments

@723robert
Copy link

Diagnostic output

jrnl: v4.2.1
Python: 3.12.2 (main, Feb 6 2024, 20:19:44) [Clang 15.0.0 (clang-1500.1.0.2.5)]
OS: Darwin 24.3.0

jrnl: v4.2.1
Python: 3:10.12 (main, Feb 4 2025, 14:57:36) [GCC 11.4.0]
OS: Linux 6.9.3-76060903-generic

Current Behavior

I can decrypt my encrypted jrnl file by the following command line.
jrnl --file finfo.txt --decrypt

No password is required to do this.
MacOSX 15.3.1. & Linux pop-os 6.9.3

Expected Behavior

I expected to be prompted for a password to decrypt my files.

Repro Steps

Take a encrypted jrnl file and use the --file option and --decrypt option
jrnl --file file.txt --decrypt

Debug output

Journal decrypted to finfo.txt

Other Information

No response

@723robert 723robert added 🆕 New! bug Something isn't working labels Mar 1, 2025
@micahellison micahellison added support End user support and removed bug Something isn't working 🆕 New! labels Mar 1, 2025
@micahellison
Copy link
Member

Hi @723robert, this behavior appears when you've added your password to your keychain when first encrypting the journal:

$ jrnl --encrypt
Enter password for journal 'default': 
Enter password again: 
Do you want to store the password in your keychain? [Y/n] y

You can remove the password from your system keychain, which varies from system to system. See the list at the start of the keyring project description to identify your keychain.

Or, you can re-encrypt your journal with a different password by running jrnl --encrypt again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support End user support
Projects
None yet
Development

No branches or pull requests

2 participants