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

Unable to encrypt Jrnl #573

Closed
nilact opened this issue Feb 10, 2019 · 6 comments
Closed

Unable to encrypt Jrnl #573

nilact opened this issue Feb 10, 2019 · 6 comments
Labels
bug Something isn't working encryption Encrypting/decrypting the journal 📌 This can't go stale windows

Comments

@nilact
Copy link

nilact commented Feb 10, 2019

I installed pycrypto package on windows 10 machine after lot of struggle.

While trying to encrypt jrnl, it first asks password which I'm not aware of and then I get an error "Pycrypto is not installed"

image

.jrnl_config:

{ "journals": { "default": "C:\\Users\\nilact/journal.txt" }, "editor": "", "encrypt": false, "default_hour": 9, "default_minute": 0, "timeformat": "%Y-%m-%d %H:%M", "tagsymbols": "@", "highlight": true, "linewrap": 79 }

Suggestion: If pycrypto is not being maintained and pycryptodom is its replacement, then documentation should indicate how to do it. After lot of struggle installing pycrypto on Win 10 machine, I found closed issue here.

Note: I'm new to python, I installed it and took trouble to install package pycrypto as it was dependency.

@arisAlexis
Copy link

have the same problem Windows 10, Installation of PyCrypto worked but gettting the same error.

@wren wren added the bug Something isn't working label Jul 6, 2019
@wren wren added encryption Encrypting/decrypting the journal windows labels Jul 16, 2019
@stale
Copy link

stale bot commented Sep 14, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Inactive issue: will be closed soon if no activity label Sep 14, 2019
@wren
Copy link
Member

wren commented Sep 14, 2019

This module has been replaced in v2.0. Is this issue still relevant?

@stale stale bot removed the stale Inactive issue: will be closed soon if no activity label Sep 14, 2019
@stale
Copy link

stale bot commented Nov 13, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Inactive issue: will be closed soon if no activity label Nov 13, 2019
@wren wren added the 📌 This can't go stale label Nov 13, 2019
@stale stale bot removed the stale Inactive issue: will be closed soon if no activity label Nov 13, 2019
@micahellison
Copy link
Member

Confirmed that encryption works fine in jrnl v2.2 on Windows 10 right out of the box.

C:\Users\micah>jrnl
[Compose Entry; on a blank line, press Ctrl+Z and then Enter to finish writing]

Testing
^Z
Enter password for new journal:
Enter password again:
Do you want to store the password in your keychain? [Y/n] n
Encrypted journal 'default' created at C:\Users\micah\.local\share\jrnl\journal.txt
[Entry added to default journal]

C:\Users\micah>jrnl -n 1
Password:
2020-03-07 14:12 Testing

This is working in our automated tests as well.

@lock
Copy link

lock bot commented Jun 24, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. You can link back here from your new issue to continue the conversation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working encryption Encrypting/decrypting the journal 📌 This can't go stale windows
Projects
None yet
Development

No branches or pull requests

4 participants