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

ptrecrypt / ptreencrypt - (batch) encrypt existing encrypted files #170

Closed
clach04 opened this issue Nov 14, 2024 · 1 comment
Closed

ptrecrypt / ptreencrypt - (batch) encrypt existing encrypted files #170

clach04 opened this issue Nov 14, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@clach04
Copy link
Owner

clach04 commented Nov 14, 2024

Split from #1

ptrecrypt / ptreencrypt - (batch) encrypt existing encrypted files with new encryption key/container(cipher), rather than calling ptcipher and then deleting files

Would be useful for #169 to compare performance impact, perhaps using #146

Ideas

  • Use input parameter of output file extension to determine new encryption
  • By default stop if destination derived file name already exists, with flag to allow continue
    • Options would be skip (carry on) and overwrite
  • Have option to delete sources files after successful conversion
  • Initial version use same password
  • Later support different password, can then retain format and simply bulk/batch/mass password change/update. See existing tools https://hg.sr.ht/~clach04/pytombo/browse/src/find_enc_notes.py?rev=tip, see if can be used as initial basis for new tool
@clach04 clach04 added the enhancement New feature or request label Nov 14, 2024
@clach04 clach04 mentioned this issue Nov 14, 2024
@clach04
Copy link
Owner Author

clach04 commented Nov 15, 2024

clach04 added a commit that referenced this issue Nov 16, 2024
clach04 added a commit that referenced this issue Nov 16, 2024
clach04 added a commit that referenced this issue Nov 16, 2024
clach04 added a commit that referenced this issue Nov 16, 2024
clach04 added a commit that referenced this issue Nov 16, 2024
clach04 added a commit that referenced this issue Nov 16, 2024
clach04 added a commit that referenced this issue Nov 16, 2024
clach04 added a commit that referenced this issue Nov 16, 2024
clach04 added a commit that referenced this issue Nov 16, 2024
clach04 added a commit that referenced this issue Nov 16, 2024
clach04 added a commit that referenced this issue Nov 16, 2024
clach04 added a commit that referenced this issue Nov 17, 2024
clach04 added a commit that referenced this issue Nov 17, 2024
Implement re-encrypt tool ptrecrypt #170
Can be used to bulk/batch/mass convert or update password for files.
Operates on files (not notes/text).

Also fixes v001 support for jenc, #169

* code for #170 - ptrecrypt batch conversion/re-encrypt

* ptrecrypt and experimental v002 jenc support #170

And clach04/jenc-py#7
@clach04 clach04 closed this as completed Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant