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

Gpg helper / wrapper #184

Merged
merged 3 commits into from
Nov 21, 2018
Merged

Gpg helper / wrapper #184

merged 3 commits into from
Nov 21, 2018

Conversation

heartsucker
Copy link
Contributor

Makes development easier and makes gpg vars more easily injectable

@redshiftzero redshiftzero self-requested a review November 21, 2018 17:32
Copy link
Contributor

@redshiftzero redshiftzero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good!

noting for other reviewers that developers in qubes won't need to modify run.sh to comment out the gpg homedir parts (they already need to edit run.sh to remove --no-proxy from the securedrop client invocation and when this flag is removed, qubes-gpg-client wrapper will be used without a homedir specified)


def decrypt_submission_or_reply(self, filepath, target_filename, is_doc=False) -> None:
err = tempfile.NamedTemporaryFile(suffix=".message-error", delete=False)
with tempfile.NamedTemporaryFile(suffix=".message") as out:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants