-
Notifications
You must be signed in to change notification settings - Fork 10
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
Support editing archives, keeping encrypted notes #65
Conversation
Codecov Report
@@ Coverage Diff @@
## main #65 +/- ##
==========================================
+ Coverage 68.96% 70.85% +1.89%
==========================================
Files 22 22
Lines 2088 2131 +43
Branches 488 499 +11
==========================================
+ Hits 1440 1510 +70
+ Misses 508 485 -23
+ Partials 140 136 -4
Continue to review full report at Codecov.
|
…< armored` piped decoding that was previously broken.
# Conflicts: # tests/test_cli.py
This needs still some additional work on decoding from pipe (an unrelated bug discovered while testing the new feature), but should be essentially usable now. Armor decoding got an optimisation that makes it noticeably faster for large data. As additional benefits on end-to-end testing, we can now use stdio pipes and hashing passwords is much faster. |
Will need to address that FIXME added in another PR prior to 0.6 release. |
Implements
covert edit
CLI command that extracts an existing archive, allows editing its text and then re-encrypts the data. Any attached files of the archive are kept without extracting them or the message to disk. The original file is overwritten.This function is intended to allow adding and removing attachments, as well as using public keys, but for now it is limited to message editing and passphrases. Also, all data must fit in RAM, as no streaming is yet implemented for this mode.
Fixes #57