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

Rework Encryption to enable future support of other encryption methods #1602

Merged
merged 38 commits into from
Nov 19, 2022

Conversation

wren
Copy link
Member

@wren wren commented Oct 1, 2022

This PR is intended to rework how jrnl does encryption in such a way that makes it easier for us to support multiple encryption methods. It should also make it easier to enable encryption support on other journal types (directory journal, DayOne, etc).

Fixes:

It does not fix, but lays the groundwork to fix the following issues in the near future:

Checklist

  • I have read the contributing doc.
  • I have included a link to the relevant issue number.
  • I have checked to ensure there aren't other open pull requests
    for the same issue.
  • I have written new tests for these changes, as needed.

@wren wren marked this pull request as draft October 8, 2022 20:36
micahellison
micahellison previously approved these changes Oct 8, 2022
@micahellison
Copy link
Member

This looks great. Let's plan on re-running tests then merging this after we drop Python 3.9 in #1611.

@wren wren changed the title [WIP] Rework Encryption to enable future support of other encryption methods Rework Encryption to enable future support of other encryption methods Oct 9, 2022
@wren wren marked this pull request as ready for review October 9, 2022 18:25
@outa outa mentioned this pull request Oct 12, 2022
4 tasks
@micahellison micahellison mentioned this pull request Oct 30, 2022
4 tasks
There was a new test added for re-encrypting a journal. This updates the
refactor to match the old (previously untested) behavior of jrnl.

Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
@wren wren added bug Something isn't working enhancement New feature or request labels Nov 19, 2022
@wren wren merged commit fcc8d8e into jrnl-org:develop Nov 19, 2022
@wren wren deleted the encryption-rework branch November 19, 2022 21:39
@outa outa mentioned this pull request Nov 25, 2022
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants