Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

De-duplicate code in decrypt and download-with-auto-decrypt #56

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aristos-d
Copy link

High-level file decryption is duplicated in the case of a "decrypt" command and the "download" command with the auto-decrypt option ("-D"). This pull request factors this functionality into a new function "decrypt_file", improving code readability.

A minor typo is also fixed in the print statement (see "decrypting").

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant